build system: Produce a top level makefile that invokes Verilator, so that I don...
authorJoshua Wise <joshua@escape.joshuawise.com>
Sun, 21 Feb 2010 00:04:19 +0000 (19:04 -0500)
committerJoshua Wise <joshua@escape.joshuawise.com>
Sun, 21 Feb 2010 00:04:19 +0000 (19:04 -0500)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..daa9291
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+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
+
+all: Vsystem
+
+Vsystem: obj_dir/Vsystem.mk testbench.cpp
+       make -C obj_dir -f Vsystem.mk
+
+obj_dir/Vsystem.mk: $(VLOGS)
+       mkdir -p obj_dir
+       verilator --cc system.v testbench.cpp --exe
+
+.DUMMY:
\ No newline at end of file
This page took 0.018068 seconds and 4 git commands to generate.