abc-master
|
#include "gia.h"
Go to the source code of this file.
Data Structures | |
struct | Cbs_Par_t_ |
struct | Cbs_Que_t_ |
struct | Cbs_Man_t_ |
Macros | |
#define | Cbs_QueForEachEntry(Que, pObj, i) for ( i = (Que).iHead; (i < (Que).iTail) && ((pObj) = (Que).pData[i]); i++ ) |
#define | Cbs_ClauseForEachVar(p, hClause, pObj) for ( (p)->pIter = (p)->pClauses.pData + hClause; (pObj = *pIter); (p)->pIter++ ) |
#define | Cbs_ClauseForEachVar1(p, hClause, pObj) for ( (p)->pIter = (p)->pClauses.pData+hClause+1; (pObj = *pIter); (p)->pIter++ ) |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Cbs_Par_t_ | Cbs_Par_t |
DECLARATIONS ///. More... | |
typedef struct Cbs_Que_t_ | Cbs_Que_t |
typedef struct Cbs_Man_t_ | Cbs_Man_t |
Variables | |
int | s_Counter = 0 |
#define Cbs_QueForEachEntry | ( | Que, | |
pObj, | |||
i | |||
) | for ( i = (Que).iHead; (i < (Que).iTail) && ((pObj) = (Que).pData[i]); i++ ) |
typedef struct Cbs_Man_t_ Cbs_Man_t |
typedef typedefABC_NAMESPACE_IMPL_START struct Cbs_Par_t_ Cbs_Par_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [giaCSat.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [A simple circuit-based solver.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
typedef struct Cbs_Que_t_ Cbs_Que_t |
|
inlinestatic |
Cbs_Man_t* Cbs_ManAlloc | ( | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 149 of file giaCSat.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns conflict clause.]
Description [Performs conflict analysis.]
SideEffects []
SeeAlso []
Definition at line 649 of file giaCSat.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Returns clause size.]
Description []
SideEffects []
SeeAlso []
Definition at line 522 of file giaCSat.c.
Function*************************************************************
Synopsis [Find variable with the maximum number of fanin fanouts.]
Description []
SideEffects []
SeeAlso []
Definition at line 436 of file giaCSat.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns conflict clause.]
Description [Performs conflict analysis.]
SideEffects []
SeeAlso []
Definition at line 587 of file giaCSat.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Prints conflict clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 541 of file giaCSat.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Prints conflict clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 564 of file giaCSat.c.
int Cbs_ManPropagate | ( | Cbs_Man_t * | p, |
int | Level | ||
) |
Function*************************************************************
Synopsis [Propagates all variables.]
Description [Returns 1 if conflict; 0 if no conflict.]
SideEffects []
SeeAlso []
Definition at line 821 of file giaCSat.c.
Function*************************************************************
Synopsis [Propagates a variable.]
Description [Returns clause handle if conflict; 0 if no conflict.]
SideEffects []
SeeAlso []
Definition at line 731 of file giaCSat.c.
Function*************************************************************
Synopsis [Propagates a variable.]
Description [Returns 1 if conflict; 0 if no conflict.]
SideEffects []
SeeAlso []
Definition at line 788 of file giaCSat.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Performs resolution of two clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 677 of file giaCSat.c.
void Cbs_ManSatPrintStats | ( | Cbs_Man_t * | p | ) |
Function*************************************************************
Synopsis [Prints statistics of the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 968 of file giaCSat.c.
Function*************************************************************
Synopsis [Looking for a satisfying assignment of the node.]
Description [Assumes that each node has flag pObj->fMark0 set to 0. Returns 1 if unsatisfiable, 0 if satisfiable, and -1 if undecided. The node may be complemented. ]
SideEffects []
SeeAlso []
Definition at line 932 of file giaCSat.c.
int Cbs_ManSolve_rec | ( | Cbs_Man_t * | p, |
int | Level | ||
) |
Function*************************************************************
Synopsis [Solve the problem recursively.]
Description [Returns learnt clause if unsat, NULL if sat or undecided.]
SideEffects []
SeeAlso []
Definition at line 860 of file giaCSat.c.
Vec_Int_t* Cbs_ManSolveMiterNc | ( | Gia_Man_t * | pAig, |
int | nConfs, | ||
Vec_Str_t ** | pvStatus, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Procedure to test the new SAT solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 998 of file giaCSat.c.
void Cbs_ManStop | ( | Cbs_Man_t * | p | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Returns satisfying assignment.]
Description []
SideEffects []
SeeAlso []
void Cbs_SetDefaultParams | ( | Cbs_Par_t * | pPars | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Sets default values of the parameters.]
Description []
SideEffects []
SeeAlso []
Definition at line 127 of file giaCSat.c.
|
inlinestatic |
Definition at line 96 of file giaCSat.c.
|
inlinestatic |
Definition at line 97 of file giaCSat.c.
|
inlinestatic |
|
inlinestatic |
Definition at line 95 of file giaCSat.c.
|
inlinestatic |
|
inlinestatic |