mirror of https://github.com/YosysHQ/yosys.git
Re-enable opt_dff_sr equiv_opt checks
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
parent
afa5e6bb53
commit
f0478c520d
|
@ -22,10 +22,9 @@ EOT
|
|||
|
||||
design -save orig
|
||||
|
||||
# Equivalence check will fail for unmapped adlatch and dlatchsr due to negative hold hack.
|
||||
#equiv_opt -undef -assert -multiclock opt_dff
|
||||
#design -load postopt
|
||||
opt_dff
|
||||
equiv_opt -undef -assert -multiclock opt_dff
|
||||
design -load postopt
|
||||
|
||||
select -assert-count 1 t:$dffsr
|
||||
select -assert-count 1 t:$dffsr r:WIDTH=2 %i
|
||||
select -assert-count 1 t:$dffsre
|
||||
|
@ -36,9 +35,9 @@ select -assert-none t:$sr
|
|||
|
||||
design -load orig
|
||||
|
||||
#equiv_opt -undef -assert -multiclock opt_dff -keepdc
|
||||
#design -load postopt
|
||||
opt_dff -keepdc
|
||||
equiv_opt -undef -assert -multiclock opt_dff -keepdc
|
||||
design -load postopt
|
||||
|
||||
select -assert-count 1 t:$dffsr
|
||||
select -assert-count 1 t:$dffsr r:WIDTH=4 %i
|
||||
select -assert-count 1 t:$dffsre
|
||||
|
@ -51,9 +50,9 @@ select -assert-count 1 t:$sr r:WIDTH=4 %i
|
|||
design -load orig
|
||||
simplemap
|
||||
|
||||
#equiv_opt -undef -assert -multiclock opt_dff
|
||||
#design -load postopt
|
||||
opt_dff
|
||||
equiv_opt -undef -assert -multiclock opt_dff
|
||||
design -load postopt
|
||||
|
||||
select -assert-count 1 t:$_DFF_PP0_
|
||||
select -assert-count 1 t:$_DFF_PP1_
|
||||
select -assert-count 1 t:$_DFFE_PN0P_
|
||||
|
@ -65,9 +64,9 @@ select -assert-none t:$_DFF_PP0_ t:$_DFF_PP1_ t:$_DFFE_PN0P_ t:$_DFFE_PN1P_ t:$_
|
|||
design -load orig
|
||||
simplemap
|
||||
|
||||
#equiv_opt -undef -assert -multiclock opt_dff -keepdc
|
||||
#design -load postopt
|
||||
opt_dff -keepdc
|
||||
equiv_opt -undef -assert -multiclock opt_dff -keepdc
|
||||
design -load postopt
|
||||
|
||||
select -assert-count 1 t:$_DFF_PP0_
|
||||
select -assert-count 1 t:$_DFF_PP1_
|
||||
select -assert-count 2 t:$_DFFSR_PPP_
|
||||
|
|
Loading…
Reference in New Issue