jason7361
Newbie level 4
- Joined
- Apr 14, 2010
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,317
Hi! I have confusion about blocking and nonblocking assignment in the Verilog,
can anyone answer the following question for me?
A = 1;
B = 0;
C <= A;
B = C;
#5 D = B;
#5 D = C;
A <= D;
I am not sure the code above is valid, but if it is valid, what's the value of A,B,C,D at different time?
Thank you.
can anyone answer the following question for me?
A = 1;
B = 0;
C <= A;
B = C;
#5 D = B;
#5 D = C;
A <= D;
I am not sure the code above is valid, but if it is valid, what's the value of A,B,C,D at different time?
Thank you.