71 printf(
"Skipping computation of truth tables for sequential cuts with more than 5 inputs.\n" );
81 printf(
"Skipping computation of truth table for more than %d inputs.\n", 14 );
162 printf(
"Cut computation statistics:\n" );
164 printf(
"Peak cuts = %8d.\n", p->
nCutsPeak );
165 printf(
"Total allocated = %8d.\n", p->
nCutsAlloc );
166 printf(
"Total deallocated = %8d.\n", p->
nCutsDealloc );
167 printf(
"Cuts filtered = %8d.\n", p->
nCutsFilter );
170 printf(
"The cut size = %8d bytes.\n", p->
EntrySize );
172 printf(
"Total nodes = %8d.\n", p->
nNodes );
175 printf(
"DAG nodes = %8d.\n", p->
nNodesDag );
180 printf(
"Mapping delay = %8d.\n", p->
nDelayMin );
207 pTable = fopen(
"cut_stats.txt",
"a+" );
208 fprintf( pTable,
"%-20s ", pFileName );
209 fprintf( pTable,
"%8d ", p->
nNodes );
213 fprintf( pTable,
"%6.2f ", (
float)(TimeTotal)/(
float)(CLOCKS_PER_SEC) );
214 fprintf( pTable,
"\n" );
static Vec_Ptr_t * Vec_PtrStart(int nSize)
ABC_NAMESPACE_IMPL_START void Npn_StartTruth8(uint8 uTruths[][32])
DECLARATIONS ///.
void Cut_ManSetFanoutCounts(Cut_Man_t *p, Vec_Int_t *vFanCounts)
void Cut_ManStop(Cut_Man_t *p)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static void Vec_PtrFill(Vec_Ptr_t *p, int nSize, void *Entry)
static int Cut_TruthWords(int nVarsMax)
void Cut_ManPrintStatsToFile(Cut_Man_t *p, char *pFileName, abctime TimeTotal)
#define ABC_ALLOC(type, num)
Cut_Params_t * Cut_ManReadParams(Cut_Man_t *p)
struct Cut_CutStruct_t_ Cut_Cut_t
static Vec_Int_t * Vec_IntStart(int nSize)
Extra_MmFixed_t * pMmCuts
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
Cut_Man_t * Cut_ManStart(Cut_Params_t *pParams)
FUNCTION DEFINITIONS ///.
#define ABC_NAMESPACE_IMPL_END
void Cut_ManPrintStats(Cut_Man_t *p)
Vec_Int_t * Cut_ManReadNodeAttrs(Cut_Man_t *p)
void Cut_CutRecycle(Cut_Man_t *p, Cut_Cut_t *pCut)
#define ABC_NAMESPACE_IMPL_START
void Cut_ManIncrementDagNodes(Cut_Man_t *p)
int Cut_ManReadVarsMax(Cut_Man_t *p)
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static void Vec_IntFree(Vec_Int_t *p)
static void Vec_PtrFree(Vec_Ptr_t *p)
void Cut_ManSetNodeAttrs(Cut_Man_t *p, Vec_Int_t *vNodeAttrs)