summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan M. <ian@aptel.org>2026-09-25 22:17:07 +0000
committerIan M. <ian@aptel.org>2026-09-25 22:17:07 +0000
commit180e410baa026276bd79c202ac9d731f07681a00 (patch)
tree8eb9df6f0fe2c38ceace9b5dc1f1965176900cfb /Makefile
initial commit
Signed-off-by: Ian M. <ian@aptel.org>
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