diff options
-rw-r--r-- | src/aig/gia/giaSopb.c | 5 | ||||
-rw-r--r-- | src/base/abci/abc.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/aig/gia/giaSopb.c b/src/aig/gia/giaSopb.c index 36c9d725..57de4cfe 100644 --- a/src/aig/gia/giaSopb.c +++ b/src/aig/gia/giaSopb.c @@ -425,7 +425,10 @@ void Gia_ManPerformFlow( int fIsMapped, int nAnds, int nLevels, int nLutSize, in // remove comb equivs if ( fIsMapped ) Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), "&st" ); - Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), "&fraig -c" ); + if ( Abc_FrameReadGia(Abc_FrameGetGlobalFrame())->pManTime ) + Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), "&sweep" ); + else + Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), "&fraig -c" ); // perform first round Gia_ManPerformRound( fIsMapped, nAnds, nLevels, nLutSize, nCutNum, nRelaxRatio, fVerbose ); diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 44246a2f..2fe19a59 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -26106,6 +26106,7 @@ int Abc_CommandAbc9Strash( Abc_Frame_t * pAbc, int argc, char ** argv ) if ( !Abc_FrameReadFlag("silentmode") ) printf( "Rehashed the current AIG.\n" ); } + Gia_ManTransferTiming( pTemp, pAbc->pGia ); Abc_FrameUpdateGia( pAbc, pTemp ); return 0; |