mirror of
https://github.com/YosysHQ/yosys
synced 2026-08-08 07:03:11 +00:00
tests: exclude signorm marker cells from cell-count assertions
This commit is contained in:
parent
e27e695c9e
commit
ed7e50be24
3 changed files with 8 additions and 7 deletions
|
|
@ -1566,7 +1566,8 @@ for t in TESTS:
|
|||
for kk, vv in ca.items():
|
||||
sf.write("select -assert-count {} t:{} r:{}={} %i\n".format(cc, k, kk, vv))
|
||||
else:
|
||||
sf.write("select -assert-count {} t:{}\n".format(v, k))
|
||||
suffix = " t:$*_port %d t:$public %d" if k.startswith("$") else ""
|
||||
sf.write("select -assert-count {} t:{}{}\n".format(v, k, suffix))
|
||||
|
||||
def create_tests():
|
||||
for t in TESTS:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ select -assert-count 1 t:$_DLATCH_P_
|
|||
select -assert-count 1 t:$_DLATCH_N_
|
||||
select -assert-count 1 t:$_DLATCH_PN0_
|
||||
select -assert-count 1 t:$_DLATCH_NN0_
|
||||
select -assert-count 4 t:*
|
||||
select -assert-count 4 t:* t:$*_port %d t:$public %d
|
||||
design -load gold
|
||||
equiv_opt -assert -multiclock simplemap
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ equiv_opt -assert peepopt
|
|||
design -load postopt
|
||||
clean
|
||||
select -assert-count 1 t:$bmux
|
||||
select -assert-count 0 t:$bmux t:* %D
|
||||
select -assert-count 0 t:$bmux t:* %D t:$*_port %d t:$public %d
|
||||
|
||||
####################
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ design -load postopt
|
|||
clean
|
||||
select -assert-count 1 t:$shr
|
||||
select -assert-count 1 t:$mul
|
||||
select -assert-count 0 t:$shr t:$mul %% t:* %D
|
||||
select -assert-count 0 t:$shr t:$mul %% t:* %D t:$*_port %d t:$public %d
|
||||
|
||||
####################
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ sat -verify -show-public -enable_undef -prove-asserts miter
|
|||
cd gate
|
||||
select -assert-count 1 t:$shr
|
||||
select -assert-count 1 t:$mul
|
||||
select -assert-count 0 t:$shr t:$mul %% t:* %D
|
||||
select -assert-count 0 t:$shr t:$mul %% t:* %D t:$*_port %d t:$public %d
|
||||
|
||||
####################
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ equiv_opt -assert peepopt
|
|||
design -load postopt
|
||||
clean
|
||||
select -assert-count 1 t:$bmux
|
||||
select -assert-count 0 t:$bmux t:* %D
|
||||
select -assert-count 0 t:$bmux t:* %D t:$*_port %d t:$public %d
|
||||
|
||||
####################
|
||||
|
||||
|
|
@ -244,4 +244,4 @@ equiv_opt -assert peepopt
|
|||
design -load postopt
|
||||
clean
|
||||
select -assert-count 1 t:$bmux
|
||||
select -assert-count 0 t:$bmux t:* %D
|
||||
select -assert-count 0 t:$bmux t:* %D t:$*_port %d t:$public %d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue