// Stimulus for simple circuit module stimcrct; reg A, B, C; wire x, y; circuit_with_delay cwd (A, B, C, x, y); initial begin $stop; A=1'b0; B=1'b0; C=1'b0; #100 A=1'b1; B=1'b1; C=1'b1; #100 $stop; end endmodule // Description of circuit with delay module 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