#include "base/abc/abc.h"#include "aig/gia/gia.h"#include "misc/util/utilTruth.h"#include "misc/vec/vecInt.h"#include "misc/vec/vecPtr.h"#include "proof/cec/cec.h"#include "sat/bsat/satSolver.h"
Go to the source code of this file.
Classes | |
| struct | Ses_Man_t_ |
| struct | Ses_TimesEntry_t_ |
| struct | Ses_TruthEntry_t_ |
| struct | Ses_Store_t_ |
Macros | |
| #define | ABC_EXACT_SOL_NVARS 0 |
| #define | ABC_EXACT_SOL_NFUNC 1 |
| #define | ABC_EXACT_SOL_NGATES 2 |
| #define | ANSI_COLOR_RED "\x1b[31m" |
| #define | ANSI_COLOR_GREEN "\x1b[32m" |
| #define | ANSI_COLOR_YELLOW "\x1b[33m" |
| #define | ANSI_COLOR_BLUE "\x1b[34m" |
| #define | ANSI_COLOR_MAGENTA "\x1b[35m" |
| #define | ANSI_COLOR_CYAN "\x1b[36m" |
| #define | ANSI_COLOR_RESET "\x1b[0m" |
| #define | SES_STORE_TABLE_SIZE 1024 |
Typedefs | |
| typedef struct Ses_Man_t_ | Ses_Man_t |
| typedef struct Ses_TimesEntry_t_ | Ses_TimesEntry_t |
| typedef struct Ses_TruthEntry_t_ | Ses_TruthEntry_t |
| typedef struct Ses_Store_t_ | Ses_Store_t |
Functions | |
| int | Ses_StoreAddEntry (Ses_Store_t *pStore, word *pTruth, int nVars, int *pArrTimeProfile, char *pSol, int fResLimit) |
| int | Ses_StoreGetEntrySimple (Ses_Store_t *pStore, word *pTruth, int nVars, int *pArrTimeProfile, char **pSol) |
| int | Ses_StoreGetEntry (Ses_Store_t *pStore, word *pTruth, int nVars, int *pArrTimeProfile, char **pSol) |
| Abc_Ntk_t * | Abc_NtkFindExact (word *pTruth, int nVars, int nFunc, int nMaxDepth, int *pArrTimeProfile, int nBTLimit, int nStartGates, int fVerbose) |
| Gia_Man_t * | Gia_ManFindExact (word *pTruth, int nVars, int nFunc, int nMaxDepth, int *pArrTimeProfile, int nBTLimit, int nStartGates, int fVerbose) |
| Abc_Ntk_t * | Abc_NtkFromTruthTable (word *pTruth, int nVars) |
| void | Abc_ExactTestSingleOutput (int fVerbose) |
| void | Abc_ExactTestSingleOutputAIG (int fVerbose) |
| void | Abc_ExactTest (int fVerbose) |
| int | Abc_ExactIsRunning () |
| int | Abc_ExactInputNum () |
| void | Abc_ExactStart (int nBTLimit, int fMakeAIG, int fVerbose, int fVeryVerbose, const char *pFilename) |
| void | Abc_ExactStop (const char *pFilename) |
| void | Abc_ExactStats () |
| int | Abc_ExactDelayCost (word *pTruth, int nVars, int *pArrTimeProfile, char *pPerm, int *Cost, int AigLevel) |
| Abc_Obj_t * | Abc_ExactBuildNode (word *pTruth, int nVars, int *pArrTimeProfile, Abc_Obj_t **pFanins, Abc_Ntk_t *pNtk) |
| void | Abc_ExactStoreTest (int fVerbose) |
| #define ABC_EXACT_SOL_NFUNC 1 |
Definition at line 204 of file abcExact.c.
| #define ABC_EXACT_SOL_NGATES 2 |
Definition at line 205 of file abcExact.c.
| #define ABC_EXACT_SOL_NVARS 0 |
Definition at line 203 of file abcExact.c.
| #define ANSI_COLOR_BLUE "\x1b[34m" |
Definition at line 210 of file abcExact.c.
| #define ANSI_COLOR_CYAN "\x1b[36m" |
Definition at line 212 of file abcExact.c.
| #define ANSI_COLOR_GREEN "\x1b[32m" |
Definition at line 208 of file abcExact.c.
| #define ANSI_COLOR_MAGENTA "\x1b[35m" |
Definition at line 211 of file abcExact.c.
| #define ANSI_COLOR_RED "\x1b[31m" |
Definition at line 207 of file abcExact.c.
| #define ANSI_COLOR_RESET "\x1b[0m" |
Definition at line 213 of file abcExact.c.
| #define ANSI_COLOR_YELLOW "\x1b[33m" |
Definition at line 209 of file abcExact.c.
| #define SES_STORE_TABLE_SIZE 1024 |
Definition at line 311 of file abcExact.c.
| typedef struct Ses_Man_t_ Ses_Man_t |
Definition at line 215 of file abcExact.c.
| typedef struct Ses_Store_t_ Ses_Store_t |
Definition at line 312 of file abcExact.c.
| typedef struct Ses_TimesEntry_t_ Ses_TimesEntry_t |
Definition at line 293 of file abcExact.c.
| typedef struct Ses_TruthEntry_t_ Ses_TruthEntry_t |
Definition at line 302 of file abcExact.c.
| Abc_Obj_t * Abc_ExactBuildNode | ( | word * | pTruth, |
| int | nVars, | ||
| int * | pArrTimeProfile, | ||
| Abc_Obj_t ** | pFanins, | ||
| Abc_Ntk_t * | pNtk ) |
Definition at line 2894 of file abcExact.c.


| int Abc_ExactDelayCost | ( | word * | pTruth, |
| int | nVars, | ||
| int * | pArrTimeProfile, | ||
| char * | pPerm, | ||
| int * | Cost, | ||
| int | AigLevel ) |
Definition at line 2716 of file abcExact.c.


| int Abc_ExactInputNum | ( | ) |
Definition at line 2611 of file abcExact.c.
| int Abc_ExactIsRunning | ( | ) |
Function*************************************************************
Synopsis [APIs for integraging with the mapper.]
Definition at line 2605 of file abcExact.c.
| void Abc_ExactStart | ( | int | nBTLimit, |
| int | fMakeAIG, | ||
| int | fVerbose, | ||
| int | fVeryVerbose, | ||
| const char * | pFilename ) |
Definition at line 2616 of file abcExact.c.


| void Abc_ExactStats | ( | ) |
Definition at line 2652 of file abcExact.c.
| void Abc_ExactStop | ( | const char * | pFilename | ) |
Definition at line 2638 of file abcExact.c.

| void Abc_ExactStoreTest | ( | int | fVerbose | ) |
Definition at line 2978 of file abcExact.c.

| void Abc_ExactTest | ( | int | fVerbose | ) |
Definition at line 2589 of file abcExact.c.

| void Abc_ExactTestSingleOutput | ( | int | fVerbose | ) |
Definition at line 2509 of file abcExact.c.


| void Abc_ExactTestSingleOutputAIG | ( | int | fVerbose | ) |
Definition at line 2547 of file abcExact.c.


| Abc_Ntk_t * Abc_NtkFindExact | ( | word * | pTruth, |
| int | nVars, | ||
| int | nFunc, | ||
| int | nMaxDepth, | ||
| int * | pArrTimeProfile, | ||
| int | nBTLimit, | ||
| int | nStartGates, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis [Find minimum size networks with a SAT solver.]
Description [If nMaxDepth is -1, then depth constraints are ignored. If nMaxDepth is not -1, one can set pArrTimeProfile which should have the length of nVars. One can ignore pArrTimeProfile by setting it to NULL.]
SideEffects []
SeeAlso []
Definition at line 2414 of file abcExact.c.

Function*************************************************************
Synopsis [Some test cases.]
Definition at line 2494 of file abcExact.c.


| Gia_Man_t * Gia_ManFindExact | ( | word * | pTruth, |
| int | nVars, | ||
| int | nFunc, | ||
| int | nMaxDepth, | ||
| int * | pArrTimeProfile, | ||
| int | nBTLimit, | ||
| int | nStartGates, | ||
| int | fVerbose ) |
Definition at line 2450 of file abcExact.c.

| int Ses_StoreAddEntry | ( | Ses_Store_t * | pStore, |
| word * | pTruth, | ||
| int | nVars, | ||
| int * | pArrTimeProfile, | ||
| char * | pSol, | ||
| int | fResLimit ) |
Definition at line 629 of file abcExact.c.

| int Ses_StoreGetEntry | ( | Ses_Store_t * | pStore, |
| word * | pTruth, | ||
| int | nVars, | ||
| int * | pArrTimeProfile, | ||
| char ** | pSol ) |
Definition at line 768 of file abcExact.c.


| int Ses_StoreGetEntrySimple | ( | Ses_Store_t * | pStore, |
| word * | pTruth, | ||
| int | nVars, | ||
| int * | pArrTimeProfile, | ||
| char ** | pSol ) |
Definition at line 728 of file abcExact.c.