summaryrefslogtreecommitdiff
path: root/verilator_example_binary/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'verilator_example_binary/Makefile')
-rw-r--r--verilator_example_binary/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/verilator_example_binary/Makefile b/verilator_example_binary/Makefile
new file mode 100644
index 0000000..6f95089
--- /dev/null
+++ b/verilator_example_binary/Makefile
@@ -0,0 +1,14 @@
+TOP = hello
+
+all: obj_dir/Vhello
+
+check: all
+ obj_dir/Vhello
+
+clean:
+ rm -fr obj_dir
+
+.PHONY: all check clean
+
+obj_dir/Vhello: hello.v
+ verilator --binary -j 0 -Wall hello.v