summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--Makefile9
2 files changed, 7 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 796b96d..dc3fae8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
1/build 1/build
2/verilator
diff --git a/Makefile b/Makefile
index f4a0da8..601e946 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,12 @@ sim: build/Vtop
8.PHONY: sim 8.PHONY: sim
9 9
10build/Vtop: $(SOURCES) $(COLLATERAL) 10build/Vtop: $(SOURCES) $(COLLATERAL)
11 @mkdir -p build 11 @rm -rf verilator
12 verilator +1800-2017ext+sv -Wall -Wno-BLKSEQ -Wno-UNUSED -O3 -Ihdl $(OPTS) --Mdir build --trace --cc --build -j --exe --top-module top $(SOURCES) 12 @mkdir -p build verilator
13 verilator +1800-2017ext+sv -Wall -Wno-BLKSEQ -Wno-UNUSED -O3 -Ihdl $(OPTS) --Mdir verilator --trace --cc --build -j --exe --top-module top $(SOURCES)
14 @ln -t build -f verilator/Vtop
15 @rm -rf verilator
13 16
14clean: 17clean:
15 rm -rf build 18 rm -rf build verilator
16.PHONY: clean 19.PHONY: clean