aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/xilinx/mul_unsigned.ys
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-27 10:34:10 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-27 10:34:10 -0800
commitf443695a38fbdd8c2ca38cab45ca964a173dc158 (patch)
tree4ac13e4fe8ee5e71f963c4230f9f26f32901c2ba /tests/arch/xilinx/mul_unsigned.ys
parentd730bba6d2847515795c32d3a753320b8b48bee0 (diff)
parentda6abc014987ef562a577dc374bcb03aad9256cd (diff)
downloadyosys-f443695a38fbdd8c2ca38cab45ca964a173dc158.tar.gz
yosys-f443695a38fbdd8c2ca38cab45ca964a173dc158.tar.bz2
yosys-f443695a38fbdd8c2ca38cab45ca964a173dc158.zip
Merge remote-tracking branch 'origin/master' into eddie/verific_help
Diffstat (limited to 'tests/arch/xilinx/mul_unsigned.ys')
-rw-r--r--tests/arch/xilinx/mul_unsigned.ys16
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/arch/xilinx/mul_unsigned.ys b/tests/arch/xilinx/mul_unsigned.ys
index 62495b90c..980263cbd 100644
--- a/tests/arch/xilinx/mul_unsigned.ys
+++ b/tests/arch/xilinx/mul_unsigned.ys
@@ -2,10 +2,24 @@ read_verilog mul_unsigned.v
hierarchy -top mul_unsigned
proc
-equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx # equivalency check
+equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx -noiopad # equivalency check
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
cd mul_unsigned # Constrain all select calls below inside the top module
select -assert-count 1 t:BUFG
select -assert-count 1 t:DSP48E1
select -assert-count 30 t:FDRE
select -assert-none t:DSP48E1 t:FDRE t:BUFG %% t:* %D
+
+design -reset
+
+read_verilog mul_unsigned.v
+hierarchy -top mul_unsigned
+proc
+
+equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx -family xc6s -noiopad # equivalency check
+design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
+cd mul_unsigned # Constrain all select calls below inside the top module
+select -assert-count 1 t:BUFG
+select -assert-count 1 t:DSP48A1
+select -assert-count 30 t:FDRE
+select -assert-none t:DSP48A1 t:FDRE t:BUFG %% t:* %D