jerryt
Junior Member level 3
I have another easy question: If I use the same signal in multiple processes in a behavioral architecture using VHDL how do I know which process will run first? Is it top-down meaning the first process run into in code and then the next process in code, etc?
For example (from top down of how the code is written):
process (clk,A)
[sequential statements]
end process;
process (clk, A, reset,)
[sequential statements]
end process;
Which process will run first? Do I have to worry about the dependencies of signal A since it is in two different processes? Also, can I use port signals and declared signals in the sensitivity list for a process?
Thanks!
For example (from top down of how the code is written):
process (clk,A)
[sequential statements]
end process;
process (clk, A, reset,)
[sequential statements]
end process;
Which process will run first? Do I have to worry about the dependencies of signal A since it is in two different processes? Also, can I use port signals and declared signals in the sensitivity list for a process?
Thanks!