69 for ( i = 0; i < pCutOld->
nLeaves; i++ )
105 printf(
"CUT: Delay = %4.2f. Area = %4.2f. Nodes = %d -> {",
107 for ( i = 0; i < pCut->
nLeaves; i++ )
166 if ( pSetAll == NULL )
171 for ( pTemp = pSets; pTemp; pTemp = pTemp->
pNext )
175 pPrev->
pNext = pSetAll;
193 for ( pTemp = pSetList, pNext = pTemp? pTemp->
pNext : NULL;
195 pTemp = pNext, pNext = pNext? pNext->
pNext : NULL )
196 if ( pTemp != pSave )
215 for ( i = 0, pTemp = pSets; pTemp; pTemp = pTemp->
pNext, i++ );
236 for ( i = 0; i < pCut->
nLeaves; i++ )
238 vFanouts = pCut->
ppLeaves[i]->vFanouts;
239 for ( k = 0; k < vFanouts->
nSize; k++ )
240 if ( vFanouts->
pArray[k] == pNode )
243 for ( k++; k < vFanouts->
nSize; k++ )
263 for ( i = 0; i < pCut->
nLeaves; i++ )
342 float aResult, aResult2;
364 float aResult, aResult2;
401 if ( pNodeChild->
nRefs++ > 0 )
438 if ( --pNodeChild->
nRefs > 0 )
float Fpga_CutRef(Fpga_Man_t *pMan, Fpga_Node_t *pNode, Fpga_Cut_t *pCut, int fFanouts)
void Fpga_CutInsertFanouts(Fpga_Man_t *p, Fpga_Node_t *pNode, Fpga_Cut_t *pCut)
void Fpga_CutFree(Fpga_Man_t *p, Fpga_Cut_t *pCut)
float pLutDelays[FPGA_MAX_LUTSIZE+1][FPGA_MAX_LUTSIZE+1]
Fpga_Cut_t * Fpga_CutListAppend(Fpga_Cut_t *pSetAll, Fpga_Cut_t *pSets)
void Fpga_CutGetParameters(Fpga_Man_t *pMan, Fpga_Cut_t *pCut)
float Fpga_CutGetAreaRefed(Fpga_Man_t *pMan, Fpga_Cut_t *pCut)
void Fpga_CutPrint(Fpga_Man_t *p, Fpga_Node_t *pRoot, Fpga_Cut_t *pCut)
void Fpga_MappingSetUsedCuts(Fpga_Man_t *pMan)
Fpga_Cut_t * Fpga_CutDup(Fpga_Man_t *p, Fpga_Cut_t *pCutOld)
float pLutAreas[FPGA_MAX_LUTSIZE+1]
static int Fpga_FloatEqual(Fpga_Man_t *p, float Arg1, float Arg2)
void Fpga_CutRemoveFanouts(Fpga_Man_t *p, Fpga_Node_t *pNode, Fpga_Cut_t *pCut)
for(p=first;p->value< newval;p=p->next)
Fpga_Node_t * ppLeaves[FPGA_MAX_LEAVES+1]
Fpga_NodeVec_t * vNodesAll
float Fpga_CutGetRootArea(Fpga_Man_t *p, Fpga_Cut_t *pCut)
ABC_NAMESPACE_IMPL_START Fpga_Cut_t * Fpga_CutAlloc(Fpga_Man_t *p)
DECLARATIONS ///.
#define ABC_NAMESPACE_IMPL_END
float Fpga_CutGetAreaDerefed(Fpga_Man_t *pMan, Fpga_Cut_t *pCut)
#define ABC_NAMESPACE_IMPL_START
float Fpga_CutGetAreaFlow(Fpga_Man_t *pMan, Fpga_Cut_t *pCut)
int Fpga_NodeIsAnd(Fpga_Node_t *p)
int Fpga_CutListCount(Fpga_Cut_t *pSets)
STRUCTURE DEFINITIONS ///.
float Fpga_CutDeref(Fpga_Man_t *pMan, Fpga_Node_t *pNode, Fpga_Cut_t *pCut, int fFanouts)
Fpga_Cut_t * Fpga_CutCreateSimple(Fpga_Man_t *p, Fpga_Node_t *pNode)
void Fpga_NodeVecPush(Fpga_NodeVec_t *p, Fpga_Node_t *Entry)
void Fpga_CutListRecycle(Fpga_Man_t *p, Fpga_Cut_t *pSetList, Fpga_Cut_t *pSave)