summaryrefslogtreecommitdiff
path: root/alu/v0.1/Makefile
diff options
context:
space:
mode:
authordianshi <dianshi@main.lv>2022-01-05 21:03:04 +0000
committerdianshi <dianshi@main.lv>2022-01-05 21:03:04 +0000
commitb623b638fe1a0189416892415a1728839768539e (patch)
treeca71a74631f322dd4f1e407f7848a0395ade0a87 /alu/v0.1/Makefile
parent87d81f71cb794bbaf653098bfd88d0f59d7b20d5 (diff)
downloadcpu8_v-b623b638fe1a0189416892415a1728839768539e.tar.gz
cpu8_v-b623b638fe1a0189416892415a1728839768539e.zip
Added ALU
Diffstat (limited to 'alu/v0.1/Makefile')
-rw-r--r--alu/v0.1/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/alu/v0.1/Makefile b/alu/v0.1/Makefile
new file mode 100644
index 0000000..0459ab3
--- /dev/null
+++ b/alu/v0.1/Makefile
@@ -0,0 +1,9 @@
+make:
+ iverilog -g2005-sv -o alu alu.v
+ iverilog -g2005-sv -o test_alu testbench_alu.v alu.v
+
+test:
+ vvp test_alu
+
+wave:
+ gtkwave test_alu.vcd