Bug fix in 'mfs2': Apply sweep to avoid assertion failure when translating into a BDD.

This commit is contained in:
Alan Mishchenko 2015-04-06 11:49:19 +07:00
parent b3e5ccd256
commit 452ff2730c
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ int Abc_NtkPerformMfs( Abc_Ntk_t * pNtk, Sfm_Par_t * pPars )
Sfm_Ntk_t * p;
int nFaninMax, nNodes;
assert( Abc_NtkIsLogic(pNtk) );
Abc_NtkSweep( pNtk, 0 );
// count fanouts
nFaninMax = Abc_NtkGetFaninMax( pNtk );
if ( nFaninMax > 6 )