55 clock_t clk, clkTotal = clock();
89 ABC_PRT(
"Total time", clock() - clkTotal );
111 int fShowSwitching = 0;
112 int fRecoverAreaFlow = 1;
113 int fRecoverArea = 1;
114 float aAreaTotalCur, aAreaTotalCur2;
126 printf(
"Iteration %dD : Area = %8.1f ", Iter++, aAreaTotalCur );
127 if ( fShowSwitching )
138 if ( fRecoverAreaFlow )
152 printf(
"Iteration %dF : Area = %8.1f ", Iter++, aAreaTotalCur );
153 if ( fShowSwitching )
157 ABC_PRT(
"Time", clock() - clk );
163 assert( aAreaTotalCur == aAreaTotalCur2 );
179 printf(
"Iteration %d%s : Area = %8.1f ", Iter++, (p->
fSwitching?
"S":
"A"), aAreaTotalCur );
180 if ( fShowSwitching )
184 ABC_PRT(
"Time", clock() - clk );
struct Fpga_CutStruct_t_ Fpga_Cut_t
int Fpga_MappingMatchesSwitch(Fpga_Man_t *p)
float Fpga_MappingSetRefsAndArea(Fpga_Man_t *pMan)
float Fpga_MappingAreaTrav(Fpga_Man_t *pMan)
void Fpga_TimeComputeRequiredGlobal(Fpga_Man_t *p, int fFirstTime)
#define FPGA_MAX_LEAVES
INCLUDES ///.
int Fpga_MappingMatchesArea(Fpga_Man_t *p)
Fpga_NodeVec_t * vMapping
int Fpga_CutCountAll(Fpga_Man_t *pMan)
int Fpga_MappingMatches(Fpga_Man_t *p, int fDelayOriented)
FUNCTION DEFINITIONS ///.
void Fpga_MappingSetChoiceLevels(Fpga_Man_t *pMan)
Fpga_NodeVec_t * Fpga_MappingDfs(Fpga_Man_t *pMan, int fCollectEquiv)
FUNCTION DEFINITIONS ///.
#define ABC_NAMESPACE_IMPL_END
void Fpga_ManReportChoices(Fpga_Man_t *pMan)
static ABC_NAMESPACE_IMPL_START int Fpga_MappingPostProcess(Fpga_Man_t *p)
DECLARATIONS ///.
#define ABC_NAMESPACE_IMPL_START
STRUCTURE DEFINITIONS ///.
int Fpga_Mapping(Fpga_Man_t *p)
FUNCTION DEFINITIONS ///.
clock_t s_MappingTime
DECLARATIONS ///.
float Fpga_TimeComputeArrivalMax(Fpga_Man_t *p)
void Fpga_MappingCuts(Fpga_Man_t *p)
FUNCTION DEFINITIONS ///.
float Fpga_MappingGetSwitching(Fpga_Man_t *pMan, Fpga_NodeVec_t *vMapping)