aboutsummaryrefslogtreecommitdiffstats
path: root/tests/xilinx/macc.sh
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-09-19 18:08:16 -0700
committerEddie Hung <eddie@fpgeh.com>2019-09-19 18:08:16 -0700
commit2f98f9deee063de1e6a57437f1fe885d42916e19 (patch)
treee80c31658b7234eba5570b9810cff8edb3eaf165 /tests/xilinx/macc.sh
parent5ca25b0c59d47e26c7bf119c47b4e73054fafbc8 (diff)
downloadyosys-2f98f9deee063de1e6a57437f1fe885d42916e19.tar.gz
yosys-2f98f9deee063de1e6a57437f1fe885d42916e19.tar.bz2
yosys-2f98f9deee063de1e6a57437f1fe885d42916e19.zip
Add mac.sh and macc_tb.v for testing
Diffstat (limited to 'tests/xilinx/macc.sh')
-rw-r--r--tests/xilinx/macc.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/xilinx/macc.sh b/tests/xilinx/macc.sh
new file mode 100644
index 000000000..86e4c2bb6
--- /dev/null
+++ b/tests/xilinx/macc.sh
@@ -0,0 +1,3 @@
+../../yosys -qp "synth_xilinx -top macc2; rename -top macc2_uut" macc.v -o macc_uut.v
+iverilog -o test_macc macc_tb.v macc_uut.v macc.v ../../techlibs/xilinx/cells_sim.v
+vvp -N ./test_macc