summaryrefslogtreecommitdiff
path: root/and/v0.1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'and/v0.1/Makefile')
-rw-r--r--and/v0.1/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/and/v0.1/Makefile b/and/v0.1/Makefile
new file mode 100644
index 0000000..e0cdfbb
--- /dev/null
+++ b/and/v0.1/Makefile
@@ -0,0 +1,19 @@
+make:
+ iverilog -g2005-sv -o and and.v
+ iverilog -g2005-sv -o and8 and8.v
+ iverilog -g2005-sv -o alu alu.v
+ iverilog -g2005-sv -o test_and testbench.v and.v and8.v
+ iverilog -g2005-sv -o test_and8 testbench_and8.v and8.v
+ iverilog -g2005-sv -o test_alu testbench_alu.v alu.v
+
+test:
+ vvp test_and
+
+test_and8:
+ vvp test_and8
+
+test_alu:
+ vvp test_alu
+
+wave:
+ gtkwave test_and.vcd \ No newline at end of file