55 int nOutputs, nInputs, i;
84 for ( i = 0; i < nInputs; i++ )
121 DdNode * bSpace1, * bSpace2, * bCanVars, * bReduced, * zEquations;
123 int nSupp, SigCounter, o;
128 int nAutoSymsMaxSupp;
136 nAutoSymsMaxSupp = 0;
141 for ( o = 0; o < nOutputs; o++ )
152 printf(
"Output #%3d: Inputs = %2d. AutoK = %2d.\n", o, nSupp, nAutos );
158 if ( nAutoSymsMax < nAutos )
160 nAutoSymsMax = nAutos;
161 nAutoSymsMaxSupp = nSupp;
164 if ( nSuppSizeMax < nSupp )
165 nSuppSizeMax = nSupp;
179 if ( bSpace1 != bSpace2 )
180 printf(
"Spaces are NOT EQUAL!\n" );
191 printf(
"The cumulative statistics for all outputs:\n" );
192 printf(
"Ins=%3d ", nInputs );
193 printf(
"InMax=%3d ", nSuppSizeMax );
194 printf(
"Outs=%3d ", nOutputs );
195 printf(
"Auto=%3d ", nAutoSymOuts );
196 printf(
"SumK=%3d ", nAutoSyms );
197 printf(
"KMax=%2d ", nAutoSymsMax );
198 printf(
"Supp=%3d ", nAutoSymsMaxSupp );
199 printf(
"Time=%4.2f ", (
float)(
Abc_Clock() - clk)/(
float)(CLOCKS_PER_SEC) );
216 DdNode * bSpace1, * bCanVars, * bReduced, * zEquations;
218 int nSupp, SigCounter;
231 printf(
"Output #%3d: Inputs = %2d. AutoK = %2d.\n", Output, nSupp, nAutos );
void Cudd_RecursiveDerefZdd(DdManager *table, DdNode *n)
DdNode * Cudd_bddNewVar(DdManager *dd)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
void Cudd_RecursiveDeref(DdManager *table, DdNode *n)
double Cudd_CountMinterm(DdManager *manager, DdNode *node, int nvars)
ABC_DLL char ** Abc_NtkCollectCioNames(Abc_Ntk_t *pNtk, int fCollectCos)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
static int Abc_NtkCiNum(Abc_Ntk_t *pNtk)
#define Abc_NtkForEachCo(pNtk, pCo, i)
static abctime Abc_Clock()
static int Abc_NtkCoNum(Abc_Ntk_t *pNtk)
int Cudd_ReadSize(DdManager *dd)
static void * Abc_ObjGlobalBdd(Abc_Obj_t *pObj)
ABC_DLL void * Abc_NtkFreeGlobalBdds(Abc_Ntk_t *pNtk, int fFreeMan)
#define ABC_NAMESPACE_IMPL_END
static ABC_NAMESPACE_IMPL_START void Abc_NtkAutoPrintAll(DdManager *dd, int nInputs, DdNode *pbOutputs[], int nOutputs, char *pInputNames[], char *pOutputNames[], int fNaive)
DECLARATIONS ///.
static void Abc_NtkAutoPrintOne(DdManager *dd, int nInputs, DdNode *pbOutputs[], int Output, char *pInputNames[], char *pOutputNames[], int fNaive)
#define ABC_NAMESPACE_IMPL_START
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static void * Abc_NtkGlobalBddMan(Abc_Ntk_t *pNtk)
unsigned int Cudd_ReadKeys(DdManager *dd)
void Abc_NtkAutoPrint(Abc_Ntk_t *pNtk, int Output, int fNaive, int fVerbose)
FUNCTION DEFINITIONS ///.
int Cudd_zddVarsFromBddVars(DdManager *dd, int multiplicity)
ABC_DLL void * Abc_NtkBuildGlobalBdds(Abc_Ntk_t *pNtk, int fBddSizeMax, int fDropInternal, int fReorder, int fVerbose)
unsigned int Cudd_ReadDead(DdManager *dd)
int Cudd_SupportSize(DdManager *dd, DdNode *f)
static void ** Vec_PtrArray(Vec_Ptr_t *p)
static void Vec_PtrFree(Vec_Ptr_t *p)