#include "dauInt.h"#include "misc/util/utilTruth.h"#include "misc/vec/vecMem.h"#include "bool/lucky/lucky.h"#include <math.h>
Go to the source code of this file.
Classes | |
| struct | Abc_TtHieMan_t_ |
| struct | TiedGroup_ |
| struct | Abc_TgMan_t_ |
| struct | Abc_SccCost_t_ |
Macros | |
| #define | TT_MAX_LEVELS 5 |
| #define | CANON_VERIFY |
Typedefs | |
| typedef struct TiedGroup_ | TiedGroup |
| typedef struct Abc_TgMan_t_ | Abc_TgMan_t |
| typedef struct Abc_SccCost_t_ | Abc_SccCost_t |
Functions | |
| void | Abc_TtNormalizeSmallTruth (word *pTruth, int nVars) |
| int | Abc_TtCountOnesInCofsSimple (word *pTruth, int nVars, int *pStore) |
| int | Abc_TtScc (word *pTruth, int nVars) |
| int | Abc_TtCountOnesInCofsFast6_rec (word Truth, int iVar, int nBytes, int *pStore) |
| int | Abc_TtCountOnesInCofsFast_rec (word *pTruth, int iVar, int nWords, int *pStore) |
| int | Abc_TtCountOnesInCofsFast (word *pTruth, int nVars, int *pStore) |
| void | Abc_TtCofactorTest10 (word *pTruth, int nVars, int N) |
| int | Abc_Tt6CofactorPermNaive (word *pTruth, int i, int fSwapOnly) |
| int | Abc_TtCofactorPermNaive (word *pTruth, int i, int nWords, int fSwapOnly) |
| int | Abc_TtCofactorPermConfig (word *pTruth, int i, int nWords, int fSwapOnly, int fNaive) |
| int | Abc_TtCofactorPerm (word *pTruth, int i, int nWords, int fSwapOnly, char *pCanonPerm, unsigned *puCanonPhase, int fNaive) |
| unsigned | Abc_TtCanonicize (word *pTruth, int nVars, char *pCanonPerm) |
| FUNCTION DECLARATIONS ///. | |
| unsigned | Abc_TtCanonicizePerm (word *pTruth, int nVars, char *pCanonPerm) |
| unsigned | Abc_TtCanonicizePhase (word *pTruth, int nVars) |
| Abc_TtHieMan_t * | Abc_TtHieManStart (int nVars, int nLevels) |
| void | Abc_TtHieManStop (Abc_TtHieMan_t *p) |
| int | Abc_TtHieRetrieveOrInsert (Abc_TtHieMan_t *p, int level, word *pTruth, word *pResult) |
| unsigned | Abc_TtCanonicizeHie (Abc_TtHieMan_t *p, word *pTruthInit, int nVars, char *pCanonPerm, int fExact) |
| unsigned | Abc_TtCanonicizeWrap (TtCanonicizeFunc func, Abc_TtHieMan_t *p, word *pTruth, int nVars, char *pCanonPerm, int flag) |
| int | Abc_TgExpendSymmetry (Abc_TgMan_t *pMan, char *pDest) |
| unsigned | Abc_TtCanonicizeAda (Abc_TtHieMan_t *p, word *pTruth, int nVars, char *pCanonPerm, int iThres) |
| unsigned | Abc_TtCanonicizeCA (Abc_TtHieMan_t *p, word *pTruth, int nVars, char *pCanonPerm, int fCA) |
Variables | |
| word | gpVerCopy [1024] |
| #define CANON_VERIFY |
Definition at line 1495 of file dauCanon.c.
| #define TT_MAX_LEVELS 5 |
Function*************************************************************
Synopsis [Hierarchical semi-canonical form computation.]
Description []
SideEffects []
SeeAlso []
Definition at line 1243 of file dauCanon.c.
| typedef struct Abc_SccCost_t_ Abc_SccCost_t |
| typedef struct Abc_TgMan_t_ Abc_TgMan_t |
| typedef struct TiedGroup_ TiedGroup |
Function*************************************************************
Synopsis [Adaptive exact/semi-canonical form computation.]
Description []
SideEffects []
SeeAlso []
|
extern |
Definition at line 1980 of file dauCanon.c.

| int Abc_Tt6CofactorPermNaive | ( | word * | pTruth, |
| int | i, | ||
| int | fSwapOnly ) |
Function*************************************************************
Synopsis [Naive evaluation.]
Description []
SideEffects []
SeeAlso []
Definition at line 740 of file dauCanon.c.

| unsigned Abc_TtCanonicize | ( | word * | pTruth, |
| int | nVars, | ||
| char * | pCanonPerm ) |
FUNCTION DECLARATIONS ///.
Function*************************************************************
Synopsis [Semi-canonical form computation.]
Description []
SideEffects []
SeeAlso []
Definition at line 1036 of file dauCanon.c.


