Enable 'scorr' when AIG has no internal nodes.

This commit is contained in:
Alan Mishchenko 2023-02-09 16:15:48 -08:00
parent 1aecc3373c
commit bbd0640db2
1 changed files with 2 additions and 0 deletions

View File

@ -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 )
{