mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-16 15:15:38 +00:00
Revert "Fix tests due to ABC improvements"
This reverts commit 417e871b06.
This commit is contained in:
parent
40c1485828
commit
7fe32137bd
10 changed files with 44 additions and 29 deletions
|
|
@ -13,6 +13,8 @@ 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 11 t:LUT4")
|
||||
postopt.run_pass(["select", "-assert-count", "2", "t:PFUMX"])
|
||||
postopt.run_pass("select -assert-none t:LUT4 t:PFUMX %% t:* %D")
|
||||
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")
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ 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 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)
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue