vhdlWait


Syntax

  • wait [on SIGNAL1[, SIGNAL2[...]]] [until CONDITION] [for TIMEOUT];
  • wait; -- Eternal wait
  • wait on s1, s2; -- Wait until signals s1 or s2 (or both) change
  • wait until s1 = 15; -- Wait until signal s1 changes and its new value is 15
  • wait until s1 = 15 for 10 ns; -- Wait until signal s1 changes and its new value is 15 for at most 10 ns