tests/Makefile: Build the testbench by default with the tests.
[firearm.git] / Makefile
1 VLOGS = ARM_Constants.v BigBlockRAM.v BlockRAM.v BusArbiter.v DCache.v Decode.v Execute.v Fetch.v ICache.v Issue.v Memory.v Minishift.v RegFile.v Terminal.v Writeback.v system.v
2
3 all: Vsystem
4
5 Vsystem: obj_dir/Vsystem.mk testbench.cpp
6         make -C obj_dir -f Vsystem.mk
7         ln -sf obj_dir/Vsystem Vsystem
8
9 obj_dir/Vsystem.mk: $(VLOGS)
10         mkdir -p obj_dir
11         verilator --cc system.v testbench.cpp --exe
12
13 auto: .DUMMY
14         emacs -l ~/elisp/verilog-mode.el --batch system.v -f verilog-batch-auto
15
16 tests: .DUMMY
17         make -C tests
18
19 .DUMMY:
This page took 0.020823 seconds and 4 git commands to generate.