summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abcIf.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-19 18:41:45 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-19 18:41:45 -0700
commite868d057bbc6d0d0a0a32bd39f0b90698c50428d (patch)
treef250d0314498f608e4ec644dc328e899833ed1e8 /src/base/abci/abcIf.c
parenteb960a91d570e3f1cba1010fd2edab2af299301e (diff)
downloadabc-e868d057bbc6d0d0a0a32bd39f0b90698c50428d.tar.gz
abc-e868d057bbc6d0d0a0a32bd39f0b90698c50428d.tar.bz2
abc-e868d057bbc6d0d0a0a32bd39f0b90698c50428d.zip
Added structural hashing by default after if -g and &if -g.
Diffstat (limited to 'src/base/abci/abcIf.c')
-rw-r--r--src/base/abci/abcIf.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/base/abci/abcIf.c b/src/base/abci/abcIf.c
index 8131a64a..11707760 100644
--- a/src/base/abci/abcIf.c
+++ b/src/base/abci/abcIf.c
@@ -113,7 +113,7 @@ if ( pIfMan->pPars->fVerbose )
***********************************************************************/
Abc_Ntk_t * Abc_NtkIf( Abc_Ntk_t * pNtk, If_Par_t * pPars )
{
- Abc_Ntk_t * pNtkNew;
+ Abc_Ntk_t * pNtkNew, * pTemp;
If_Man_t * pIfMan;
assert( Abc_NtkIsStrash(pNtk) );
@@ -160,7 +160,12 @@ Abc_Ntk_t * Abc_NtkIf( Abc_Ntk_t * pNtk, If_Par_t * pPars )
if ( pNtkNew == NULL )
return NULL;
If_ManStop( pIfMan );
- if ( pPars->fBidec && pPars->nLutSize <= 8 )
+ if ( pPars->fDelayOpt || pPars->fDsdBalance || pPars->fUserRecLib )
+ {
+ pNtkNew = Abc_NtkStrash( pTemp = pNtkNew, 0, 0, 0 );
+ Abc_NtkDelete( pTemp );
+ }
+ else if ( pPars->fBidec && pPars->nLutSize <= 8 )
Abc_NtkBidecResyn( pNtkNew, 0 );
// duplicate EXDC