29 static inline unsigned Mio_CubeVar0(
int v ) {
return (1<< (v<<1) ); }
30 static inline unsigned Mio_CubeVar1(
int v ) {
return (1<<((v<<1)+1)); }
33 static inline int Mio_CubeEmpty(
unsigned x ) {
return (x & (x>>1) & 0x55555555) != 0; }
34 static inline unsigned Mio_CubeAnd(
unsigned x,
unsigned y ) {
return x | y; }
109 unsigned EntryP, EntryQ;
229 for ( k = 0; k < nVars; k++ )
261 int i, Index0, Index1, fCompl0, fCompl1;
277 for ( i = 0; i < nVars; i++ )
287 for ( i = 0; i < nVars; i++ )
char * Mio_LibDeriveSop(int nVars, Vec_Int_t *vExpr, Vec_Str_t *vStr)
static unsigned Mio_CubeVar1(int v)
static int Mio_CubeContains(unsigned x, unsigned y)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
static int Exp_IsConst0(Vec_Int_t *p)
Vec_Int_t * Mio_SopConst0()
typedefABC_NAMESPACE_HEADER_START struct Vec_Vec_t_ Vec_Vec_t
INCLUDES ///.
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static char * Vec_StrArray(Vec_Str_t *p)
static void Vec_StrClear(Vec_Str_t *p)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
static int Mio_CubeHasVar1(unsigned x, int v)
static void Vec_StrPush(Vec_Str_t *p, char Entry)
static void Vec_VecFree(Vec_Vec_t *p)
Vec_Int_t * Mio_SopVar0(int i)
static void Vec_IntWriteEntry(Vec_Int_t *p, int i, int Entry)
static void Vec_StrWriteEntry(Vec_Str_t *p, int i, char Entry)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static void * Vec_PtrEntryLast(Vec_Ptr_t *p)
char * Mio_SopDeriveFromArray(Vec_Int_t *vSop, int nVars, Vec_Str_t *vStr, int fPolarity)
static ABC_NAMESPACE_IMPL_START unsigned Mio_CubeVar0(int v)
DECLARATIONS ///.
static int Vec_IntEntry(Vec_Int_t *p, int i)
#define ABC_NAMESPACE_IMPL_END
static void Vec_IntPush(Vec_Int_t *p, int Entry)
void Mio_SopPushSCC(Vec_Int_t *p, unsigned c)
FUNCTION DEFINITIONS ///.
Vec_Int_t * Mio_SopConst1()
Vec_Int_t * Mio_SopCoverOr(Vec_Int_t *p, Vec_Int_t *q)
static int Exp_NodeNum(Vec_Int_t *p)
#define ABC_NAMESPACE_IMPL_START
static void * Vec_PtrEntry(Vec_Ptr_t *p, int i)
static int Vec_IntEntryLast(Vec_Int_t *p)
static int Vec_IntSize(Vec_Int_t *p)
static int Exp_IsLit(Vec_Int_t *p)
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static void Vec_IntShrink(Vec_Int_t *p, int nSizeNew)
Vec_Int_t * Mio_SopCoverAnd(Vec_Int_t *p, Vec_Int_t *q)
static int Exp_IsConst1(Vec_Int_t *p)
static void Vec_StrPrintStr(Vec_Str_t *p, const char *pStr)
static int Mio_CubeEmpty(unsigned x)
Vec_Int_t * Mio_SopVar1(int i)
#define Vec_IntForEachEntry(vVec, Entry, i)
MACRO DEFINITIONS ///.
static int Mio_CubeHasVar0(unsigned x, int v)
static unsigned Mio_CubeAnd(unsigned x, unsigned y)