diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-19 18:42:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-19 18:42:00 -0700 |
commit | 5dc50744f0604173293be81f013834db59ea0142 (patch) | |
tree | d2112feb4147cad872959173ecc897b616e3067b /src/map/super | |
parent | 480ca14c75e9f8c54ca9b55c39162324aaa1e288 (diff) | |
download | abc-5dc50744f0604173293be81f013834db59ea0142.tar.gz abc-5dc50744f0604173293be81f013834db59ea0142.tar.bz2 abc-5dc50744f0604173293be81f013834db59ea0142.zip |
Extending Liberty parser to handle multi-output cells.
Diffstat (limited to 'src/map/super')
-rw-r--r-- | src/map/super/superGate.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |