Y.T_comp
Newbie level 6
hi all :-D
i have new question here:
i was reading in chapter 2 in mano book "digital design 2'end edition "
it was about gates delay in HDL .
he explain as normal this paragraph by an example which is :
AND have 30ns delay ,OR 20ns and NOT 10ns .
and he side that the port X will go to it's final state after tow negatve spike or(20 nsec) .
so dose anyone know why he said that ?why X don't continue in its old state while this 20ns of delay end ?
thank you .
code of example is :
i have new question here:
i was reading in chapter 2 in mano book "digital design 2'end edition "
it was about gates delay in HDL .
he explain as normal this paragraph by an example which is :
AND have 30ns delay ,OR 20ns and NOT 10ns .
and he side that the port X will go to it's final state after tow negatve spike or(20 nsec) .
so dose anyone know why he said that ?why X don't continue in its old state while this 20ns of delay end ?
thank you .
code of example is :
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 module smplcirct; reg A,B,C; wire X,y; simple_circuit_with_delay CWD(); initial begin A=;B=;C=; #100 A=;B=;C=; #100 $finish; endmodule module simple_circuit_with_delay (A,B,C,X,Y); input A,B,C; output X,Y; wire e; and #(30) G1(e,A,B); not #(10) G2(Y,C); or #(20) G3(X,e,y); endmodule;
Attachments
Last edited: