Saturday, 1 September 2012

VHDL Wait


The process will execute until it reaches a wait statement. Once it get to the bottom it loop to the top again.

Stimulus: process
begin
  Reset <= '0';
  wait for 50 NS; -- good for test vectors but not hardware.
  Reset <= '1';
  wait; -- wait forever. --This process will never wake-up again.
end process;


Reference

This blog post contains notes taken when working through the Doulos Pacemaker tutorial.   Any content copied from the tutorial has been reproduced with permission.  http://www.doulos.com.

No comments:

Post a Comment