yosys/tests/hana/test_intermout_always_ff_6_test.v
2013-01-05 11:13:26 +01:00

7 lines
128 B
Verilog

module inc(clock, counter);
input clock;
output reg [3:0] counter;
always @(posedge clock)
counter <= counter + 1;
endmodule