Files
fpga-basics/Verilator_Tests/clk/top_tb.v
2025-07-07 23:41:44 +01:00

23 lines
331 B
Verilog

// Copyright 2025 Benjamin Kyd, All Rights Reserved
`timescale 1ns / 1ps
module top_tb;
reg clk_25mhz = 0;
top uut (
.clk_25mhz(clk_25mhz),
);
always #20 clk_25mhz = ~clk_25mhz;
initial begin
$dumpfile("top_tb.vcd");
$dumpvars(0, top_tb);
#500 $finish;
end
endmodule