mirror of https://github.com/YosysHQ/abc.git
Small changes to the printout in timing analysis.
This commit is contained in:
parent
21d7938adc
commit
9e384d5ca9
|
|
@ -484,7 +484,7 @@ int Mio_ParseCheckFormula( Mio_Gate_t * pGate, char * pForm )
|
|||
for ( pPin = Mio_GateReadPins(pGate), i = 0; pPin; pPin = Mio_PinReadNext(pPin), i++ )
|
||||
if ( fVisit[i] == 0 )
|
||||
{
|
||||
printf( "Skipping gate \"%s\" because pin \"%s\" does not appear in the formula \"%s\".\n", pGate->pName, Mio_PinReadName(pPin), pForm );
|
||||
// printf( "Skipping gate \"%s\" because pin \"%s\" does not appear in the formula \"%s\".\n", pGate->pName, Mio_PinReadName(pPin), pForm );
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ static inline void Abc_SclTimeNodePrint( SC_Man * p, Abc_Obj_t * pObj, int fRise
|
|||
{
|
||||
printf( "%7d : ", Abc_ObjId(pObj) );
|
||||
printf( "%d ", Abc_ObjFaninNum(pObj) );
|
||||
printf( "%d ", Abc_ObjFanoutNum(pObj) );
|
||||
printf( "%2d ", Abc_ObjFanoutNum(pObj) );
|
||||
printf( "%-*s ", Length, Abc_SclObjCell(p, pObj)->pName );
|
||||
if ( fRise >= 0 )
|
||||
printf( "(%s) ", fRise ? "rise" : "fall" );
|
||||
|
|
@ -162,7 +162,7 @@ void Abc_SclTimeNtkPrint( SC_Man * p, int fShowAll, int fShort )
|
|||
pObj = Abc_ObjFanin0(pPivot);
|
||||
while ( pObj && Abc_ObjIsNode(pObj) )
|
||||
{
|
||||
printf( "C-path %2d -- ", i-- );
|
||||
printf( "C-path %3d -- ", i-- );
|
||||
Abc_SclTimeNodePrint( p, pObj, fRise, nLength, maxDelay );
|
||||
pObj = Abc_SclFindMostCriticalFanin( p, &fRise, pObj );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -572,6 +572,8 @@ void Abc_SclUpsizePerform( SC_Lib * pLib, Abc_Ntk_t * pNtk, SC_UpSizePars * pPar
|
|||
Abc_SclTimeNtkRecompute( p, &p->SumArea, &p->MaxDelay, 0 );
|
||||
if ( pPars->fVerbose )
|
||||
Abc_SclUpsizePrint( p, i, pPars->Window, nAllPos/(i?i:1), nAllNodes/(i?i:1), nAllUpsizes/(i?i:1), nAllTfos/(i?i:1), 1 );
|
||||
else
|
||||
printf( " \r" );
|
||||
// report runtime
|
||||
p->timeTotal = Abc_Clock() - p->timeTotal;
|
||||
if ( pPars->fVerbose )
|
||||
|
|
|
|||
Loading…
Reference in New Issue