When the following Verilog code is simulated, A is changed to 1 at time 5ns. Make a

Question:

When the following Verilog code is simulated, A is changed to 1 at time 5ns. Make a table that shows all changes in A, B, and D and the times at which they occur through time = 40 ns. 

module Q1F00(A)
inout A;
reg B,C;
wire D;
assign #10 D = A ^ B;
always @(D)
begin
C = ~D;
if(C == 1'b1)
A <= #15 ~A;

B <= D;
end
endmodule

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

Step by Step Answer:

Related Book For  book-img-for-question

Digital Systems Design Using Verilog

ISBN: 978-1285051079

1st edition

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

Question Posted: