jedihe
Newbie level 4
Hi, I was talking with a friend about VHDL, and he told me that inside a process, the operation is SEQUENTIAL, he showed me code like this:
The point is: he said the first line inside the process causes some kind of initialization, and then the others get executed... but for me that's not true: we are talking about HARDWARE, and once it gets synthesized, everything works as YOU define it. However, I have some doubt... is my position correct?
Thanks in advance!
jedihe
Code:
process (...)
begin
signal <= "000";
if clk'event then
signal <= signal + 1;
end if;
if some_flag then
signal <= 0;
end if;
end process
The point is: he said the first line inside the process causes some kind of initialization, and then the others get executed... but for me that's not true: we are talking about HARDWARE, and once it gets synthesized, everything works as YOU define it. However, I have some doubt... is my position correct?
Thanks in advance!
jedihe