summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifMap.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-10-25 22:10:24 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-10-25 22:10:24 -0700
commit37107a3b18475c037518d72c38113345a11bc34f (patch)
tree943b69b069141bc7c7301c102fdfbef5860abfbc /src/map/if/ifMap.c
parentfac397662118bcd6682da06e0ed87ff5963f625d (diff)
downloadabc-37107a3b18475c037518d72c38113345a11bc34f.tar.gz
abc-37107a3b18475c037518d72c38113345a11bc34f.tar.bz2
abc-37107a3b18475c037518d72c38113345a11bc34f.zip
Added new API to traverse the cut in the mapper.
Diffstat (limited to 'src/map/if/ifMap.c')
-rw-r--r--src/map/if/ifMap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c
index 6fcb8799..afc229e5 100644
--- a/src/map/if/ifMap.c
+++ b/src/map/if/ifMap.c
@@ -75,7 +75,8 @@ float If_CutDelaySpecial( If_Man_t * p, If_Cut_t * pCut, int fCarry )
Delay = IF_MAX( Delay, Pin2Pin[fCarry][i] + DelayCur );
}
return Delay;
- }
+}
+
/**Function*************************************************************
@@ -263,6 +264,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
pCut->AveRefs = (Mode == 0)? (float)0.0 : If_CutAverageRefs( p, pCut );
// insert the cut into storage
If_CutSort( p, pCutSet, pCut );
+// If_CutTraverse( p, pObj, pCut );
}
assert( pCutSet->nCuts > 0 );