testbench.v 332 Bytes
Newer Older
1 2 3
module testbench;
    reg a;

Miodrag Milanovic committed
4
	wire b;
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

    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),
	.Y(b)
	);

	assert_comb b_test(.A(~a),.B(b));

endmodule