module testbench; reg a; wire b = 1'bx; initial begin // $dumpfile("testbench.vcd"); // $dumpvars(0, testbench); #5 a = 0; repeat (10000) begin #5 a = ~a; end $display("OKAY"); end top uut ( .a(a), .b(b) ); assert_comb b_test(.A(1'bx),.B(b)); endmodule