nextpnr/ice40/blinky_tb.v
Clifford Wolf 602e6fab1e Add support for iCE40 global buffers (currently only for 1k devices)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-10 16:31:06 +02:00

23 lines
451 B
Verilog

module blinky_tb;
reg clk;
always #5 clk = (clk === 1'b0);
wire led1, led2, led3, led4, led5;
chip uut (
.io_0_8_1(clk),
.io_13_12_1(led1),
.io_13_12_0(led2),
.io_13_11_1(led3),
.io_13_11_0(led4),
.io_13_9_1(led5)
);
initial begin
$dumpfile("blinky_tb.vcd");
$dumpvars(0, blinky_tb);
repeat (9000000) @(posedge clk);
$finish;
end
endmodule