47int Abc_NtkRetime(
Abc_Ntk_t * pNtk,
int Mode,
int nDelayLim,
int fForwardOnly,
int fBackwardOnly,
int fOneStep,
int fUseOldNames,
int fVerbose )
49 int nLatches = Abc_NtkLatchNum(pNtk);
53 int nNodesOld, nLatchesOld;
54 assert( Mode > 0 && Mode < 7 );
55 assert( !fForwardOnly || !fBackwardOnly );
58 nNodesOld = Abc_NtkNodeNum(pNtk);
59 nLatchesOld = Abc_NtkLatchNum(pNtk);
61 if ( nNodesOld > Abc_NtkNodeNum(pNtk) || nLatchesOld > Abc_NtkLatchNum(pNtk) )
62 printf(
"Cleanup before retiming removed %d dangling nodes and %d dangling latches.\n",
63 nNodesOld - Abc_NtkNodeNum(pNtk), nLatchesOld - Abc_NtkLatchNum(pNtk) );
94 printf(
"Unknown retiming option.\n" );
99 printf(
"Reduction in area = %3d. Reduction in delay = %3d. ",
100 nLatches - Abc_NtkLatchNum(pNtk), nLevels -
Abc_NtkLevel(pNtk) );
101 ABC_PRT(
"Total runtime", Abc_Clock() - clkTotal );
int Abc_NtkRetimeMinArea(Abc_Ntk_t *pNtk, int fForwardOnly, int fBackwardOnly, int fUseOldNames, int fVerbose)
FUNCTION DEFINITIONS ///.
int Abc_NtkRetime(Abc_Ntk_t *pNtk, int Mode, int nDelayLim, int fForwardOnly, int fBackwardOnly, int fOneStep, int fUseOldNames, int fVerbose)
FUNCTION DEFINITIONS ///.
int Abc_NtkRetimeIncremental(Abc_Ntk_t *pNtk, int nDelayLim, int fForward, int fMinDelay, int fOneStep, int fUseOldNames, int fVerbose)
FUNCTION DEFINITIONS ///.