#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"#include "opt/dsc/dsc.h"
Go to the source code of this file.
Classes | |
| struct | Abc_TtStore_t_ |
Typedefs | |
| typedef typedefABC_NAMESPACE_IMPL_START struct Abc_TtStore_t_ | Abc_TtStore_t |
| DECLARATIONS ///. | |
Functions | |
| 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_TtStoreLoadSave (char *pFileName) |
| void | Abc_TtStoreDump (char *pFileName, Vec_Mem_t *vTtMem, int nBytes) |
| void | Abc_TtStoreLoadSaveBin (char *pFileName) |
| 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) |
| Vec_Mem_t * | Abc_TruthDecRead (char *pFileName, int nVarNum) |
| 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 [
]
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_DecTest | ( | char * | pFileName, |
| int | DecType, | ||
| int | nVarNum, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis [Testbench for decomposition algorithms.]
Description []
SideEffects []
SeeAlso []
Definition at line 781 of file abcDec.c.

| char * Abc_FileRead | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Read file contents.]
Description []
SideEffects []
SeeAlso []
Definition at line 223 of file abcDec.c.


| int Abc_FileSize | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Read file contents.]
Description []
SideEffects []
SeeAlso []
Definition at line 195 of file abcDec.c.

| 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 575 of file abcDec.c.


| Vec_Mem_t * Abc_TruthDecRead | ( | char * | pFileName, |
| int | nVarNum ) |
Function*************************************************************
Synopsis [Read truth tables from file.]
Description []
SideEffects []
SeeAlso []
Definition at line 748 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 721 of file abcDec.c.


| void Abc_TruthGetParams | ( | char * | pFileName, |
| int * | pnVars, | ||
| int * | pnTruths ) |
Function*************************************************************
Synopsis [Determine the number of variables by reading the first line.]
Description [Determine the number of functions by counting the lines.]
SideEffects []
SeeAlso []
Definition at line 263 of file abcDec.c.


| void Abc_TruthReadHex | ( | word * | pTruth, |
| char * | pString, | ||
| int | nVars ) |
Definition at line 92 of file abcDec.c.

| Abc_TtStore_t * Abc_TruthStoreAlloc | ( | int | nVars, |
| int | nFuncs ) |
Function*************************************************************
Synopsis [Allocate/Deallocate storage for truth tables..]
Description []
SideEffects []
SeeAlso []
Definition at line 141 of file abcDec.c.


| Abc_TtStore_t * Abc_TruthStoreAlloc2 | ( | int | nVars, |
| int | nFuncs, | ||
| word * | pBuffer ) |
Definition at line 159 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 321 of file abcDec.c.


| void Abc_TruthWriteHex | ( | FILE * | pFile, |
| word * | pTruth, | ||
| int | nVars ) |
Definition at line 117 of file abcDec.c.

| void Abc_TtStoreDump | ( | char * | pFileName, |
| Vec_Mem_t * | vTtMem, | ||
| int | nBytes ) |
Function*************************************************************
Synopsis [Read truth tables from input file and write them into output file.]
Description []
SideEffects []
SeeAlso []
Definition at line 472 of file abcDec.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 396 of file abcDec.c.


| void Abc_TtStoreLoadSave | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Read truth tables from input file and write them into output file.]
Description []
SideEffects []
SeeAlso []
Definition at line 442 of file abcDec.c.

| void Abc_TtStoreLoadSaveBin | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Read truth tables in binary text form and write them into file as binary data.]
Description []
SideEffects []
SeeAlso []
Definition at line 497 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 545 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 359 of file abcDec.c.

