115 char * pFileName =
"truths.txt";
116 FILE * pFile = fopen( pFileName,
"wb" );
119 printf(
"Dumped %d %d-var truth tables into file \"%s\" (%.2f MB).\n",
168 printf(
"K = %d. C = %d. Cand = %d. XOR = %d. MUX = %d. Choice = %d. CutMin = %d. Truth = %d. DSD = %d.\n",
175 printf(
"Memory usage: Mig = %.2f MB Map = %.2f MB Cut = %.2f MB Total = %.2f MB. ",
static int Mig_ManObjNum(Mig_Man_t *p)
static int Mmr_StepMemory(Mmr_Step_t *p)
static void Vec_PtrGrow(Vec_Ptr_t *p, int nCapMin)
static void Vec_MemHashAlloc(Vec_Mem_t *p, int nTableSize)
static int Abc_Truth6WordNum(int nVars)
void Mpm_ManPrintStatsInit(Mpm_Man_t *p)
static void Abc_TtUnit(word *pOut, int nWords)
static Mmr_Step_t * Mmr_StepStart(int nPageBase, int nWordBase)
static int Mig_ManCandNum(Mig_Man_t *p)
static int Vec_MemEntryNum(Vec_Mem_t *p)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
static abctime Abc_Clock()
ABC_NAMESPACE_IMPL_START Mpm_Man_t * Mpm_ManStart(Mig_Man_t *pMig, Mpm_Par_t *pPars)
DECLARATIONS ///.
void Mig_ManSetRefs(Mig_Man_t *p)
#define ABC_PRTP(a, t, T)
static void Abc_PrintTime(int level, const char *pStr, abctime time)
static Vec_Mem_t * Vec_MemAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Mpm_ManPrintStats(Mpm_Man_t *p)
int Mig_ManXorNum(Mig_Man_t *p)
unsigned __int64 word
DECLARATIONS ///.
#define ABC_NAMESPACE_IMPL_END
static void Vec_WrdFree(Vec_Wrd_t *p)
static void Vec_IntFill(Vec_Int_t *p, int nSize, int Fill)
void Mpm_ManPrintDsdStats(Mpm_Man_t *p)
word Truth[(1<< ((MPM_VAR_MAX)-6))]
static void Hsh_IntManStop(Hsh_IntMan_t *p)
static void Vec_MemFree(Vec_Mem_t *p)
static void Abc_Print(int level, const char *format,...)
#define ABC_NAMESPACE_IMPL_START
#define MPM_CUT_MAX
INCLUDES ///.
static void Vec_MemDump(FILE *pFile, Vec_Mem_t *pVec)
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Mpm_ManPrecomputePerms(Mpm_Man_t *p)
static int Abc_Base2Log(unsigned n)
void Mpm_ManStop(Mpm_Man_t *p)
#define ABC_CALLOC(type, num)
int Mig_ManMuxNum(Mig_Man_t *p)
static int Vec_MemHashInsert(Vec_Mem_t *p, word *pEntry)
#define ABC_INFINITY
MACRO DEFINITIONS ///.
static void Vec_WecFreeP(Vec_Wec_t **p)
static void Vec_MemHashFree(Vec_Mem_t *p)
static void Mmr_StepStop(Mmr_Step_t *p)
Mpm_Uni_t pCutUnits[MPM_CUT_MAX+1]
static void Vec_IntFree(Vec_Int_t *p)
static int Mpm_CutWordNum(int nLeaves)
static void Vec_PtrFree(Vec_Ptr_t *p)