summaryrefslogtreecommitdiff
path: root/instrmem/v0.1/Makefile
diff options
context:
space:
mode:
authordianshi <dianshi@main.lv>2022-01-19 22:00:08 +0000
committerdianshi <dianshi@main.lv>2022-01-19 22:00:08 +0000
commitf3a300ce5927cad9ecf02821b3be007f9d2af22b (patch)
tree43bdcb0683971341f79f072504a40eea9b50368f /instrmem/v0.1/Makefile
parentdeebf92127386873cb34d46f414d31c7a69adcfe (diff)
downloadcpu8_v-f3a300ce5927cad9ecf02821b3be007f9d2af22b.tar.gz
cpu8_v-f3a300ce5927cad9ecf02821b3be007f9d2af22b.zip
Add instruction memory
Diffstat (limited to 'instrmem/v0.1/Makefile')
-rw-r--r--instrmem/v0.1/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/instrmem/v0.1/Makefile b/instrmem/v0.1/Makefile
new file mode 100644
index 0000000..171b722
--- /dev/null
+++ b/instrmem/v0.1/Makefile
@@ -0,0 +1,9 @@
+make:
+ iverilog -g2005-sv -o instr_memory instr_memory.v
+ iverilog -g2005-sv -o test_instr_memory instr_memory.v test_instr_memory.v
+
+test:
+ ./test_instr_memory
+
+wave:
+ gtkwave test_instr_memory.vcd \ No newline at end of file