mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 21:50:54 +00:00
fabulous: improvements to the pass
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
e3f9ff2679
commit
f111bbdf40
13 changed files with 335 additions and 134 deletions
10
tests/arch/fabulous/logic.ys
Normal file
10
tests/arch/fabulous/logic.ys
Normal file
|
@ -0,0 +1,10 @@
|
|||
read_verilog ../common/logic.v
|
||||
hierarchy -top top
|
||||
proc
|
||||
equiv_opt -assert -map +/fabulous/prims.v synth_fabulous # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd top # Constrain all select calls below inside the top module
|
||||
select -assert-max 1 t:LUT1
|
||||
select -assert-max 6 t:LUT2
|
||||
select -assert-max 2 t:LUT4
|
||||
select -assert-none t:LUT1 t:LUT2 t:LUT4 %% t:* %D
|
Loading…
Add table
Add a link
Reference in a new issue