ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
retDelay.c File Reference
#include "retInt.h"
Include dependency graph for retDelay.c:

Go to the source code of this file.

Functions

int Abc_NtkRetimeMinDelay (Abc_Ntk_t *pNtk, Abc_Ntk_t *pNtkCopy, int nDelayLim, int nIterLimit, int fForward, int fVerbose)
 FUNCTION DEFINITIONS ///.
 

Function Documentation

◆ Abc_NtkRetimeMinDelay()

int Abc_NtkRetimeMinDelay ( Abc_Ntk_t * pNtk,
Abc_Ntk_t * pNtkCopy,
int nDelayLim,
int nIterLimit,
int fForward,
int fVerbose )

FUNCTION DEFINITIONS ///.

Function*************************************************************

Synopsis [Retimes incrementally for minimum delay.]

Description [This procedure cannot be called in the application code because it assumes that the network is preprocessed by removing LIs/LOs.]

SideEffects []

SeeAlso []

Definition at line 50 of file retDelay.c.

51{
52 int IterBest, DelayBest;
53 int IterBest2, DelayBest2;
54 // try to find the best delay iteration on a copy
55 DelayBest = Abc_NtkRetimeMinDelayTry( pNtkCopy, nDelayLim, fForward, 0, nIterLimit, &IterBest, fVerbose );
56 if ( IterBest == 0 )
57 return 1;
58 // perform the given number of iterations on the original network
59 DelayBest2 = Abc_NtkRetimeMinDelayTry( pNtk, nDelayLim, fForward, 1, IterBest, &IterBest2, fVerbose );
60 assert( DelayBest == DelayBest2 );
61 assert( IterBest == IterBest2 );
62 return 1;
63}
#define assert(ex)
Definition util_old.h:213
Here is the caller graph for this function: