Deepika.R
Newbie level 3
- Joined
- Apr 25, 2013
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,308
How are multiple processes executed in vhdl.. Deos it happen concurrently..??
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
As you know VHDL is a HDL language and HDL languages are executed concurrently. But there is a feature in HDLs that allows you to write your code like
traditional languages(C, Java, ...) and that is "process" keyword in VHDL. Also processes are executed concurrently. In fact compiler counts them as two
separated hardware modules that each one makes some of your outputs.
How are multiple processes executed in vhdl.. Deos it happen concurrently..??
I would NOT compare HDL languages to C, and especially not processes. Inside a process you can assign signals or variables, and each behave differently (which is vary much unlike C). Gettting these mixed up can lead to all sorts of problems.
Dear TrickyDicky,
I surely didn't/don't/wont compare HDL languages and C. I just meant inside processes, instructions are executed sequentially like C.
signal a : integer := 5;
signal b : integer := 10;
process(clk)
begin
if rising_edge(clk);
a <= 0;
b <= a;
end if;
end process;