yosys4gal/testcases/up_counter_downto.v

12 lines
126 B
Verilog

module test (
input clk,
output reg [6:0] counter
);
always @ (posedge clk) begin
counter <= counter + 1;
end
endmodule