abc-master
|
#include "base/abc/abc.h"
#include "base/main/main.h"
#include "base/cmd/cmd.h"
#include "sat/bsat/satSolver.h"
#include "misc/extra/extraBdd.h"
Go to the source code of this file.
Functions | |
static ABC_NAMESPACE_IMPL_START sat_solver * | Abc_NtkMiterSatCreateLogic (Abc_Ntk_t *pNtk, int fAllPrimes) |
DECLARATIONS ///. More... | |
Vec_Int_t * | Abc_NtkGetCiSatVarNums (Abc_Ntk_t *pNtk) |
int | Abc_NtkMiterSat (Abc_Ntk_t *pNtk, ABC_INT64_T nConfLimit, ABC_INT64_T nInsLimit, int fVerbose, ABC_INT64_T *pNumConfs, ABC_INT64_T *pNumInspects) |
FUNCTION DEFINITIONS ///. More... | |
int | Abc_NtkClauseTriv (sat_solver *pSat, Abc_Obj_t *pNode, Vec_Int_t *vVars) |
int | Abc_NtkClauseTop (sat_solver *pSat, Vec_Ptr_t *vNodes, Vec_Int_t *vVars) |
int | Abc_NtkClauseAnd (sat_solver *pSat, Abc_Obj_t *pNode, Vec_Ptr_t *vSuper, Vec_Int_t *vVars) |
int | Abc_NtkClauseMux (sat_solver *pSat, Abc_Obj_t *pNode, Abc_Obj_t *pNodeC, Abc_Obj_t *pNodeT, Abc_Obj_t *pNodeE, Vec_Int_t *vVars) |
int | Abc_NtkCollectSupergate_rec (Abc_Obj_t *pNode, Vec_Ptr_t *vSuper, int fFirst, int fStopAtMux) |
void | Abc_NtkCollectSupergate (Abc_Obj_t *pNode, int fStopAtMux, Vec_Ptr_t *vNodes) |
int | Abc_NtkNodeFactor (Abc_Obj_t *pObj, int nLevelMax) |
int | Abc_NtkMiterSatCreateInt (sat_solver *pSat, Abc_Ntk_t *pNtk) |
void * | Abc_NtkMiterSatCreate (Abc_Ntk_t *pNtk, int fAllPrimes) |
int | Abc_NodeAddClauses (sat_solver *pSat, char *pSop0, char *pSop1, Abc_Obj_t *pNode, Vec_Int_t *vVars) |
int | Abc_NodeAddClausesTop (sat_solver *pSat, Abc_Obj_t *pNode, Vec_Int_t *vVars) |
void | Abc_NtkWriteSorterCnf (char *pFileName, int nVars, int nQueens) |
Variables | |
static int | nMuxes |
int Abc_NodeAddClauses | ( | sat_solver * | pSat, |
char * | pSop0, | ||
char * | pSop1, | ||
Abc_Obj_t * | pNode, | ||
Vec_Int_t * | vVars | ||
) |
Function*************************************************************
Synopsis [Adds clauses for the internal node.]
Description []
SideEffects []
SeeAlso []
Definition at line 672 of file abcSat.c.
int Abc_NodeAddClausesTop | ( | sat_solver * | pSat, |
Abc_Obj_t * | pNode, | ||
Vec_Int_t * | vVars | ||
) |
Function*************************************************************
Synopsis [Adds clauses for the PO node.]
Description []
SideEffects []
SeeAlso []
Definition at line 763 of file abcSat.c.
int Abc_NtkClauseAnd | ( | sat_solver * | pSat, |
Abc_Obj_t * | pNode, | ||
Vec_Ptr_t * | vSuper, | ||
Vec_Int_t * | vVars | ||
) |
Function*************************************************************
Synopsis [Adds trivial clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 221 of file abcSat.c.
int Abc_NtkClauseMux | ( | sat_solver * | pSat, |
Abc_Obj_t * | pNode, | ||
Abc_Obj_t * | pNodeC, | ||
Abc_Obj_t * | pNodeT, | ||
Abc_Obj_t * | pNodeE, | ||
Vec_Int_t * | vVars | ||
) |
Function*************************************************************
Synopsis [Adds trivial clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 285 of file abcSat.c.
int Abc_NtkClauseTop | ( | sat_solver * | pSat, |
Vec_Ptr_t * | vNodes, | ||
Vec_Int_t * | vVars | ||
) |
Function*************************************************************
Synopsis [Adds trivial clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 198 of file abcSat.c.
int Abc_NtkClauseTriv | ( | sat_solver * | pSat, |
Abc_Obj_t * | pNode, | ||
Vec_Int_t * | vVars | ||
) |
Function*************************************************************
Synopsis [Adds trivial clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 178 of file abcSat.c.
Function*************************************************************
Synopsis [Returns the array of nodes to be combined into one multi-input AND-gate.]
Description []
SideEffects []
SeeAlso []
Definition at line 417 of file abcSat.c.
int Abc_NtkCollectSupergate_rec | ( | Abc_Obj_t * | pNode, |
Vec_Ptr_t * | vSuper, | ||
int | fFirst, | ||
int | fStopAtMux | ||
) |
Function*************************************************************
Synopsis [Returns the array of nodes to be combined into one multi-input AND-gate.]
Description []
SideEffects []
SeeAlso []
Definition at line 370 of file abcSat.c.
Function*************************************************************
Synopsis [Returns the array of CI IDs.]
Description []
SideEffects []
SeeAlso []
Definition at line 154 of file abcSat.c.
int Abc_NtkMiterSat | ( | Abc_Ntk_t * | pNtk, |
ABC_INT64_T | nConfLimit, | ||
ABC_INT64_T | nInsLimit, | ||
int | fVerbose, | ||
ABC_INT64_T * | pNumConfs, | ||
ABC_INT64_T * | pNumInspects | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Attempts to solve the miter using an internal SAT sat_solver.]
Description [Returns -1 if timed out; 0 if SAT; 1 if UNSAT.]
SideEffects []
SeeAlso []
Definition at line 53 of file abcSat.c.
void* Abc_NtkMiterSatCreate | ( | Abc_Ntk_t * | pNtk, |
int | fAllPrimes | ||
) |
Function*************************************************************
Synopsis [Sets up the SAT sat_solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 629 of file abcSat.c.
int Abc_NtkMiterSatCreateInt | ( | sat_solver * | pSat, |
Abc_Ntk_t * | pNtk | ||
) |
Function*************************************************************
Synopsis [Sets up the SAT sat_solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 466 of file abcSat.c.
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcSat.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Procedures to solve the miter using the internal SAT sat_solver.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Function*************************************************************
Synopsis [Sets up the SAT sat_solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 836 of file abcSat.c.
int Abc_NtkNodeFactor | ( | Abc_Obj_t * | pObj, |
int | nLevelMax | ||
) |
void Abc_NtkWriteSorterCnf | ( | char * | pFileName, |
int | nVars, | ||
int | nQueens | ||
) |
Function*************************************************************
Synopsis [Writes CNF for the sorter with N inputs asserting Q ones.]
Description []
SideEffects []
SeeAlso []
Definition at line 905 of file abcSat.c.