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
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
Step by Step Solution
3.48 Rating (168 Votes )
There are 3 Steps involved in it
a b c d 0 0 1 1 0 1 1 ... View full answer
Get step-by-step solutions from verified subject matter experts
