A
ALuPin
Guest
Unfortunately I could not respond to the post "Procedure exit on
global signal_" directly, so I had to open a new one.
First of all I want to thank you for the suggestions.
I have tried one fix out:
Mr Bromley suggested the following:
http://mitglied.lycos.de/vazquez78
This VHDL code is basically the code I showed in the last post.
Additionally there is a state machine included in the procedure.
The simulation plot shows that the loop "Outerloop" is left although
the exit condition order_burst_data_in='1' does not occur.
Is there some problem with the setup of the clock as Mr Lewis
explained ?
Or does the problem arise from clocking the state machine and waiting
on
rising_edges of the clock within the particular state ?
I would be very thankful for your explanation.
Rgds
André
global signal_" directly, so I had to open a new one.
First of all I want to thank you for the suggestions.
I have tried one fix out:
Mr Bromley suggested the following:
I have simulated it with the VHDL code shown atIn this case you have only one "wait" so it's quite easy to fix:
OuterLoop: for i in 0 to 4 loop
while not rising_edge(clock) loop
wait on clock, order_burst_data;
exit OuterLoop when order_burst_data_in='1';
end loop;
end loop; -- OuterLoop
http://mitglied.lycos.de/vazquez78
This VHDL code is basically the code I showed in the last post.
Additionally there is a state machine included in the procedure.
The simulation plot shows that the loop "Outerloop" is left although
the exit condition order_burst_data_in='1' does not occur.
Is there some problem with the setup of the clock as Mr Lewis
explained ?
Or does the problem arise from clocking the state machine and waiting
on
rising_edges of the clock within the particular state ?
I would be very thankful for your explanation.
Rgds
André