diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-06-22 23:05:06 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-06-22 23:05:06 -0700 |
commit | 4d1bc4a268ad0be95818c718eae82e0be5c9057c (patch) | |
tree | 69f26241fe2798f994afa02befdbc298eccdea6a /src/aig/dar/darScript.c | |
parent | b288bac6b3567c0eccde1cb3ed1b6f7eff1d6408 (diff) | |
download | abc-4d1bc4a268ad0be95818c718eae82e0be5c9057c.tar.gz abc-4d1bc4a268ad0be95818c718eae82e0be5c9057c.tar.bz2 abc-4d1bc4a268ad0be95818c718eae82e0be5c9057c.zip |
Version abc90809
committer: Baruch Sterin <baruchs@gmail.com>
Diffstat (limited to 'src/aig/dar/darScript.c')
-rw-r--r-- | src/aig/dar/darScript.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/aig/dar/darScript.c b/src/aig/dar/darScript.c index 0209165a..20f3e14a 100644 --- a/src/aig/dar/darScript.c +++ b/src/aig/dar/darScript.c @@ -261,7 +261,11 @@ Aig_Man_t * Dar_ManCompress2( Aig_Man_t * pAig, int fBalance, int fUpdateLevel, } */ // rewrite +// Dar_ManRewrite( pAig, pParsRwr ); + pParsRwr->fUpdateLevel = 0; // disable level update Dar_ManRewrite( pAig, pParsRwr ); + pParsRwr->fUpdateLevel = fUpdateLevel; // reenable level update if needed + pAig = Aig_ManDupDfs( pTemp = pAig ); Aig_ManStop( pTemp ); if ( fVerbose ) Aig_ManPrintStats( pAig ); @@ -601,7 +605,11 @@ Aig_Man_t * Dar_NewCompress2( Aig_Man_t * pAig, int fBalance, int fUpdateLevel, if ( !fLightSynth ) { // rewrite + //Dar_ManRewrite( pAig, pParsRwr ); + pParsRwr->fUpdateLevel = 0; // disable level update Dar_ManRewrite( pAig, pParsRwr ); + pParsRwr->fUpdateLevel = fUpdateLevel; // reenable level update if needed + pAig = Aig_ManDupDfs( pTemp = pAig ); Aig_ManStop( pTemp ); if ( fVerbose ) Aig_ManPrintStats( pAig ); |