mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-30 12:25:52 +00:00
Add mul_unsigned test
This commit is contained in:
parent
89359b6927
commit
7df0e77565
2 changed files with 41 additions and 0 deletions
11
tests/xilinx/mul_unsigned.ys
Normal file
11
tests/xilinx/mul_unsigned.ys
Normal file
|
@ -0,0 +1,11 @@
|
|||
read_verilog mul_unsigned.v
|
||||
proc
|
||||
hierarchy -top mul_unsigned
|
||||
equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx # 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
|
||||
stat
|
||||
select -assert-count 1 t:BUFG
|
||||
select -assert-count 1 t:DSP48E1
|
||||
select -assert-count 15 t:SRL16E
|
||||
select -assert-none t:DSP48E1 t:SRL16E t:BUFG %% t:* %D
|
Loading…
Add table
Add a link
Reference in a new issue