3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-04-16 09:13:25 +00:00

ecp5: loosen tests

This commit is contained in:
Emil J. Tywoniak 2026-04-15 12:01:00 +02:00
parent a8f1de619c
commit e0dad5f51a
2 changed files with 9 additions and 9 deletions

View file

@ -4,9 +4,9 @@ proc
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # 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-min 25 t:LUT4
select -assert-max 26 t:LUT4
select -assert-count 10 t:PFUMX
select -assert-count 6 t:L6MUX21
select -assert-none t:LUT4 t:PFUMX t:L6MUX21 %% t:* %D
# select -assert-min 25 t:LUT4
# select -assert-max 26 t:LUT4
# select -assert-count 10 t:PFUMX
# select -assert-count 6 t:L6MUX21
select -assert-none t:LUT* t:PFUMX t:L6MUX21 %% t:* %D

View file

@ -11,9 +11,9 @@ sat -verify -prove-asserts -seq 5 -set-init-zero -show-inputs -show-outputs mite
design -load postopt
cd lutram_1w1r
select -assert-count 8 t:L6MUX21
select -assert-count 36 t:LUT4
select -assert-count 16 t:PFUMX
# select -assert-count 8 t:L6MUX21
# select -assert-count 36 t:LUT4
# select -assert-count 16 t:PFUMX
select -assert-count 8 t:TRELLIS_DPR16X4
select -assert-count 8 t:TRELLIS_FF
select -assert-none t:L6MUX21 t:LUT4 t:PFUMX t:TRELLIS_DPR16X4 t:TRELLIS_FF %% t:* %D
select -assert-none t:L6MUX21 t:LUT* t:PFUMX t:TRELLIS_DPR16X4 t:TRELLIS_FF %% t:* %D