summaryrefslogtreecommitdiff
path: root/verilator_example_systemc/Makefile
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2025-04-26 17:56:22 +0200
committerMartin Stensgård <mastensg@mastensg.net>2025-04-26 17:56:22 +0200
commite3146a4830eeb07daf4688e1aae3690ff94db3e1 (patch)
tree2b3543e99fe510584d0d33fcb9efc775908ac98f /verilator_example_systemc/Makefile
parent0925abbbe788f4b3661f5dbfc8b1597814b90c9a (diff)
verilator_example_systemc: hello
Diffstat (limited to 'verilator_example_systemc/Makefile')
-rw-r--r--verilator_example_systemc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/verilator_example_systemc/Makefile b/verilator_example_systemc/Makefile
new file mode 100644
index 0000000..d2925ac
--- /dev/null
+++ b/verilator_example_systemc/Makefile
@@ -0,0 +1,12 @@
+all: obj_dir/Vhello
+
+check: all
+ obj_dir/Vhello
+
+clean:
+ rm -fr obj_dir
+
+.PHONY: all check clean
+
+obj_dir/Vhello: hello.v sc_main.cc
+ verilator --sc --exe --build -j 0 -Wall sc_main.cc hello.v