summaryrefslogtreecommitdiffstats
path: root/src/map
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-05-19 15:22:25 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-05-19 15:22:25 -0700
commit07d074fd88603db94cf7f8fa17523dc6de0b1904 (patch)
tree664f5bf9b4bf80aa0abbb11bc0a77e50b645206a /src/map
parent031015e7f8ce8c12d1e8e46693c9fbe70929415c (diff)
downloadabc-07d074fd88603db94cf7f8fa17523dc6de0b1904.tar.gz
abc-07d074fd88603db94cf7f8fa17523dc6de0b1904.tar.bz2
abc-07d074fd88603db94cf7f8fa17523dc6de0b1904.zip
New feature for area minimization in standard cell mapping.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mio/mioUtils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/mio/mioUtils.c b/src/map/mio/mioUtils.c
index 5b1185eb..7572b27c 100644
--- a/src/map/mio/mioUtils.c
+++ b/src/map/mio/mioUtils.c
@@ -733,8 +733,13 @@ Mio_Cell2_t * Mio_CollectRootsNew2( Mio_Library_t * pLib, int nInputs, int * pnG
assert( Mio_AreaCompare2( ppCells + 4, ppCells + iCell - 1 ) <= 0 );
}
// assign IDs
+ Mio_LibraryForEachGate( pLib, pGate0 )
+ Mio_GateSetCell( pGate0, -1 );
for ( i = 0; i < iCell; i++ )
+ {
ppCells[i].Id = ppCells[i].pName ? i : -1;
+ Mio_GateSetCell( (Mio_Gate_t *)ppCells[i].pMioGate, i );
+ }
// report
if ( fVerbose )