jackg
Newbie level 6
Hello!
can the variable hold the value after the control goes out of the process?
For example: I have 2 or more processes in my vhdl code.
1rocess(clk)
begin
if(....condition for the below statements to execute....)
...
...
end process
2rocess(clk)
begin
if(.....condition for the below statements to execute....)
...
...
end process
3rocess(clk)
begin
if(.....condition for the below statements is execute....)
...
...
end process3
First the condition for the execution of process1 is satisfied(assume) and it has a variable say 'a' which has been assigned a value '1'. In the next clk cycle, say process2 is executed. Now, in the next cycle if process1 is executed, will i be able to use the previous 'a' value (=1) now?
regards,
jackg
can the variable hold the value after the control goes out of the process?
For example: I have 2 or more processes in my vhdl code.
1rocess(clk)
begin
if(....condition for the below statements to execute....)
...
...
end process
2rocess(clk)
begin
if(.....condition for the below statements to execute....)
...
...
end process
3rocess(clk)
begin
if(.....condition for the below statements is execute....)
...
...
end process3
First the condition for the execution of process1 is satisfied(assume) and it has a variable say 'a' which has been assigned a value '1'. In the next clk cycle, say process2 is executed. Now, in the next cycle if process1 is executed, will i be able to use the previous 'a' value (=1) now?
regards,
jackg