3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-30 12:25:52 +00:00

Add mac.sh and macc_tb.v for testing

This commit is contained in:
Eddie Hung 2019-09-19 18:08:16 -07:00
parent 5ca25b0c59
commit 2f98f9deee
2 changed files with 99 additions and 0 deletions

3
tests/xilinx/macc.sh Normal file
View file

@ -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