summaryrefslogtreecommitdiffstats
path: root/src/map
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-01-11 22:08:35 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-01-11 22:08:35 -0800
commitfadde52dc661a8f7afc02f2cb4b2ebc2be97bbc0 (patch)
tree5c413a686c5d019a3ef7c3300c7d09c31a613099 /src/map
parent22ae2e452a9a5fae6a4ac829497f9bad2e32369f (diff)
downloadabc-fadde52dc661a8f7afc02f2cb4b2ebc2be97bbc0.tar.gz
abc-fadde52dc661a8f7afc02f2cb4b2ebc2be97bbc0.tar.bz2
abc-fadde52dc661a8f7afc02f2cb4b2ebc2be97bbc0.zip
Changes to the lazy man's synthesis code.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/if/if.h1
-rw-r--r--src/map/if/ifMap.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/map/if/if.h b/src/map/if/if.h
index 4c043176..85de7026 100644
--- a/src/map/if/if.h
+++ b/src/map/if/if.h
@@ -106,6 +106,7 @@ struct If_Par_t_
// internal parameters
int fDelayOpt; // special delay optimization
int fUserRecLib; // use recorded library
+ int fSkipCutFilter;// skip cut filter
int fAreaOnly; // area only mode
int fTruth; // truth table computation enabled
int fUsePerm; // use permutation (delay info)
diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c
index 10fd1ead..a845f177 100644
--- a/src/map/if/ifMap.c
+++ b/src/map/if/ifMap.c
@@ -196,7 +196,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
p->nCutsTotal++;
// check if this cut is contained in any of the available cuts
// if ( p->pPars->pFuncCost == NULL && If_CutFilter( p, pCut ) ) // do not filter functionality cuts
- if ( If_CutFilter( pCutSet, pCut ) )
+ if ( !p->pPars->fSkipCutFilter && If_CutFilter( pCutSet, pCut ) )
continue;
// compute the truth table
pCut->fCompl = 0;