P
pbartosz
I have a sample code:
variable state : integer := 0;
process (wake)
begin
if state = 0 then
--some code;
state := 1;
wake <= not wake;
elsif state = 1 then
--some code;
end if;
end process;
In ModelSim simulation it works correct, but in Quartus II simulation
when process returns from state 0 it negates wake signal but process
doesn't start again.
What's the problem?
Any solution?
variable state : integer := 0;
process (wake)
begin
if state = 0 then
--some code;
state := 1;
wake <= not wake;
elsif state = 1 then
--some code;
end if;
end process;
In ModelSim simulation it works correct, but in Quartus II simulation
when process returns from state 0 it negates wake signal but process
doesn't start again.
What's the problem?
Any solution?