47 static int s_FPrimes[128] = {
48 1009, 1049, 1093, 1151, 1201, 1249, 1297, 1361, 1427, 1459,
49 1499, 1559, 1607, 1657, 1709, 1759, 1823, 1877, 1933, 1997,
50 2039, 2089, 2141, 2213, 2269, 2311, 2371, 2411, 2467, 2543,
51 2609, 2663, 2699, 2741, 2797, 2851, 2909, 2969, 3037, 3089,
52 3169, 3221, 3299, 3331, 3389, 3461, 3517, 3557, 3613, 3671,
53 3719, 3779, 3847, 3907, 3943, 4013, 4073, 4129, 4201, 4243,
54 4289, 4363, 4441, 4493, 4549, 4621, 4663, 4729, 4793, 4871,
55 4933, 4973, 5021, 5087, 5153, 5227, 5281, 5351, 5417, 5471,
56 5519, 5573, 5651, 5693, 5749, 5821, 5861, 5923, 6011, 6073,
57 6131, 6199, 6257, 6301, 6353, 6397, 6481, 6563, 6619, 6689,
58 6737, 6803, 6863, 6917, 6977, 7027, 7109, 7187, 7237, 7309,
59 7393, 7477, 7523, 7561, 7607, 7681, 7727, 7817, 7877, 7933,
60 8011, 8039, 8059, 8081, 8093, 8111, 8123, 8147
66 for ( i = 0; i < pCut->
nFanins; i++ )
67 uHash ^= pCut->
pFanins[i] * s_FPrimes[i];
86 for ( i = 0; i < p->nTableSize; i++ )
87 for ( pEnt = p->pTable[i]; pEnt; pEnt = pEnt->
pNext )
106 pCut->
pNext = p->pTable[iEntry];
107 p->pTable[iEntry] = pCut;
125 unsigned * pTruthNew, * pTruthOld;
127 for ( pEnt = p->pTable[iEntry]; pEnt; pEnt = pEnt->
pNext )
137 if ( (pTruthOld[0] & 1) == (pTruthNew[0] & 1) )
typedefABC_NAMESPACE_HEADER_START struct Csw_Man_t_ Csw_Man_t
INCLUDES ///.
static Aig_Obj_t * Aig_Regular(Aig_Obj_t *p)
static Aig_Obj_t * Aig_ManObj(Aig_Man_t *p, int i)
static int Kit_TruthIsEqual(unsigned *pIn0, unsigned *pIn1, int nVars)
static Aig_Obj_t * Aig_Not(Aig_Obj_t *p)
Aig_Obj_t * Csw_TableCutLookup(Csw_Man_t *p, Csw_Cut_t *pCut)
static unsigned * Csw_CutTruth(Csw_Cut_t *pCut)
ABC_NAMESPACE_IMPL_START unsigned Csw_CutHash(Csw_Cut_t *pCut)
DECLARATIONS ///.
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_START
void Csw_TableCutInsert(Csw_Man_t *p, Csw_Cut_t *pCut)
int Csw_TableCountCuts(Csw_Man_t *p)
static int Kit_TruthIsOpposite(unsigned *pIn0, unsigned *pIn1, int nVars)