From 5dc50744f0604173293be81f013834db59ea0142 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 19 Sep 2012 18:42:00 -0700 Subject: Extending Liberty parser to handle multi-output cells. --- src/map/super/superGate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/super/superGate.c') diff --git a/src/map/super/superGate.c b/src/map/super/superGate.c index 53f3da35..700fef0e 100644 --- a/src/map/super/superGate.c +++ b/src/map/super/superGate.c @@ -360,7 +360,7 @@ Super_Man_t * Super_Compute( Super_Man_t * pMan, Mio_Gate_t ** ppGates, int nGat { if ( pMan->nLevels >= 1 ) // First level gates have been computed { - if ( Mio_GateReadInputs(ppGates[k]) >= iPruneLimitRoot ) + if ( Mio_GateReadPinNum(ppGates[k]) >= iPruneLimitRoot ) continue; } } @@ -386,7 +386,7 @@ Super_Man_t * Super_Compute( Super_Man_t * pMan, Mio_Gate_t ** ppGates, int nGat if ( pMan->fVerbose ) { - printf ("Trying %d choices for %d inputs\n", t, Mio_GateReadInputs(ppGates[k]) ); + printf ("Trying %d choices for %d inputs\n", t, Mio_GateReadPinNum(ppGates[k]) ); } // resort part of this range by area @@ -402,7 +402,7 @@ Super_Man_t * Super_Compute( Super_Man_t * pMan, Mio_Gate_t ** ppGates, int nGat // consider the combinations of gates with the root gate on top AreaMio = (float)Mio_GateReadArea(ppGates[k]); - nFanins = Mio_GateReadInputs(ppGates[k]); + nFanins = Mio_GateReadPinNum(ppGates[k]); switch ( nFanins ) { case 0: // should not happen @@ -1348,7 +1348,7 @@ void Super_WriteLibraryTree_rec( FILE * pFile, Super_Man_t * pMan, Super_Gate_t if ( pSuper->fVar || pSuper->Number > 0 ) return; // write the fanins - nFanins = Mio_GateReadInputs(pSuper->pRoot); + nFanins = Mio_GateReadPinNum(pSuper->pRoot); for ( i = 0; i < nFanins; i++ ) Super_WriteLibraryTree_rec( pFile, pMan, pSuper->pFanins[i], pCounter ); // finally write the gate -- cgit v1.2.3