mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-05 09:37:45 +00:00
Add tests for Xilinx UG901 examples
This commit is contained in:
parent
0d037bf9d8
commit
2ae7dec530
89 changed files with 2962 additions and 0 deletions
16
tests/xilinx_ug901/sfir_shifter.ys
Normal file
16
tests/xilinx_ug901/sfir_shifter.ys
Normal file
|
@ -0,0 +1,16 @@
|
|||
read_verilog sfir_shifter.v
|
||||
hierarchy -top sfir_shifter
|
||||
proc
|
||||
flatten
|
||||
#ERROR: Found 32 unproven $equiv cells in 'equiv_status -assert'.
|
||||
#equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx # equivalency check
|
||||
equiv_opt -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 sfir_shifter
|
||||
#Vivado synthesizes 32 FDRE, 16 SRL16E.
|
||||
stat
|
||||
select -assert-count 1 t:BUFG
|
||||
select -assert-count 16 t:SRL16E
|
||||
|
||||
select -assert-none t:BUFG t:SRL16E %% t:* %D
|
Loading…
Add table
Add a link
Reference in a new issue