mirror of https://github.com/YosysHQ/abc.git
Enable 'scorr' when AIG has no internal nodes.
This commit is contained in:
parent
1aecc3373c
commit
bbd0640db2
|
|
@ -444,6 +444,7 @@ Aig_Man_t * Ssw_SignalCorrespondence( Aig_Man_t * pAig, Ssw_Pars_t * pPars )
|
|||
// if parameters are not given, create them
|
||||
if ( pPars == NULL )
|
||||
Ssw_ManSetDefaultParams( pPars = &Pars );
|
||||
/*
|
||||
// consider the case of empty AIG
|
||||
if ( Aig_ManNodeNum(pAig) == 0 )
|
||||
{
|
||||
|
|
@ -452,6 +453,7 @@ Aig_Man_t * Ssw_SignalCorrespondence( Aig_Man_t * pAig, Ssw_Pars_t * pPars )
|
|||
Aig_ManReprStart( pAig,Aig_ManObjNumMax(pAig) );
|
||||
return Aig_ManDupOrdered(pAig);
|
||||
}
|
||||
*/
|
||||
// check and update parameters
|
||||
if ( pPars->fLatchCorrOpt )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue