abc-master
|
Go to the source code of this file.
Data Structures | |
struct | Npn_Obj_t_ |
struct | Npn_Man_t_ |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Npn_Obj_t_ | Npn_Obj_t |
DECLARATIONS ///. More... | |
typedef struct Npn_Man_t_ | Npn_Man_t |
Functions | |
static Npn_Obj_t * | Npn_ManObj (Npn_Man_t *p, int i) |
static int | Npn_ManObjNum (Npn_Man_t *p, Npn_Obj_t *pObj) |
void | Npn_TruthPermute_rec (char *pStr, int mid, int end) |
FUNCTION DEFINITIONS ///. More... | |
static int | Npn_TruthHasVar (word t, int v) |
static int | Npn_TruthSupport (word t) |
static int | Npn_TruthSuppSize (word t, int nVars) |
static int | Npn_TruthIsMinBase (word t) |
word | Npn_TruthPadWord (word uTruth, int nVars) |
static int | Npn_TruthCountOnes (word t) |
static word | Npn_TruthChangePhase (word t, int v) |
static word | Npn_TruthSwapAdjacentVars (word t, int v) |
static word | Npn_TruthCanon (word t, int nVars, int *pPhase) |
static int | Npn_ManHash (Npn_Man_t *p, word uTruth) |
void | Npn_ManResize (Npn_Man_t *p) |
Npn_Obj_t * | Npn_ManAdd (Npn_Man_t *p, word uTruth) |
void | Npn_ManRead (Npn_Man_t *p, char *pFileName) |
static int | Npn_ManCompareEntries (Npn_Obj_t **pp1, Npn_Obj_t **pp2) |
void | Npn_ManWrite (Npn_Man_t *p, char *pFileName) |
Npn_Man_t * | Npn_ManStart (char *pFileName) |
void | Npn_ManStop (Npn_Man_t *p) |
void | Npn_ManClean () |
void | Npn_ManLoad (char *pFileName) |
void | Npn_ManSave (char *pFileName) |
void | Npn_ManSaveOne (unsigned *puTruth, int nVars) |
Variables | |
static word | Truth [8] |
static Npn_Man_t * | pNpnMan = NULL |
typedef struct Npn_Man_t_ Npn_Man_t |
Definition at line 32 of file abcNpnSave.c.
typedef typedefABC_NAMESPACE_IMPL_START struct Npn_Obj_t_ Npn_Obj_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcNpnSave.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Interface with the FPGA mapping package.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - November 21, 2006.]
Revision [
]
Definition at line 31 of file abcNpnSave.c.
Function*************************************************************
Synopsis [Adds one entry to the table.]
Description [Increments ref counter by 1.]
SideEffects []
SeeAlso []
Definition at line 437 of file abcNpnSave.c.
void Npn_ManClean | ( | ) |
Function*************************************************************
Synopsis [Cleans the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 649 of file abcNpnSave.c.
Function*************************************************************
Synopsis [Comparison procedure for two entries.]
Description []
SideEffects []
SeeAlso []
Definition at line 532 of file abcNpnSave.c.
Function*************************************************************
Synopsis [Computes the hash key.]
Description []
SideEffects []
SeeAlso []
Definition at line 374 of file abcNpnSave.c.
void Npn_ManLoad | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Loads functions from a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 669 of file abcNpnSave.c.
Definition at line 49 of file abcNpnSave.c.
Definition at line 50 of file abcNpnSave.c.
void Npn_ManRead | ( | Npn_Man_t * | p, |
char * | pFileName | ||
) |
Function*************************************************************
Synopsis [Fills table from file.]
Description []
SideEffects []
SeeAlso []
Definition at line 482 of file abcNpnSave.c.
void Npn_ManResize | ( | Npn_Man_t * | p | ) |
Function*************************************************************
Synopsis [Resizes the table.]
Description []
SideEffects []
SeeAlso []
Definition at line 391 of file abcNpnSave.c.
void Npn_ManSave | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Saves functions into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 692 of file abcNpnSave.c.
void Npn_ManSaveOne | ( | unsigned * | puTruth, |
int | nVars | ||
) |
Function*************************************************************
Synopsis [Saves one function into storage.]
Description []
SideEffects []
SeeAlso []
Definition at line 714 of file abcNpnSave.c.
Npn_Man_t* Npn_ManStart | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Creates the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 588 of file abcNpnSave.c.
void Npn_ManStop | ( | Npn_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deletes the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 631 of file abcNpnSave.c.
void Npn_ManWrite | ( | Npn_Man_t * | p, |
char * | pFileName | ||
) |
Function*************************************************************
Synopsis [Adds one entry to the table.]
Description []
SideEffects []
SeeAlso []
Definition at line 552 of file abcNpnSave.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 282 of file abcNpnSave.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 242 of file abcNpnSave.c.
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 221 of file abcNpnSave.c.
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 117 of file abcNpnSave.c.
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 174 of file abcNpnSave.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 191 of file abcNpnSave.c.
void Npn_TruthPermute_rec | ( | char * | pStr, |
int | mid, | ||
int | end | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 80 of file abcNpnSave.c.
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 133 of file abcNpnSave.c.
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 153 of file abcNpnSave.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 258 of file abcNpnSave.c.
|
static |
Definition at line 63 of file abcNpnSave.c.
|
static |