NAME one Problem blocking and nonblocking (25 pts) blocking assignments and the
ID: 3668614 • Letter: N
Question
NAME one Problem blocking and nonblocking (25 pts) blocking assignments and the goes The only mirence between the modules below is that the on the left uses and elk on the right uses assignments. that at beginning of high bo) and (1 bo). Ar some time in the future, and reset change simultaneously that reset goes low a high (1 bl). What does this event cause the values of internal Internal 3, and internal to become module blockingb-2016 cik. reset) 25 module block inga 201 reset): input Elk. reset: internal input c7k. reser: reg [110) interna internal s reg a OJ internal 1. interna 12 interna 73 interna 14: clk or posedge reset) begin always begin internal boo reset) beg1 Posedge clk or posedge if (reset) begin internal2 2 b01. 35 internal 71 2 boo: interna 12 2 internal 3 2' b10 4 b11: internal 4 2 b11 else begin internal internal else begin internal interna 71 interna 14 interna 72 interna 11. internal 2 internal internalExplanation / Answer
for blocking statement the change will happen at once which means that once the clock is given and rest is removed the else part will be executed.
This will make internal1=11 internal2=00 internal3=01 and internal4=10
Now in case of nn blocking the change will happen and the sampling will be done after a edge of the clock. Values in the register will be internal1 =11 internal2=01 internal3=10 and internal4=11.
Now in the next clock cycle the value of internal 2 will change it will become
internal1 =11 internal2=00 internal3=10 and internal4=11.
and similar it will proceed in non blocking implementation.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.