Commit 2e9ab39b by Alan Mishchenko

New technology mapper.

parent 1814b674
...@@ -263,7 +263,7 @@ static inline Mpm_Uni_t * Mpm_CutSetupInfo( Mpm_Man_t * p, Mpm_Cut_t * pCut, int ...@@ -263,7 +263,7 @@ static inline Mpm_Uni_t * Mpm_CutSetupInfo( Mpm_Man_t * p, Mpm_Cut_t * pCut, int
int * pmEdge = Vec_IntArray( &p->vEdges ); int * pmEdge = Vec_IntArray( &p->vEdges );
int i, iLeaf; int i, iLeaf;
Mpm_Uni_t * pUnit = Vec_PtrEntryLast(&p->vFreeUnits); Mpm_Uni_t * pUnit = (Mpm_Uni_t *)Vec_PtrEntryLast(&p->vFreeUnits);
if ( &pUnit->pCut != pCut ) if ( &pUnit->pCut != pCut )
{ {
pUnit->pCut.iFunc = pCut->iFunc; pUnit->pCut.iFunc = pCut->iFunc;
...@@ -367,7 +367,7 @@ p->timeCompare += Abc_Clock() - clk; ...@@ -367,7 +367,7 @@ p->timeCompare += Abc_Clock() - clk;
iPivot = -1; iPivot = -1;
// add the cut to storage // add the cut to storage
assert( pUnitNew == Vec_PtrEntryLast(&p->vFreeUnits) ); assert( pUnitNew == (Mpm_Uni_t *)Vec_PtrEntryLast(&p->vFreeUnits) );
Vec_PtrPop( &p->vFreeUnits ); Vec_PtrPop( &p->vFreeUnits );
// insert this cut at location iPivot // insert this cut at location iPivot
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment