3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-31 06:07:47 +00:00

Fix tests due to ABC improvements

This commit is contained in:
Miodrag Milanovic 2026-03-27 09:44:19 +01:00 committed by Lofty
parent 23cfeabfe1
commit 417e871b06
10 changed files with 29 additions and 44 deletions

View file

@ -13,8 +13,6 @@ base.run_pass("equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5")
postopt = ys.Design()
postopt.run_pass("design -load postopt")
postopt.run_pass(["cd", "top"])
postopt.run_pass("select -assert-min 25 t:LUT4")
postopt.run_pass("select -assert-max 26 t:LUT4")
postopt.run_pass(["select", "-assert-count", "10", "t:PFUMX"])
postopt.run_pass(["select", "-assert-count", "6", "t:L6MUX21"])
postopt.run_pass("select -assert-none t:LUT4 t:PFUMX t:L6MUX21 %% t:* %D")
postopt.run_pass("select -assert-min 11 t:LUT4")
postopt.run_pass(["select", "-assert-count", "2", "t:PFUMX"])
postopt.run_pass("select -assert-none t:LUT4 t:PFUMX %% t:* %D")

View file

@ -13,8 +13,6 @@ ys.run_pass("equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5", base)
postopt = ys.Design()
ys.run_pass("design -load postopt", postopt)
ys.run_pass("cd top", postopt)
ys.run_pass("select -assert-min 25 t:LUT4", postopt)
ys.run_pass("select -assert-max 26 t:LUT4", postopt)
ys.run_pass("select -assert-count 10 t:PFUMX", postopt)
ys.run_pass("select -assert-count 6 t:L6MUX21", postopt)
ys.run_pass("select -assert-none t:LUT4 t:PFUMX t:L6MUX21 %% t:* %D", postopt)
ys.run_pass("select -assert-min 11 t:LUT4", postopt)
ys.run_pass("select -assert-count 2 t:PFUMX", postopt)
ys.run_pass("select -assert-none t:LUT4 t:PFUMX %% t:* %D", postopt)