summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifMap.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-04 16:38:46 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-04 16:38:46 -0700
commit6ab0d68d5653b5411c298116c9502a23a50cdbf0 (patch)
tree3f3f84327a1e81688bc06300315d128b54976949 /src/map/if/ifMap.c
parentf6ae0e41f338a109ad2c973ace13b728f4947e14 (diff)
downloadabc-6ab0d68d5653b5411c298116c9502a23a50cdbf0.tar.gz
abc-6ab0d68d5653b5411c298116c9502a23a50cdbf0.tar.bz2
abc-6ab0d68d5653b5411c298116c9502a23a50cdbf0.zip
Tuning LUT mapping to work while saving the best network.
Diffstat (limited to 'src/map/if/ifMap.c')
-rw-r--r--src/map/if/ifMap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c
index e85e8d5f..cd13ed34 100644
--- a/src/map/if/ifMap.c
+++ b/src/map/if/ifMap.c
@@ -184,7 +184,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
p->nCutsMerged++;
p->nCutsTotal++;
// check if this cut is contained in any of the available cuts
- if ( !p->pPars->fSkipCutFilter && If_CutFilter( pCutSet, pCut ) )
+ if ( !p->pPars->fSkipCutFilter && If_CutFilter( pCutSet, pCut, p->pPars->fUserRecLib || p->pPars->fDelayOpt ) )
continue;
// compute the truth table
pCut->iCutFunc = -1;
@@ -202,7 +202,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
fChange = If_CutComputeTruth( p, pCut, pCut0, pCut1, pObj->fCompl0, pObj->fCompl1 );
if ( p->pPars->fVerbose )
p->timeCache[4] += Abc_Clock() - clk;
- if ( !p->pPars->fSkipCutFilter && fChange && If_CutFilter( pCutSet, pCut ) )
+ if ( !p->pPars->fSkipCutFilter && fChange && If_CutFilter( pCutSet, pCut, p->pPars->fUserRecLib || p->pPars->fDelayOpt ) )
continue;
if ( p->pPars->fUseDsd )
{
@@ -385,7 +385,7 @@ void If_ObjPerformMappingChoice( If_Man_t * p, If_Obj_t * pObj, int Mode, int fP
// copy the cut into storage
If_CutCopy( p, pCut, pCutTemp );
// check if this cut is contained in any of the available cuts
- if ( If_CutFilter( pCutSet, pCut ) )
+ if ( If_CutFilter( pCutSet, pCut, p->pPars->fUserRecLib || p->pPars->fDelayOpt ) )
continue;
// check if the cut satisfies the required times
assert( pCut->Delay == If_CutDelay( p, pTemp, pCut ) );