aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_intermout_always_ff_8_test.v
blob: 0f29ea0a4091265636eae119cf187dfd41f5652c (plain)
1
2
3
4
5
6
7
8
9
10
11
module NegEdgeClock(q, d, clk, reset);
input d, clk, reset;
output reg q;

always @(negedge clk or negedge reset)
    if(!reset)
	    q <= 1'b0;
	else	
        q <= d;

endmodule