What is the difference between the following two lines of Verilog code?

| Thursday, September 10, 2009

#5 a = b;
a = #5 b;

#5 a = b; Wait five time units before doing the action for "a = b;".
a = #5 b; The value of b is calculated and stored in an internal temp register,After five time units, assign this stored value to a.


Post a Comment