diff options
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/abci/abc.c | 8 | ||||
-rw-r--r-- | src/base/abci/abcPrint.c | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index acdfb9f8..1620dcf9 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -15017,8 +15017,8 @@ int Abc_CommandIf( Abc_Frame_t * pAbc, int argc, char ** argv ) // enable truth table computation if choices are selected if ( (c = Abc_NtkGetChoiceNum( pNtk )) ) { - if ( !Abc_FrameReadFlag("silentmode") ) - Abc_Print( 0, "Performing LUT mapping with %d choices.\n", c ); +// if ( !Abc_FrameReadFlag("silentmode") ) +// Abc_Print( 0, "Performing LUT mapping with %d choices.\n", c ); pPars->fExpRed = 0; } @@ -29749,8 +29749,8 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv ) // enable truth table computation if choices are selected if ( Gia_ManHasChoices(pAbc->pGia) ) { - if ( !Abc_FrameReadFlag("silentmode") ) - Abc_Print( 0, "Performing LUT mapping with choices.\n" ); +// if ( !Abc_FrameReadFlag("silentmode") ) +// Abc_Print( 0, "Performing LUT mapping with choices.\n" ); pPars->fExpRed = 0; } diff --git a/src/base/abci/abcPrint.c b/src/base/abci/abcPrint.c index 4493a5a2..b13018fc 100644 --- a/src/base/abci/abcPrint.c +++ b/src/base/abci/abcPrint.c @@ -101,7 +101,10 @@ int Abc_NtkCompareAndSaveBest( Abc_Ntk_t * pNtk ) ParsBest.nPis = ParsNew.nPis; ParsBest.nPos = ParsNew.nPos; // writ the network - pFileNameOut = Extra_FileNameGenericAppend( pNtk->pSpec, "_best.blif" ); + if ( strcmp(pNtk->pSpec + strlen(pNtk->pSpec) - strlen("_best.blif"), "_best.blif") ) + pFileNameOut = Extra_FileNameGenericAppend( pNtk->pSpec, "_best.blif" ); + else + pFileNameOut = pNtk->pSpec; Io_Write( pNtk, pFileNameOut, IO_FILE_BLIF ); return 1; } |