abc-master
|
#include "misc/extra/extra.h"
#include "misc/vec/vec.h"
#include "bool/kit/kit.h"
#include "bool/lucky/lucky.h"
#include "opt/dau/dau.h"
Go to the source code of this file.
Data Structures | |
struct | Abc_TtStore_t_ |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Abc_TtStore_t_ | Abc_TtStore_t |
DECLARATIONS ///. More... | |
Functions | |
Abc_TtStore_t * | Abc_TtStoreLoad (char *pFileName, int nVarNum) |
void | Abc_TtStoreFree (Abc_TtStore_t *p, int nVarNum) |
void | Abc_TtStoreWrite (char *pFileName, Abc_TtStore_t *p, int fBinary) |
static int | Abc_TruthHashKey (word *pFunc, int nWords, int nTableSize) |
FUNCTION DEFINITIONS ///. More... | |
static int | Abc_TruthHashLookup (word **pFuncs, int iThis, int nWords, int *pTable, int *pNexts, int Key) |
int | Abc_TruthNpnCountUnique (Abc_TtStore_t *p) |
int | Abc_TruthCompare (word **p1, word **p2) |
int | Abc_TruthNpnCountUniqueSort (Abc_TtStore_t *p) |
void | Abc_TruthNpnPrint (char *pCanonPermInit, unsigned uCanonPhase, int nVars) |
void | Abc_TruthNpnPerform (Abc_TtStore_t *p, int NpnType, int fVerbose) |
void | Abc_TruthNpnTest (char *pFileName, int NpnType, int nVarNum, int fDumpRes, int fBinary, int fVerbose) |
int | Abc_NpnTest (char *pFileName, int NpnType, int nVarNum, int fDumpRes, int fBinary, int fVerbose) |
Variables | |
int | nWords = 0 |
typedef typedefABC_NAMESPACE_IMPL_START struct Abc_TtStore_t_ Abc_TtStore_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcNpn.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Procedures for testing and comparing semi-canonical forms.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
int Abc_NpnTest | ( | char * | pFileName, |
int | NpnType, | ||
int | nVarNum, | ||
int | fDumpRes, | ||
int | fBinary, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Testbench for decomposition algorithms.]
Description []
SideEffects []
SeeAlso []
Definition at line 351 of file abcNpn.c.
|
inlinestatic |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Counts the number of unique truth tables.]
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
int Abc_TruthNpnCountUnique | ( | Abc_TtStore_t * | p | ) |
Definition at line 90 of file abcNpn.c.
int Abc_TruthNpnCountUniqueSort | ( | Abc_TtStore_t * | p | ) |
void Abc_TruthNpnPerform | ( | Abc_TtStore_t * | p, |
int | NpnType, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Apply decomposition to the truth table.]
Description [Returns the number of AIG nodes.]
SideEffects []
SeeAlso []
Definition at line 177 of file abcNpn.c.
void Abc_TruthNpnPrint | ( | char * | pCanonPermInit, |
unsigned | uCanonPhase, | ||
int | nVars | ||
) |
Function*************************************************************
Synopsis [Prints out one NPN transform.]
Description []
SideEffects []
SeeAlso []
Definition at line 154 of file abcNpn.c.
void Abc_TruthNpnTest | ( | char * | pFileName, |
int | NpnType, | ||
int | nVarNum, | ||
int | fDumpRes, | ||
int | fBinary, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Apply decomposition to truth tables.]
Description []
SideEffects []
SeeAlso []
Definition at line 309 of file abcNpn.c.
void Abc_TtStoreFree | ( | Abc_TtStore_t * | p, |
int | nVarNum | ||
) |
Abc_TtStore_t* Abc_TtStoreLoad | ( | char * | pFileName, |
int | nVarNum | ||
) |
Function*************************************************************
Synopsis [Read truth tables from input file and write them into output file.]
Description []
SideEffects []
SeeAlso []
Definition at line 395 of file abcDec.c.
void Abc_TtStoreWrite | ( | char * | pFileName, |
Abc_TtStore_t * | p, | ||
int | fBinary | ||
) |
Function*************************************************************
Synopsis [Write truth tables into file.]
Description []
SideEffects []
SeeAlso []
Definition at line 358 of file abcDec.c.