Two fixes in 'dsd_filter'.

This commit is contained in:
Alan Mishchenko 2015-10-07 17:48:07 -07:00
parent a2692b70fb
commit 46223f903b
2 changed files with 3 additions and 2 deletions

View File

@ -16805,7 +16805,8 @@ int Abc_CommandDsdFilter( Abc_Frame_t * pAbc, int argc, char ** argv )
If_DsdManCleanMarks( pDsd, fVerbose );
if ( fInvMarks )
If_DsdManInvertMarks( pDsd, fVerbose );
Id_DsdManTuneThresh( pDsd, fUnate, fThresh, fThreshHeuristic, fVerbose );
else
Id_DsdManTuneThresh( pDsd, fUnate, fThresh, fThreshHeuristic, fVerbose );
return 0;
usage:

View File

@ -2772,7 +2772,7 @@ void Id_DsdManTuneThresh( If_DsdMan_t * p, int fUnate, int fThresh, int fThreshH
word * pTruth, Perm;
int i, nVars, Value;
abctime clk = Abc_Clock();
assert( fUnate != fThresh || fUnate != fThreshHeuristic );
assert( fUnate + fThresh + fThreshHeuristic <= 1 );
if ( p->nObjsPrev > 0 )
printf( "Starting the tuning process from object %d (out of %d).\n", p->nObjsPrev, Vec_PtrSize(&p->vObjs) );
// clean the attributes