summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fde28a3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+#
+# Copyright (c) 2026, Apollo Telephone Laboratories.
+# Provided under the BSD-3 clause.
+#
+
+SV_FILES = $(shell find rtl -name "*.sv")
+SV_FLAGS = -D_SIM -g2012 -Irtl/inc
+
+.PHONY: all
+all:
+ iverilog $(SV_FILES) tb/testbench.sv $(SV_FLAGS) -o soc
+ ./soc