Assuming B is driven by the simulator command: force B 0 0, 1 4, 0 10, 1

Question:

Assuming B is driven by the simulator command:
force B 0 0, 1 4, 0 10, 1 15, 0 20, 1 30, 0 40
Draw a timing diagram illustrating A, B, and C if the following statement is executed:
(a) always @(A,B)
begin
#5 C <= A && B;
end
(b) always @(A,B)
begin
#5 C = A && B;
end
(c) always @(A,B)
begin
C <= #5 A && B;
end
(d) always @(A,B)
begin
C = #5 A && B;
end

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Digital Systems Design Using Verilog

ISBN: 978-1285051079

1st edition

Authors: Charles Roth, Lizy K. John, Byeong Kil Lee

Question Posted: