abc-master
|
#include "misc/extra/extra.h"
#include "misc/vec/vec.h"
#include "bool/bdc/bdc.h"
#include "bool/dec/dec.h"
#include "bool/kit/kit.h"
#include "opt/dau/dau.h"
#include "misc/util/utilTruth.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 | |
static int | Abc_TruthGetBit (word *p, int i) |
static void | Abc_TruthSetBit (word *p, int i) |
static void | Abc_TruthXorBit (word *p, int i) |
static int | Abc_TruthGetHex (word *p, int k) |
static void | Abc_TruthSetHex (word *p, int k, int d) |
static void | Abc_TruthXorHex (word *p, int k, int d) |
static int | Abc_TruthReadHexDigit (char HexChar) |
FUNCTION DEFINITIONS ///. More... | |
static void | Abc_TruthWriteHexDigit (FILE *pFile, int HexDigit) |
void | Abc_TruthReadHex (word *pTruth, char *pString, int nVars) |
void | Abc_TruthWriteHex (FILE *pFile, word *pTruth, int nVars) |
Abc_TtStore_t * | Abc_TruthStoreAlloc (int nVars, int nFuncs) |
Abc_TtStore_t * | Abc_TruthStoreAlloc2 (int nVars, int nFuncs, word *pBuffer) |
void | Abc_TtStoreFree (Abc_TtStore_t *p, int nVarNum) |
int | Abc_FileSize (char *pFileName) |
char * | Abc_FileRead (char *pFileName) |
void | Abc_TruthGetParams (char *pFileName, int *pnVars, int *pnTruths) |
void | Abc_TruthStoreRead (char *pFileName, Abc_TtStore_t *p) |
void | Abc_TtStoreWrite (char *pFileName, Abc_TtStore_t *p, int fBinary) |
Abc_TtStore_t * | Abc_TtStoreLoad (char *pFileName, int nVarNum) |
void | Abc_TtStoreTest (char *pFileName) |
void | Abc_TruthDecPerform (Abc_TtStore_t *p, int DecType, int fVerbose) |
void | Abc_TruthDecTest (char *pFileName, int DecType, int nVarNum, int fVerbose) |
int | Abc_DecTest (char *pFileName, int DecType, int nVarNum, int fVerbose) |
typedef typedefABC_NAMESPACE_IMPL_START struct Abc_TtStore_t_ Abc_TtStore_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcDec.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Procedures for testing and comparing decomposition algorithms.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
int Abc_DecTest | ( | char * | pFileName, |
int | DecType, | ||
int | nVarNum, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Testbench for decomposition algorithms.]
Description []
SideEffects []
SeeAlso []
Definition at line 626 of file abcDec.c.
char* Abc_FileRead | ( | char * | pFileName | ) |
int Abc_FileSize | ( | char * | pFileName | ) |
void Abc_TruthDecPerform | ( | Abc_TtStore_t * | p, |
int | DecType, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Apply decomposition to the truth table.]
Description [Returns the number of AIG nodes.]
SideEffects []
SeeAlso []
Definition at line 471 of file abcDec.c.
void Abc_TruthDecTest | ( | char * | pFileName, |
int | DecType, | ||
int | nVarNum, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Apply decomposition to truth tables.]
Description []
SideEffects []
SeeAlso []
Definition at line 598 of file abcDec.c.
void Abc_TruthGetParams | ( | char * | pFileName, |
int * | pnVars, | ||
int * | pnTruths | ||
) |
void Abc_TruthReadHex | ( | word * | pTruth, |
char * | pString, | ||
int | nVars | ||
) |
Definition at line 91 of file abcDec.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Abc_TtStore_t* Abc_TruthStoreAlloc | ( | int | nVars, |
int | nFuncs | ||
) |
Function*************************************************************
Synopsis [Allocate/Deallocate storage for truth tables..]
Description []
SideEffects []
SeeAlso []
Abc_TtStore_t* Abc_TruthStoreAlloc2 | ( | int | nVars, |
int | nFuncs, | ||
word * | pBuffer | ||
) |
Definition at line 158 of file abcDec.c.
void Abc_TruthStoreRead | ( | char * | pFileName, |
Abc_TtStore_t * | p | ||
) |
Function*************************************************************
Synopsis [Read truth tables from file.]
Description []
SideEffects []
SeeAlso []
Definition at line 320 of file abcDec.c.
void Abc_TruthWriteHex | ( | FILE * | pFile, |
word * | pTruth, | ||
int | nVars | ||
) |
Definition at line 116 of file abcDec.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
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_TtStoreTest | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Read truth tables from input file and write them into output file.]
Description []
SideEffects []
SeeAlso []
Definition at line 441 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.