summaryrefslogtreecommitdiff
path: root/top.v
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2021-10-25 14:54:57 +1300
committerDavid Phillips <david@yeah.nah.nz>2021-10-25 21:03:32 +1300
commite7a3f6377c18b346f455f5f7e5ad2a73d0a032f7 (patch)
treef9fc1134c9ef7ab3519f9dcff1420c6b5d67309c /top.v
downloadcolorlight-5a-75e-blinky-e7a3f6377c18b346f455f5f7e5ad2a73d0a032f7.tar.xz
Initial commit
Diffstat (limited to 'top.v')
-rw-r--r--top.v17
1 files changed, 17 insertions, 0 deletions
diff --git a/top.v b/top.v
new file mode 100644
index 0000000..6d98150
--- /dev/null
+++ b/top.v
@@ -0,0 +1,17 @@
+module top(
+ input clk_i,
+ output led_o,
+);
+
+blink #(
+ .COUNTER_WIDTH(24),
+ // 25 MHz clock => 1 Hz
+ .OVERFLOW(12_500_000)
+)
+blink_inst(
+ .clk_i(clk_i),
+ .rst_i(1'b0),
+ .led_o(led_o)
+);
+
+endmodule