| unsigned Abc_TtCanonicizeAda | ( | Abc_TtHieMan_t * | p, |
| word * | pTruth, | ||
| int | nVars, | ||
| char * | pCanonPerm, | ||
| int | iThres ) |
Function*************************************************************
Synopsis [Adaptive heuristic/exact canonical form computation.]
Description []
SideEffects []
SeeAlso []
Definition at line 2573 of file dauCanon.c.


| unsigned Abc_TtCanonicizeCA | ( | Abc_TtHieMan_t * | p, |
| word * | pTruth, | ||
| int | nVars, | ||
| char * | pCanonPerm, | ||
| int | fCA ) |
Definition at line 2637 of file dauCanon.c.


| unsigned Abc_TtCanonicizeHie | ( | Abc_TtHieMan_t * | p, |
| word * | pTruthInit, | ||
| int | nVars, | ||
| char * | pCanonPerm, | ||
| int | fExact ) |
Definition at line 1318 of file dauCanon.c.


| unsigned Abc_TtCanonicizePerm | ( | word * | pTruth, |
| int | nVars, | ||
| char * | pCanonPerm ) |
Definition at line 1085 of file dauCanon.c.


| unsigned Abc_TtCanonicizePhase | ( | word * | pTruth, |
| int | nVars ) |
Definition at line 1187 of file dauCanon.c.

| unsigned Abc_TtCanonicizeWrap | ( | TtCanonicizeFunc | func, |
| Abc_TtHieMan_t * | p, | ||
| word * | pTruth, | ||
| int | nVars, | ||
| char * | pCanonPerm, | ||
| int | flag ) |
Definition at line 1530 of file dauCanon.c.


| int Abc_TtCofactorPerm | ( | word * | pTruth, |
| int | i, | ||
| int | nWords, | ||
| int | fSwapOnly, | ||
| char * | pCanonPerm, | ||
| unsigned * | puCanonPhase, | ||
| int | fNaive ) |
Definition at line 978 of file dauCanon.c.


| int Abc_TtCofactorPermConfig | ( | word * | pTruth, |
| int | i, | ||
| int | nWords, | ||
| int | fSwapOnly, | ||
| int | fNaive ) |
Function*************************************************************
Synopsis [Smart evaluation.]
Description []
SideEffects []
SeeAlso []
Definition at line 880 of file dauCanon.c.


| int Abc_TtCofactorPermNaive | ( | word * | pTruth, |
| int | i, | ||
| int | nWords, | ||
| int | fSwapOnly ) |
Definition at line 800 of file dauCanon.c.

| void Abc_TtCofactorTest10 | ( | word * | pTruth, |
| int | nVars, | ||
| int | N ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 710 of file dauCanon.c.
| int Abc_TtCountOnesInCofsFast | ( | word * | pTruth, |
| int | nVars, | ||
| int * | pStore ) |
Definition at line 565 of file dauCanon.c.

| int Abc_TtCountOnesInCofsFast6_rec | ( | word | Truth, |
| int | iVar, | ||
| int | nBytes, | ||
| int * | pStore ) |
Function*************************************************************
Synopsis [Minterm counting in all cofactors.]
Description []
SideEffects []
SeeAlso []
Definition at line 499 of file dauCanon.c.


| int Abc_TtCountOnesInCofsFast_rec | ( | word * | pTruth, |
| int | iVar, | ||
| int | nWords, | ||
| int * | pStore ) |
Definition at line 535 of file dauCanon.c.


| int Abc_TtCountOnesInCofsSimple | ( | word * | pTruth, |
| int | nVars, | ||
| int * | pStore ) |
Definition at line 370 of file dauCanon.c.

| Abc_TtHieMan_t * Abc_TtHieManStart | ( | int | nVars, |
| int | nLevels ) |
Definition at line 1255 of file dauCanon.c.

| void Abc_TtHieManStop | ( | Abc_TtHieMan_t * | p | ) |
| int Abc_TtHieRetrieveOrInsert | ( | Abc_TtHieMan_t * | p, |
| int | level, | ||
| word * | pTruth, | ||
| word * | pResult ) |
Definition at line 1286 of file dauCanon.c.

| void Abc_TtNormalizeSmallTruth | ( | word * | pTruth, |
| int | nVars ) |
Function*************************************************************
Synopsis [Minterm counting in all cofactors.]
Description []
SideEffects []
SeeAlso []
Definition at line 300 of file dauCanon.c.

| int Abc_TtScc | ( | word * | pTruth, |
| int | nVars ) |
Definition at line 393 of file dauCanon.c.

| word gpVerCopy[1024] |
Definition at line 1550 of file dauCanon.c.