1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-01-24 03:18:26 +00:00
David Shah 32327b761a generic: Simple working example
Signed-off-by: David Shah <dave@ds0.me>
2019-04-02 15:30:01 +01:00

9 lines
142 B
Verilog

module top(input clk, output reg [7:0] leds);
reg [25:0] ctr;
always @(posedge clk)
ctr <= ctr + 1'b1;
assign leds = ctr[25:18];
endmodule