abc-master
|
#include "darInt.h"
Go to the source code of this file.
Functions | |
ABC_NAMESPACE_IMPL_START char ** | Dar_ArrayAlloc (int nCols, int nRows, int Size) |
DECLARATIONS ///. More... | |
int | Dar_Factorial (int n) |
void | Dar_Permutations_rec (char **pRes, int nFact, int n, char Array[]) |
char ** | Dar_Permutations (int n) |
void | Dar_TruthPermute_int (int *pMints, int nMints, char *pPerm, int nVars, int *pMintsP) |
unsigned | Dar_TruthPermute (unsigned Truth, char *pPerms, int nVars, int fReverse) |
unsigned | Dar_TruthPolarize (unsigned uTruth, int Polarity, int nVars) |
void | Dar_Truth4VarNPN (unsigned short **puCanons, char **puPhases, char **puPerms, unsigned char **puMap) |
ABC_NAMESPACE_IMPL_START char** Dar_ArrayAlloc | ( | int | nCols, |
int | nRows, | ||
int | Size | ||
) |
DECLARATIONS ///.
CFile****************************************************************
FileName [darPrec.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [DAG-aware AIG rewriting.]
Synopsis [Truth table precomputation.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - April 28, 2007.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Allocated one-memory-chunk array.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file darPrec.c.
int Dar_Factorial | ( | int | n | ) |
char** Dar_Permutations | ( | int | n | ) |
Function********************************************************************
Synopsis [Computes the set of all permutations.]
Description [The number of permutations in the array is n!. The number of entries in each permutation is n. Therefore, the resulting array is a two-dimentional array of the size: n! x n. To free the resulting array, call ABC_FREE() on the pointer returned by this procedure.]
SideEffects []
SeeAlso []
Definition at line 144 of file darPrec.c.
void Dar_Permutations_rec | ( | char ** | pRes, |
int | nFact, | ||
int | n, | ||
char | Array[] | ||
) |
Function********************************************************************
Synopsis [Fills in the array of permutations.]
Description []
SideEffects []
SeeAlso []
Definition at line 89 of file darPrec.c.
void Dar_Truth4VarNPN | ( | unsigned short ** | puCanons, |
char ** | puPhases, | ||
char ** | puPerms, | ||
unsigned char ** | puMap | ||
) |
Function*************************************************************
Synopsis [Computes NPN canonical forms for 4-variable functions.]
Description []
SideEffects []
SeeAlso []
Definition at line 293 of file darPrec.c.
unsigned Dar_TruthPermute | ( | unsigned | Truth, |
char * | pPerms, | ||
int | nVars, | ||
int | fReverse | ||
) |
Function*************************************************************
Synopsis [Permutes the function.]
Description []
SideEffects []
SeeAlso []
Definition at line 206 of file darPrec.c.
void Dar_TruthPermute_int | ( | int * | pMints, |
int | nMints, | ||
char * | pPerm, | ||
int | nVars, | ||
int * | pMintsP | ||
) |