From 07d074fd88603db94cf7f8fa17523dc6de0b1904 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 19 May 2016 15:22:25 -0700 Subject: New feature for area minimization in standard cell mapping. --- src/map/mio/mioUtils.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map') 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 ) -- cgit v1.2.3