abc-master
|
#include "sat/cnf/cnf.h"
#include "sat/bsat/satSolver2.h"
#include "base/main/main.h"
#include "abs.h"
#include "absRef.h"
Go to the source code of this file.
Data Structures | |
struct | Rfn_Obj_t_ |
struct | Gla_Obj_t_ |
struct | Gla_Man_t_ |
Macros | |
#define | Gla_ManForEachObj(p, pObj) for ( pObj = p->pObjs + 1; pObj < p->pObjs + p->nObjs; pObj++ ) |
#define | Gla_ManForEachObjAbs(p, pObj, i) for ( i = 0; i < Vec_IntSize(p->vAbs) && ((pObj = Gla_ManObj(p, Vec_IntEntry(p->vAbs, i))),1); i++) |
#define | Gla_ManForEachObjAbsVec(vVec, p, pObj, i) for ( i = 0; i < Vec_IntSize(vVec) && ((pObj = Gla_ManObj(p, Vec_IntEntry(vVec, i))),1); i++) |
#define | Gla_ObjForEachFanin(p, pObj, pFanin, i) for ( i = 0; (i < (int)pObj->nFanins) && ((pFanin = Gla_ManObj(p, pObj->Fanins[i])),1); i++ ) |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Rfn_Obj_t_ | Rfn_Obj_t |
DECLARATIONS ///. More... | |
typedef struct Gla_Obj_t_ | Gla_Obj_t |
typedef struct Gla_Man_t_ | Gla_Man_t |
#define Gla_ManForEachObj | ( | p, | |
pObj | |||
) | for ( pObj = p->pObjs + 1; pObj < p->pObjs + p->nObjs; pObj++ ) |
Definition at line 119 of file absGlaOld.c.
#define Gla_ManForEachObjAbs | ( | p, | |
pObj, | |||
i | |||
) | for ( i = 0; i < Vec_IntSize(p->vAbs) && ((pObj = Gla_ManObj(p, Vec_IntEntry(p->vAbs, i))),1); i++) |
Definition at line 121 of file absGlaOld.c.
#define Gla_ManForEachObjAbsVec | ( | vVec, | |
p, | |||
pObj, | |||
i | |||
) | for ( i = 0; i < Vec_IntSize(vVec) && ((pObj = Gla_ManObj(p, Vec_IntEntry(vVec, i))),1); i++) |
Definition at line 123 of file absGlaOld.c.
#define Gla_ObjForEachFanin | ( | p, | |
pObj, | |||
pFanin, | |||
i | |||
) | for ( i = 0; (i < (int)pObj->nFanins) && ((pFanin = Gla_ManObj(p, pObj->Fanins[i])),1); i++ ) |
Definition at line 127 of file absGlaOld.c.
typedef struct Gla_Man_t_ Gla_Man_t |
Definition at line 61 of file absGlaOld.c.
typedef struct Gla_Obj_t_ Gla_Obj_t |
Definition at line 43 of file absGlaOld.c.
typedef typedefABC_NAMESPACE_IMPL_START struct Rfn_Obj_t_ Rfn_Obj_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [absGla.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Abstraction package.]
Synopsis [Gate-level abstraction.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 33 of file absGlaOld.c.
int Gia_GlaAbsCount | ( | Gla_Man_t * | p, |
int | fRo, | ||
int | fAnd | ||
) |
Function*************************************************************
Synopsis [Creates a new manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 1141 of file absGlaOld.c.
Definition at line 1397 of file absGlaOld.c.
void Gia_GlaAddTimeFrame | ( | Gla_Man_t * | p, |
int | f | ||
) |
Definition at line 1389 of file absGlaOld.c.
Definition at line 1368 of file absGlaOld.c.
Definition at line 1361 of file absGlaOld.c.
void Gia_GlaDumpAbsracted | ( | Gla_Man_t * | p, |
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Send abstracted model or send cancel.]
Description [Counter-example will be sent automatically when &vta terminates.]
SideEffects []
SeeAlso []
Definition at line 1609 of file absGlaOld.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Prepares CEX and vMap for refinement.]
Description []
SideEffects []
SeeAlso []
Definition at line 149 of file absGlaOld.c.
void Gia_GlaSendAbsracted | ( | Gla_Man_t * | p, |
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Send abstracted model or send cancel.]
Description [Counter-example will be sent automatically when &vta terminates.]
SideEffects []
SeeAlso []
Definition at line 1574 of file absGlaOld.c.
void Gia_GlaSendCancel | ( | Gla_Man_t * | p, |
int | fVerbose | ||
) |
Definition at line 1589 of file absGlaOld.c.
Definition at line 752 of file absGlaOld.c.
Function*************************************************************
Synopsis [Duplicates AIG while decoupling nodes duplicated in the mapping.]
Description []
SideEffects []
SeeAlso []
Definition at line 741 of file absGlaOld.c.
Function*************************************************************
Synopsis [Performs gate-level abstraction]
Description []
SideEffects []
SeeAlso []
Definition at line 1638 of file absGlaOld.c.
void Gia_ManRefSetAndPropFanout_rec | ( | Gla_Man_t * | p, |
Gia_Obj_t * | pObj, | ||
int | f, | ||
Vec_Int_t * | vSelect, | ||
int | Sign | ||
) |
Function*************************************************************
Synopsis [Drive implications of the given node towards primary outputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 286 of file absGlaOld.c.
void Gla_ManAbsPrintFrame | ( | Gla_Man_t * | p, |
int | nCoreSize, | ||
int | nFrames, | ||
int | nConfls, | ||
int | nCexes, | ||
abctime | Time | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1509 of file absGlaOld.c.
Definition at line 1319 of file absGlaOld.c.
|
static |
Function*************************************************************
Synopsis [Adds CNF for the given timeframe.]
Description []
SideEffects []
SeeAlso []
Definition at line 1298 of file absGlaOld.c.
void Gla_ManCollect | ( | Gla_Man_t * | p, |
Vec_Int_t * | vPis, | ||
Vec_Int_t * | vPPis, | ||
Vec_Int_t * | vCos, | ||
Vec_Int_t * | vRoAnds | ||
) |
Definition at line 229 of file absGlaOld.c.
Function*************************************************************
Synopsis [Adds clauses for the given obj in the given frame.]
Description []
SideEffects []
SeeAlso []
Definition at line 715 of file absGlaOld.c.
Function*************************************************************
Synopsis [Collects GIA abstraction objects.]
Description []
SideEffects []
SeeAlso []
Definition at line 219 of file absGlaOld.c.
Function*************************************************************
Synopsis [Collect pseudo-PIs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1234 of file absGlaOld.c.
int Gla_ManCountPPis | ( | Gla_Man_t * | p | ) |
Definition at line 1257 of file absGlaOld.c.
Function*************************************************************
Synopsis [Derives counter-example using current assignments.]
Description []
SideEffects []
SeeAlso []
Definition at line 188 of file absGlaOld.c.
Definition at line 1264 of file absGlaOld.c.
int Gla_ManGetOutLit | ( | Gla_Man_t * | p, |
int | f | ||
) |
Function*************************************************************
Synopsis [Finds the set of clauses involved in the UNSAT core.]
Description []
SideEffects []
SeeAlso []
Definition at line 1436 of file absGlaOld.c.
|
static |
Definition at line 1305 of file absGlaOld.c.
Definition at line 111 of file absGlaOld.c.
Definition at line 110 of file absGlaOld.c.
Function*************************************************************
Synopsis [Performs refinement.]
Description []
SideEffects []
SeeAlso []
Definition at line 499 of file absGlaOld.c.
Function*************************************************************
Synopsis [Performs refinement.]
Description []
SideEffects []
SeeAlso []
Definition at line 535 of file absGlaOld.c.
Function*************************************************************
Synopsis [Selects assignments to be refined.]
Description []
SideEffects []
SeeAlso []
Definition at line 347 of file absGlaOld.c.
void Gla_ManReportMemory | ( | Gla_Man_t * | p | ) |
Definition at line 1537 of file absGlaOld.c.
void Gla_ManRollBack | ( | Gla_Man_t * | p | ) |
Definition at line 1405 of file absGlaOld.c.
Function*************************************************************
Synopsis [Creates a new manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 825 of file absGlaOld.c.
Function*************************************************************
Synopsis [Creates a new manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 1002 of file absGlaOld.c.
void Gla_ManStop | ( | Gla_Man_t * | p | ) |
Function*************************************************************
Synopsis [Creates a new manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 1094 of file absGlaOld.c.
Definition at line 1184 of file absGlaOld.c.
Function*************************************************************
Synopsis [Derives new abstraction map.]
Description [Returns 1 if node contains abstracted leaf on the path.]
SideEffects []
SeeAlso []
Definition at line 1169 of file absGlaOld.c.
Vec_Int_t* Gla_ManUnsatCore | ( | Gla_Man_t * | p, |
int | f, | ||
sat_solver2 * | pSat, | ||
int | nConfMax, | ||
int | fVerbose, | ||
int * | piRetValue, | ||
int * | pnConfls | ||
) |
Definition at line 1445 of file absGlaOld.c.
void Gla_ManVerifyUsingTerSim | ( | Gla_Man_t * | p, |
Vec_Int_t * | vPis, | ||
Vec_Int_t * | vPPis, | ||
Vec_Int_t * | vRoAnds, | ||
Vec_Int_t * | vCos, | ||
Vec_Int_t * | vRes | ||
) |
Function*************************************************************
Synopsis [Performs refinement.]
Description []
SideEffects []
SeeAlso []
Definition at line 436 of file absGlaOld.c.
|
inlinestatic |
Definition at line 115 of file absGlaOld.c.
Definition at line 109 of file absGlaOld.c.
Definition at line 114 of file absGlaOld.c.
|
inlinestatic |
Definition at line 112 of file absGlaOld.c.