nextpnr/ice40/blinky_tb.v
Clifford Wolf 032c94d094 Add blinky post-synthesis testbench
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-10 14:31:38 +02:00

16 lines
277 B
Verilog

module blinky_tb;
reg clk;
always #5 clk = (clk === 1'b0);
chip uut (
.io_0_8_1(clk)
);
initial begin
$dumpfile("blinky_tb.vcd");
$dumpvars(0, blinky_tb);
repeat (9000000) @(posedge clk);
$finish;
end
endmodule