summaryrefslogtreecommitdiffstats
path: root/testbench/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testbench/Makefile')
-rw-r--r--testbench/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/testbench/Makefile b/testbench/Makefile
new file mode 100644
index 000000000..6032a0123
--- /dev/null
+++ b/testbench/Makefile
@@ -0,0 +1,10 @@
+all: single dual
+
+single:
+ iverilog -Wimplicit -Wportbind -c cmdfile ../top/single_u2_sim/single_u2_sim.v -o single_u2_sim
+
+dual:
+ iverilog -Wimplicit -Wportbind -c cmdfile ../top/dual_u2_sim/dual_u2_sim.v -o dual_u2_sim
+
+clean:
+ rm -f single_u2_sim dual_u2_sim *.vcd *.lxt