top.v 178 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
module top(clk, in, out);
    parameter DEPTH=10;
    input wire clk, in;
    output reg out;


    always @(posedge clk)
		assert($changed(in) == (in != $past(in)));

endmodule