From 3c51dd47b515643598a9b8b90d721c4d13ea9645 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 28 Aug 2014 00:11:24 -0700 Subject: Tuning LUT mapping flow. --- src/aig/gia/giaSopb.c | 5 ++++- src/base/abci/abc.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3