mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
synth_xilinx: Use opt_dff.
The main part is converting xilinx_dsp to recognize the new FF types created in opt_dff instead of trying to recognize the patterns on its own. The fsm call has been moved upwards because the passes cannot deal with $dffe/$sdff*, and other optimizations don't help it much anyway.
This commit is contained in:
parent
4a05cad7f8
commit
8501342fc5
7 changed files with 219 additions and 887 deletions
|
@ -13,12 +13,11 @@ design -load postopt # load the post-opt design (otherwise equiv_opt loads the p
|
|||
cd fsm # Constrain all select calls below inside the top module
|
||||
stat
|
||||
select -assert-count 1 t:BUFG
|
||||
select -assert-count 4 t:FDRE
|
||||
select -assert-count 1 t:FDSE
|
||||
select -assert-count 1 t:LUT2
|
||||
select -assert-count 3 t:LUT5
|
||||
select -assert-count 6 t:FDRE
|
||||
select -assert-count 1 t:LUT4
|
||||
select -assert-count 4 t:LUT5
|
||||
select -assert-count 1 t:LUT6
|
||||
select -assert-none t:BUFG t:FDRE t:FDSE t:LUT2 t:LUT5 t:LUT6 %% t:* %D
|
||||
select -assert-none t:BUFG t:FDRE t:LUT4 t:LUT5 t:LUT6 %% t:* %D
|
||||
|
||||
design -load orig
|
||||
|
||||
|
@ -32,7 +31,6 @@ stat
|
|||
select -assert-count 1 t:BUFG
|
||||
select -assert-count 6 t:FDRE
|
||||
select -assert-count 1 t:LUT1
|
||||
select -assert-count 3 t:LUT3
|
||||
select -assert-count 6 t:LUT4
|
||||
select -assert-count 6 t:MUXF5
|
||||
select -assert-none t:BUFG t:FDRE t:LUT1 t:LUT3 t:LUT4 t:MUXF5 %% t:* %D
|
||||
select -assert-count 8 t:LUT4
|
||||
select -assert-count 5 t:MUXF5
|
||||
select -assert-none t:BUFG t:FDRE t:LUT1 t:LUT4 t:MUXF5 %% t:* %D
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue