
Go to the source code of this file.
Classes | |
| struct | Dau_Dsd_t_ |
Typedefs | |
| typedef struct Dau_Dsd_t_ | Dau_Dsd_t |
Functions | |
| int * | Dau_DsdComputeMatches (char *p) |
| int | Dau_DsdFindVarNum (char *pDsd) |
| void | Dau_DsdGenRandPerm (int *pPerm, int nVars) |
| void | Dau_DsdPermute (char *pDsd) |
| char * | Dau_DsdNormalizeCopy (char *pDest, char *pSour, int *pMarks, int i) |
| int | Dau_DsdNormalizeCompare (char *pStr, int *pMarks, int i, int j) |
| int * | Dau_DsdNormalizePerm (char *pStr, int *pMarks, int nMarks) |
| void | Dau_DsdNormalize_rec (char *pStr, char **p, int *pMatches) |
| void | Dau_DsdNormalize (char *pDsd) |
| int | Dau_DsdCountAnds_rec (char *pStr, char **p, int *pMatches) |
| int | Dau_DsdCountAnds (char *pDsd) |
| word | Dau_Dsd6TruthCompose_rec (word Func, word *pFanins, int nVars) |
| word | Dau_Dsd6ToTruth_rec (char *pStr, char **p, int *pMatches, word *pTruths) |
| word | Dau_Dsd6ToTruth (char *p) |
| void | Dau_DsdTruth6Compose_rec (word Func, word pFanins[DAU_MAX_VAR][DAU_MAX_WORD], word *pRes, int nVars, int nWordsR) |
| void | Dau_DsdTruthCompose_rec (word *pFunc, word pFanins[DAU_MAX_VAR][DAU_MAX_WORD], word *pRes, int nVars, int nWordsR) |
| void | Dau_DsdToTruth_rec (char *pStr, char **p, int *pMatches, word **pTtElems, word *pRes, int nVars) |
| word * | Dau_DsdToTruth (char *p, int nVars) |
| void | Dau_DsdTest2 () |
| int | Dau_DsdPerform_rec (word t, char *pBuffer, int Pos, int *pVars, int nVars) |
| char * | Dau_DsdPerform (word t) |
| void | Dau_DsdTest3 () |
| int | Dau_DsdCheck1Step (void *p, word *pTruth, int nVarsInit, int *pVarLevels) |
| int | Dau_DsdLevelVar (void *pMan, int iVar) |
| int | Dau_Dsd6DecomposeSingleVar (Dau_Dsd_t *p, word *pTruth, int *pVars, int nVars) |
| int | Dau_Dsd6DecomposeDoubleVars (Dau_Dsd_t *p, word *pTruth, int *pVars, int nVars) |
| int | Dau_Dsd6DecomposeTripleVars (Dau_Dsd_t *p, word *pTruth, int *pVars, int nVars) |
| int | Dau_Dsd6DecomposeInternal (Dau_Dsd_t *p, word *pTruth, int *pVars, int nVars) |
| int | Dau_DsdDecomposeSingleVar (Dau_Dsd_t *p, word *pTruth, int *pVars, int nVars) |
| int | Dau_DsdDecomposeDoubleVars (Dau_Dsd_t *p, word *pTruth, int *pVars, int nVars) |
| int | Dau_DsdDecomposeTripleVars (Dau_Dsd_t *p, word *pTruth, int *pVars, int nVars) |
| int | Dau_DsdDecomposeInternal (Dau_Dsd_t *p, word *pTruth, int *pVars, int nVars) |
| int | Dau_DsdMinBase (word *pTruth, int nVars, int *pVarsNew) |
| int | Dau_DsdDecomposeInt (Dau_Dsd_t *p, word *pTruth, int nVarsInit) |
| int | Dau_DsdDecompose (word *pTruth, int nVarsInit, int fSplitPrime, int fWriteTruth, char *pRes) |
| int | Dau_DsdDecomposeLevel (word *pTruth, int nVarsInit, int fSplitPrime, int fWriteTruth, char *pRes, int *pVarLevels) |
| void | Dau_DsdPrintFromTruthFile (FILE *pFile, word *pTruth, int nVarsInit) |
| void | Dau_DsdPrintFromTruth (word *pTruth, int nVarsInit) |
| void | Dau_DsdPrintFromTruth2 (word *pTruth, int nVarsInit) |
| void | Dau_DsdTest44 () |
| void | Dau_DsdTest888 () |
| void | Dau_DsdTest555 () |
| typedef struct Dau_Dsd_t_ Dau_Dsd_t |
Definition at line 1320 of file dauDsd.c.

Definition at line 1461 of file dauDsd.c.


Definition at line 1191 of file dauDsd.c.

Definition at line 1419 of file dauDsd.c.


| word Dau_Dsd6ToTruth | ( | char * | p | ) |
Definition at line 445 of file dauDsd.c.


Definition at line 353 of file dauDsd.c.


Function*************************************************************
Synopsis [Computes truth table for the DSD formula.]
Description []
SideEffects []
SeeAlso []
Definition at line 334 of file dauDsd.c.


| int Dau_DsdCheck1Step | ( | void * | p, |
| word * | pTruth, | ||
| int | nVarsInit, | ||
| int * | pVarLevels ) |
Function*************************************************************
Synopsis [Find the best cofactoring variable.]
Description [Return -2 if non-DSD; -1 if full DSD; otherwise, returns cofactoring variables i (i >= 0).]
SideEffects []
SeeAlso []
Definition at line 893 of file dauDsd.c.


| int * Dau_DsdComputeMatches | ( | char * | p | ) |
Function*************************************************************
Synopsis [DSD formula manipulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 80 of file dauDsd.c.

| int Dau_DsdCountAnds | ( | char * | pDsd | ) |
Definition at line 316 of file dauDsd.c.


| int Dau_DsdCountAnds_rec | ( | char * | pStr, |
| char ** | p, | ||
| int * | pMatches ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 279 of file dauDsd.c.


| int Dau_DsdDecompose | ( | word * | pTruth, |
| int | nVarsInit, | ||
| int | fSplitPrime, | ||
| int | fWriteTruth, | ||
| char * | pRes ) |
Definition at line 1912 of file dauDsd.c.


Definition at line 1697 of file dauDsd.c.

Definition at line 1897 of file dauDsd.c.


Definition at line 1854 of file dauDsd.c.


| int Dau_DsdDecomposeLevel | ( | word * | pTruth, |
| int | nVarsInit, | ||
| int | fSplitPrime, | ||
| int | fWriteTruth, | ||
| char * | pRes, | ||
| int * | pVarLevels ) |
Definition at line 1936 of file dauDsd.c.


Definition at line 1550 of file dauDsd.c.

Definition at line 1812 of file dauDsd.c.


| int Dau_DsdFindVarNum | ( | char * | pDsd | ) |
Function*************************************************************
Synopsis [Generate random permutation.]
Description []
SideEffects []
SeeAlso []
Definition at line 109 of file dauDsd.c.

| void Dau_DsdGenRandPerm | ( | int * | pPerm, |
| int | nVars ) |
| int Dau_DsdLevelVar | ( | void * | pMan, |
| int | iVar ) |
| int Dau_DsdMinBase | ( | word * | pTruth, |
| int | nVars, | ||
| int * | pVarsNew ) |
Function*************************************************************
Synopsis [Fast DSD for truth tables.]
Description []
SideEffects []
SeeAlso []
Definition at line 1883 of file dauDsd.c.

| void Dau_DsdNormalize | ( | char * | pDsd | ) |
Definition at line 260 of file dauDsd.c.


| void Dau_DsdNormalize_rec | ( | char * | pStr, |
| char ** | p, | ||
| int * | pMatches ) |
Definition at line 205 of file dauDsd.c.


| int Dau_DsdNormalizeCompare | ( | char * | pStr, |
| int * | pMarks, | ||
| int | i, | ||
| int | j ) |
Definition at line 158 of file dauDsd.c.

| char * Dau_DsdNormalizeCopy | ( | char * | pDest, |
| char * | pSour, | ||
| int * | pMarks, | ||
| int | i ) |
Function*************************************************************
Synopsis [Normalize the ordering of components.]
Description []
SideEffects []
SeeAlso []
Definition at line 151 of file dauDsd.c.

| int * Dau_DsdNormalizePerm | ( | char * | pStr, |
| int * | pMarks, | ||
| int | nMarks ) |
Definition at line 189 of file dauDsd.c.


| char * Dau_DsdPerform | ( | word | t | ) |
Definition at line 828 of file dauDsd.c.


| int Dau_DsdPerform_rec | ( | word | t, |
| char * | pBuffer, | ||
| int | Pos, | ||
| int * | pVars, | ||
| int | nVars ) |
Definition at line 673 of file dauDsd.c.


| void Dau_DsdPermute | ( | char * | pDsd | ) |
Definition at line 129 of file dauDsd.c.

| void Dau_DsdPrintFromTruth | ( | word * | pTruth, |
| int | nVarsInit ) |
Definition at line 1968 of file dauDsd.c.


| void Dau_DsdPrintFromTruth2 | ( | word * | pTruth, |
| int | nVarsInit ) |
Definition at line 1976 of file dauDsd.c.


| void Dau_DsdPrintFromTruthFile | ( | FILE * | pFile, |
| word * | pTruth, | ||
| int | nVarsInit ) |
Definition at line 1960 of file dauDsd.c.

| void Dau_DsdTest2 | ( | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 637 of file dauDsd.c.
| void Dau_DsdTest3 | ( | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 858 of file dauDsd.c.

| void Dau_DsdTest44 | ( | ) |
Definition at line 1985 of file dauDsd.c.

| void Dau_DsdTest555 | ( | ) |
Definition at line 2040 of file dauDsd.c.

| void Dau_DsdTest888 | ( | ) |
Definition at line 2007 of file dauDsd.c.

| word * Dau_DsdToTruth | ( | char * | p, |
| int | nVars ) |
Definition at line 609 of file dauDsd.c.


| void Dau_DsdToTruth_rec | ( | char * | pStr, |
| char ** | p, | ||
| int * | pMatches, | ||
| word ** | pTtElems, | ||
| word * | pRes, | ||
| int | nVars ) |
Definition at line 535 of file dauDsd.c.


| void Dau_DsdTruth6Compose_rec | ( | word | Func, |
| word | pFanins[DAU_MAX_VAR][DAU_MAX_WORD], | ||
| word * | pRes, | ||
| int | nVars, | ||
| int | nWordsR ) |
Function*************************************************************
Synopsis [Computes truth table for the DSD formula.]
Description []
SideEffects []
SeeAlso []
Definition at line 469 of file dauDsd.c.


| void Dau_DsdTruthCompose_rec | ( | word * | pFunc, |
| word | pFanins[DAU_MAX_VAR][DAU_MAX_WORD], | ||
| word * | pRes, | ||
| int | nVars, | ||
| int | nWordsR ) |
Definition at line 501 of file dauDsd.c.

