abc-master
|
Go to the source code of this file.
Data Structures | |
struct | Gia_PtrAre_t_ |
union | Gia_PtrAreInt_t_ |
struct | Gia_ObjAre_t_ |
struct | Gia_StaAre_t_ |
struct | Gia_ManAre_t_ |
Macros | |
#define | MAX_CALL_NUM (1000000) |
DECLARATIONS ///. More... | |
#define | MAX_ITEM_NUM (1<<20) |
#define | MAX_PAGE_NUM (1<<11) |
#define | MAX_VARS_NUM (1<<14) |
#define | MAX_CUBE_NUM 63 |
#define | Gia_ManAreForEachCubeList(p, pList, pCube) for ( pCube = pList; Gia_StaIsGood(p, pCube); pCube = Gia_StaNext(p, pCube) ) |
#define | Gia_ManAreForEachCubeList2(p, iList, pCube, iCube) |
#define | Gia_ManAreForEachCubeStore(p, pCube, i) for ( i = 1; i < p->nStas && (pCube = Gia_ManAreStaInt(p, i)); i++ ) |
#define | Gia_ManAreForEachCubeVec(vVec, p, pCube, i) for ( i = 0; i < Vec_IntSize(vVec) && (pCube = Gia_ManAreStaInt(p, Vec_IntEntry(vVec,i))); i++ ) |
Typedefs | |
typedef struct Gia_PtrAre_t_ | Gia_PtrAre_t |
typedef union Gia_PtrAreInt_t_ | Gia_PtrAreInt_t |
typedef struct Gia_ObjAre_t_ | Gia_ObjAre_t |
typedef struct Gia_StaAre_t_ | Gia_StaAre_t |
typedef struct Gia_ManAre_t_ | Gia_ManAre_t |
#define Gia_ManAreForEachCubeList | ( | p, | |
pList, | |||
pCube | |||
) | for ( pCube = pList; Gia_StaIsGood(p, pCube); pCube = Gia_StaNext(p, pCube) ) |
#define Gia_ManAreForEachCubeList2 | ( | p, | |
iList, | |||
pCube, | |||
iCube | |||
) |
#define Gia_ManAreForEachCubeStore | ( | p, | |
pCube, | |||
i | |||
) | for ( i = 1; i < p->nStas && (pCube = Gia_ManAreStaInt(p, i)); i++ ) |
#define Gia_ManAreForEachCubeVec | ( | vVec, | |
p, | |||
pCube, | |||
i | |||
) | for ( i = 0; i < Vec_IntSize(vVec) && (pCube = Gia_ManAreStaInt(p, Vec_IntEntry(vVec,i))); i++ ) |
#define MAX_CALL_NUM (1000000) |
DECLARATIONS ///.
CFile****************************************************************
FileName [gia.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis []
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
typedef struct Gia_ManAre_t_ Gia_ManAre_t |
typedef struct Gia_ObjAre_t_ Gia_ObjAre_t |
typedef struct Gia_PtrAre_t_ Gia_PtrAre_t |
typedef union Gia_PtrAreInt_t_ Gia_PtrAreInt_t |
typedef struct Gia_StaAre_t_ Gia_StaAre_t |
|
inlinestatic |
Definition at line 128 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Compresses the list by removing unused cubes.]
Description []
SideEffects []
SeeAlso []
Definition at line 940 of file giaEra2.c.
Gia_ManAre_t* Gia_ManAreCreate | ( | Gia_Man_t * | pAig | ) |
Function*************************************************************
Synopsis [Creates reachability manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 481 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns new object.]
Description []
SideEffects []
SeeAlso []
Definition at line 541 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns new state.]
Description []
SideEffects []
SeeAlso []
Definition at line 568 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Creates new state state with latch init values.]
Description []
SideEffects []
SeeAlso []
Definition at line 660 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Creates new state state from the latch values.]
Description []
SideEffects []
SeeAlso []
Definition at line 633 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Adds new state to the list.]
Description []
SideEffects []
SeeAlso []
Definition at line 1040 of file giaEra2.c.
void Gia_ManAreCubeAddToTree_rec | ( | Gia_ManAre_t * | p, |
Gia_ObjAre_t * | pObj, | ||
Gia_StaAre_t * | pSta | ||
) |
Function*************************************************************
Synopsis [Adds new cube to the tree.]
Description []
SideEffects []
SeeAlso []
Definition at line 1102 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Checks if the state exists in the list.]
Description [The state may be sharped.]
SideEffects []
SeeAlso []
Definition at line 971 of file giaEra2.c.
int Gia_ManAreCubeCheckTree | ( | Gia_ManAre_t * | p, |
Gia_StaAre_t * | pSta | ||
) |
Function*************************************************************
Synopsis [Checks if the cube like this exists in the tree.]
Description []
SideEffects []
SeeAlso []
Definition at line 1260 of file giaEra2.c.
int Gia_ManAreCubeCheckTree_rec | ( | Gia_ManAre_t * | p, |
Gia_ObjAre_t * | pObj, | ||
Gia_StaAre_t * | pSta | ||
) |
Function*************************************************************
Synopsis [Checks if the cube like this exists in the tree.]
Description []
SideEffects []
SeeAlso []
Definition at line 1065 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Collects overlapping cubes in the list.]
Description []
SideEffects []
SeeAlso []
Definition at line 1179 of file giaEra2.c.
int Gia_ManAreCubeCollectTree_rec | ( | Gia_ManAre_t * | p, |
Gia_ObjAre_t * | pObj, | ||
Gia_StaAre_t * | pSta | ||
) |
Function*************************************************************
Synopsis [Collects overlapping cubes in the tree.]
Description []
SideEffects []
SeeAlso []
Definition at line 1223 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Processes the new cube.]
Description []
SideEffects []
SeeAlso []
Definition at line 1357 of file giaEra2.c.
int Gia_ManAreDepth | ( | Gia_ManAre_t * | p, |
int | iState | ||
) |
Function*************************************************************
Synopsis [Counts the depth of state transitions leading ot this state.]
Description []
SideEffects []
SeeAlso []
Definition at line 714 of file giaEra2.c.
Abc_Cex_t* Gia_ManAreDeriveCex | ( | Gia_ManAre_t * | p, |
Gia_StaAre_t * | pLast | ||
) |
Function*************************************************************
Synopsis [Returns the status of the cone.]
Description []
SideEffects []
SeeAlso []
Definition at line 1919 of file giaEra2.c.
void Gia_ManAreDeriveCexSat | ( | Gia_ManAre_t * | p, |
Gia_StaAre_t * | pCur, | ||
Gia_StaAre_t * | pNext, | ||
int | iOutFailed | ||
) |
Function*************************************************************
Synopsis [Computes satisfying assignment in one timeframe.]
Description [Returns the vector of integers represeting PIO ids of the primary inputs that should be 1 in the counter-example.]
SideEffects []
SeeAlso []
Definition at line 1852 of file giaEra2.c.
ABC_NAMESPACE_IMPL_END ABC_NAMESPACE_IMPL_START void Gia_ManAreDeriveCexSatStart | ( | Gia_ManAre_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1799 of file giaEra2.c.
void Gia_ManAreDeriveCexSatStop | ( | Gia_ManAre_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1827 of file giaEra2.c.
int Gia_ManAreDeriveNexts | ( | Gia_ManAre_t * | p, |
Gia_PtrAre_t | Sta | ||
) |
Function*************************************************************
Synopsis [Derives next state cubes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1618 of file giaEra2.c.
int Gia_ManAreDeriveNexts_rec | ( | Gia_ManAre_t * | p, |
Gia_PtrAre_t | Sta | ||
) |
Function*************************************************************
Synopsis [Derives next state cubes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1541 of file giaEra2.c.
int Gia_ManAreFindBestVar | ( | Gia_ManAre_t * | p, |
Gia_PtrAre_t | List | ||
) |
Function*************************************************************
Synopsis [Best var has max weight.]
Description [Weight is defined as the number of 0/1-lits minus the absolute value of the diff between the number of 0-lits and 1-lits.]
SideEffects []
SeeAlso []
Definition at line 853 of file giaEra2.c.
void Gia_ManAreFree | ( | Gia_ManAre_t * | p | ) |
|
inlinestatic |
Function*************************************************************
Synopsis [Counts the number of cubes in the list.]
Description []
SideEffects []
SeeAlso []
Definition at line 734 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Counts the number of used cubes in the tree.]
Description []
SideEffects []
SeeAlso []
Definition at line 776 of file giaEra2.c.
int Gia_ManAreListCountUsed_rec | ( | Gia_ManAre_t * | p, |
Gia_PtrAre_t | Root, | ||
int | fTree | ||
) |
Function*************************************************************
Synopsis [Counts the number of used cubes in the tree.]
Description []
SideEffects []
SeeAlso []
Definition at line 754 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns the most used CI, or NULL if condition is met.]
Description []
SideEffects []
SeeAlso []
Definition at line 1418 of file giaEra2.c.
Function*************************************************************
Synopsis [Returns the most used CI, or NULL if condition is met.]
Description []
SideEffects []
SeeAlso []
Definition at line 1392 of file giaEra2.c.
|
inlinestatic |
Definition at line 135 of file giaEra2.c.
|
inlinestatic |
Definition at line 137 of file giaEra2.c.
|
inlinestatic |
Definition at line 139 of file giaEra2.c.
int Gia_ManArePerform | ( | Gia_Man_t * | pAig, |
int | nStatesMax, | ||
int | fMiter, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Performs explicit reachability.]
Description []
SideEffects []
SeeAlso []
Definition at line 1710 of file giaEra2.c.
void Gia_ManArePrintCube | ( | Gia_ManAre_t * | p, |
Gia_StaAre_t * | pSta | ||
) |
|
inlinestatic |
Function*************************************************************
Synopsis [Prints used cubes in the list.]
Description []
SideEffects []
SeeAlso []
Definition at line 793 of file giaEra2.c.
void Gia_ManArePrintReport | ( | Gia_ManAre_t * | p, |
abctime | Time, | ||
int | fFinal | ||
) |
Function*************************************************************
Synopsis [Prints the report]
Description []
SideEffects []
SeeAlso []
Definition at line 1683 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Prints used cubes in the tree.]
Description []
SideEffects []
SeeAlso []
Definition at line 835 of file giaEra2.c.
int Gia_ManArePrintUsed_rec | ( | Gia_ManAre_t * | p, |
Gia_PtrAre_t | Root, | ||
int | fTree | ||
) |
Function*************************************************************
Synopsis [Prints used cubes in the tree.]
Description []
SideEffects []
SeeAlso []
Definition at line 813 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Rebalances the tree when cubes exceed the limit.]
Description []
SideEffects []
SeeAlso []
Definition at line 903 of file giaEra2.c.
|
inlinestatic |
|
inlinestatic |
Definition at line 136 of file giaEra2.c.
|
inlinestatic |
Definition at line 138 of file giaEra2.c.
|
inlinestatic |
Definition at line 140 of file giaEra2.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Counts maximum support of primary outputs.]
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
int Gia_ManCountMinterms | ( | Gia_ManAre_t * | p | ) |
Function*************************************************************
Synopsis [Count state minterms contains in the used cubes.]
Description []
SideEffects []
SeeAlso []
Definition at line 223 of file giaEra2.c.
void Gia_ManCountMintermsInCube | ( | Gia_StaAre_t * | pCube, |
int | nVars, | ||
unsigned * | pStore | ||
) |
Function*************************************************************
Synopsis [Derives the TFO of each CI.]
Description []
SideEffects []
SeeAlso []
Definition at line 312 of file giaEra2.c.
Function*************************************************************
Synopsis [Derives the TFO of one CI.]
Description []
SideEffects []
SeeAlso []
Definition at line 252 of file giaEra2.c.
Function*************************************************************
Synopsis [Derives the TFO of one CI.]
Description []
SideEffects []
SeeAlso []
Definition at line 280 of file giaEra2.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 142 of file giaEra2.c.
|
inlinestatic |
Definition at line 143 of file giaEra2.c.
|
inlinestatic |
Definition at line 144 of file giaEra2.c.
|
inlinestatic |
Definition at line 129 of file giaEra2.c.
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Returns the number of dashes in p1 that are non-dashes in p2.]
Description []
SideEffects []
SeeAlso []
Definition at line 397 of file giaEra2.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Returns the number of a variable for sharping the cube.]
Description [Counts the number of variables that have dash in p1 and non-dash in p2. If there is exactly one such variable, returns its index. Otherwise returns -1.]
SideEffects []
SeeAlso []
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 153 of file giaEra2.c.
|
inlinestatic |
Definition at line 152 of file giaEra2.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |