yosys/tests/hana/test_intermout_always_ff_6_...

8 lines
128 B
Coq
Raw Normal View History

2013-01-05 04:13:26 -06:00
module inc(clock, counter);
input clock;
output reg [3:0] counter;
always @(posedge clock)
counter <= counter + 1;
endmodule