49 for ( i = 0; i < pCut->
nLeaves; i++ )
50 if ( tArrival < pCut->ppLeaves[i]->pCutBest->tArrival )
72 for ( i = 0; i < pCut->
nLeaves; i++ )
93 if (
p->fLatchPaths &&
p->nLatches == 0 )
95 printf(
"Delay optimization of latch path is not performed because there is no latches.\n" );
100 if (
p->fLatchPaths )
102 for ( i =
p->nOutputs -
p->nLatches; i < p->nOutputs; i++ )
113 for ( i = 0; i <
p->nOutputs; i++ )
140 if (
p->DelayTarget != -1 )
142 if (
p->fRequiredGlo >
p->DelayTarget +
p->fEpsilon )
145 printf(
"Cannot meet the target required times (%4.2f). Mapping continues anyway.\n",
p->DelayTarget );
147 else if (
p->fRequiredGlo <
p->DelayTarget -
p->fEpsilon )
150 printf(
"Relaxing the required times from (%4.2f) to the target (%4.2f).\n",
p->fRequiredGlo,
p->DelayTarget );
151 p->fRequiredGlo =
p->DelayTarget;
172 for ( i = 0; i <
p->vAnds->nSize; i++ )
175 if (
p->fLatchPaths )
176 for ( i =
p->nOutputs -
p->nLatches; i < p->nOutputs; i++ )
179 for ( i = 0; i <
p->nOutputs; i++ )
216 for ( k = 0; k < vNodes->
nSize; k++ )
218 pNode = vNodes->
pArray[k];
252 for ( i = 0; i <
p->vAnds->nSize; i++ )
254 pNode =
p->vAnds->pArray[i];
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
void Fpga_TimeComputeRequired(Fpga_Man_t *p, float fRequired)
float Fpga_TimeComputeArrivalMax(Fpga_Man_t *p)
float Fpga_TimeCutComputeArrival_rec(Fpga_Man_t *pMan, Fpga_Cut_t *pCut)
void Fpga_TimePropagateArrival(Fpga_Man_t *p)
void Fpga_TimeComputeRequiredGlobal(Fpga_Man_t *p, int fFirstTime)
ABC_NAMESPACE_IMPL_START float Fpga_TimeCutComputeArrival(Fpga_Man_t *pMan, Fpga_Cut_t *pCut)
DECLARATIONS ///.
void Fpga_TimePropagateRequired(Fpga_Man_t *p, Fpga_NodeVec_t *vNodes)
struct Fpga_NodeStruct_t_ Fpga_Node_t
int Fpga_NodeIsConst(Fpga_Node_t *p)
struct Fpga_NodeVecStruct_t_ Fpga_NodeVec_t
struct Fpga_ManStruct_t_ Fpga_Man_t
STRUCTURE DEFINITIONS ///.
struct Fpga_CutStruct_t_ Fpga_Cut_t
int Fpga_NodeIsAnd(Fpga_Node_t *p)
Fpga_Node_t * ppLeaves[FPGA_MAX_LEAVES+1]
float pLutDelays[FPGA_MAX_LUTSIZE+1][FPGA_MAX_LUTSIZE+1]