aboutsummaryrefslogtreecommitdiffstats
path: root/examples/up5k/example.v
diff options
context:
space:
mode:
Diffstat (limited to 'examples/up5k/example.v')
-rw-r--r--examples/up5k/example.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/up5k/example.v b/examples/up5k/example.v
new file mode 100644
index 0000000..01b76b8
--- /dev/null
+++ b/examples/up5k/example.v
@@ -0,0 +1,10 @@
+module top (
+ input btn,
+ output LED0,
+ output LED1,
+);
+
+assign LED0 = !btn;
+assign LED1 = btn;
+
+endmodule