K
K.Hemanth
Guest
Hello All,
I have question on usign blocking and nonblocking statement with
delayes.
time: 10 20 30 33 36 45
___________ _____ __________
a ____| |___________| |____| |_______
====================
CASE 1:
always @(a)
out1 = # 5 a;
====================
CASE 2:
always @(a)
out2 <= #5 a;
====================
QUE: Here in case 1, the out1 signal is not exactly as the signal
a.(Part of the signal is missed where signal change stable less then
the delay value)
while in case 2 the out2 signal is exactly the same as the signal a
with delay of 5 time unit.
Can any one exaplain the reason behind it in deatil ?
Should I consider that if I put the delay with blocking (RHS side) it
means, it will block the signal evaluation till 5 time unit ? While
with nonbloking , it won't stops the evaluaion of signal and keeps on
evaluation whenever there is a chagne in sensitivity list?
With Regards,
K.Hemnatha
I have question on usign blocking and nonblocking statement with
delayes.
time: 10 20 30 33 36 45
___________ _____ __________
a ____| |___________| |____| |_______
====================
CASE 1:
always @(a)
out1 = # 5 a;
====================
CASE 2:
always @(a)
out2 <= #5 a;
====================
QUE: Here in case 1, the out1 signal is not exactly as the signal
a.(Part of the signal is missed where signal change stable less then
the delay value)
while in case 2 the out2 signal is exactly the same as the signal a
with delay of 5 time unit.
Can any one exaplain the reason behind it in deatil ?
Should I consider that if I put the delay with blocking (RHS side) it
means, it will block the signal evaluation till 5 time unit ? While
with nonbloking , it won't stops the evaluaion of signal and keeps on
evaluation whenever there is a chagne in sensitivity list?
With Regards,
K.Hemnatha