diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-08-28 00:11:24 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-08-28 00:11:24 -0700 |
commit | 3c51dd47b515643598a9b8b90d721c4d13ea9645 (patch) | |
tree | 616a40a7f1d56f72ddc7f1caca8b2da145cc99ea | |
parent | 70a236379bb647ed6ada8b9381d182fab1d74d84 (diff) | |
download | abc-3c51dd47b515643598a9b8b90d721c4d13ea9645.tar.gz abc-3c51dd47b515643598a9b8b90d721c4d13ea9645.tar.bz2 abc-3c51dd47b515643598a9b8b90d721c4d13ea9645.zip |
Tuning LUT mapping flow.
-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; |