T
toomuch
Guest
Hi
Can someone tell me if there is a defference between the following two VHDL
sources working:
1.
process
begin
wait until C'event and C='1';
if B='0' then
Q<=B;
else
Q<= A;
end if;
end process;
2.
process
begin
if B='0' then
wait until C'event and C='1';
Q<=B;
else
wait until C'event and C='1';
Q<=A;
end if;
end process;
Simulation of this two processes gives different results. Does anybody know
why? Is there a specification discussing those cases?
Thanks for any help
Can someone tell me if there is a defference between the following two VHDL
sources working:
1.
process
begin
wait until C'event and C='1';
if B='0' then
Q<=B;
else
Q<= A;
end if;
end process;
2.
process
begin
if B='0' then
wait until C'event and C='1';
Q<=B;
else
wait until C'event and C='1';
Q<=A;
end if;
end process;
Simulation of this two processes gives different results. Does anybody know
why? Is there a specification discussing those cases?
Thanks for any help