summaryrefslogtreecommitdiff
path: root/verilator_example_tracing/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'verilator_example_tracing/Makefile')
-rw-r--r--verilator_example_tracing/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/verilator_example_tracing/Makefile b/verilator_example_tracing/Makefile
new file mode 100644
index 0000000..fc2f775
--- /dev/null
+++ b/verilator_example_tracing/Makefile
@@ -0,0 +1,13 @@
+all: obj_dir/Vhello
+
+check: all
+ obj_dir/Vhello
+
+clean:
+ rm -fr obj_dir
+
+.PHONY: all check clean
+
+obj_dir/Vhello: hello.v sim_main.cc
+ verilator --cc --exe --trace --build -j 0 -Wall hello.v sim_main.cc
+ #verilator --cc --exe --trace --build -j 0 -Wall -O3 --x-assign fast --x-initial fast --noassert hello.v sim_main.cc