From d0197d83782fd016358360c305d5d4dcd7ef95d8 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 24 Sep 2012 22:57:01 -0700 Subject: Changed printouts in a few places in supergate computation. --- src/map/mio/mioUtils.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/mio/mioUtils.c') diff --git a/src/map/mio/mioUtils.c b/src/map/mio/mioUtils.c index 347d81f5..a11fed68 100644 --- a/src/map/mio/mioUtils.c +++ b/src/map/mio/mioUtils.c @@ -297,7 +297,7 @@ int Mio_DelayCompare( Mio_Gate_t ** ppG1, Mio_Gate_t ** ppG2 ) SeeAlso [] ***********************************************************************/ -Mio_Gate_t ** Mio_CollectRoots( Mio_Library_t * pLib, int nInputs, float tDelay, int fSkipInv, int * pnGates ) +Mio_Gate_t ** Mio_CollectRoots( Mio_Library_t * pLib, int nInputs, float tDelay, int fSkipInv, int * pnGates, int fVerbose ) { Mio_Gate_t * pGate; Mio_Gate_t ** ppGates; @@ -334,6 +334,9 @@ Mio_Gate_t ** Mio_CollectRoots( Mio_Library_t * pLib, int nInputs, float tDelay, continue; assert( iGate < nGates ); ppGates[ iGate++ ] = pGate; + if ( fVerbose ) + printf( "Selected gate %3d: %-20s A = %7.2f D = %7.2f %3s = %-s\n", + iGate+1, pGate->pName, pGate->dArea, pGate->dDelayMax, pGate->pOutName, pGate->pForm ); } // sort by delay if ( iGate > 0 ) -- cgit v1.2.3