May 16, 2005 #1 M my_garden Member level 4 Joined Dec 14, 2001 Messages 79 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 664 Dear all, What's the major difference between "after" and "wait for"?
May 18, 2005 #2 M masai_mara Advanced Member level 4 Joined Aug 13, 2004 Messages 118 Helped 8 Reputation 14 Reaction score 2 Trophy points 1,298 Activity points 1,426 "after" construct is primarily associated with the assignment statements where as the "waitfor" construct is for suspending the process for a specific time.
"after" construct is primarily associated with the assignment statements where as the "waitfor" construct is for suspending the process for a specific time.
May 19, 2005 #3 J jas_bakshi Junior Member level 2 Joined May 13, 2005 Messages 21 Helped 2 Reputation 4 Reaction score 1 Trophy points 1,283 Activity points 1,491 AFTER : It is used to delay the assignment of a signal like y <= x after 5ns; WAIT : wait is used to suspend a process for a finite time , it is used in the absence of sensitivity list. wait for 10 ns; Added after 56 seconds: AFTER : It is used to delay the assignment of a signal like y <= x after 5ns; WAIT : wait is used to suspend a process for a finite time , it is used in the absence of sensitivity list. wait for 10 ns;
AFTER : It is used to delay the assignment of a signal like y <= x after 5ns; WAIT : wait is used to suspend a process for a finite time , it is used in the absence of sensitivity list. wait for 10 ns; Added after 56 seconds: AFTER : It is used to delay the assignment of a signal like y <= x after 5ns; WAIT : wait is used to suspend a process for a finite time , it is used in the absence of sensitivity list. wait for 10 ns;
May 21, 2005 #4 A amraldo Advanced Member level 4 Joined Aug 29, 2004 Messages 1,183 Helped 145 Reputation 290 Reaction score 37 Trophy points 1,328 Location Egypt Activity points 5,880 after executes the statement & defers assignment according to the delay & its type while wait suspends execution till a certain condition
after executes the statement & defers assignment according to the delay & its type while wait suspends execution till a certain condition