abc-master
|
#include "gia.h"
Go to the source code of this file.
Data Structures | |
struct | Frc_Obj_t_ |
struct | Frc_Man_t_ |
Macros | |
#define | Frc_ManForEachObj(p, pObj, i) for ( i = 0; (i < p->nObjData) && (pObj = Frc_ManObj(p,i)); i += Frc_ObjSize(pObj) ) |
#define | Frc_ManForEachObjVec(vVec, p, pObj, i) for ( i = 0; (i < Vec_IntSize(vVec)) && ((pObj) = Frc_ManObj(p, Vec_IntEntry(vVec,i))); i++ ) |
#define | Frc_ManForEachNode(p, pObj, i) for ( i = 0; (i < p->nObjData) && (pObj = Frc_ManObj(p,i)); i += Frc_ObjSize(pObj) ) if ( Frc_ObjIsTerm(pObj) ) {} else |
#define | Frc_ManForEachCi(p, pObj, i) for ( i = 0; (i < Vec_IntSize(p->vCis)) && (pObj = Frc_ManObj(p,Vec_IntEntry(p->vCis,i))); i++ ) |
#define | Frc_ManForEachCo(p, pObj, i) for ( i = 0; (i < Vec_IntSize(p->vCos)) && (pObj = Frc_ManObj(p,Vec_IntEntry(p->vCos,i))); i++ ) |
#define | Frc_ObjForEachFanin(pObj, pNext, i) for ( i = 0; (i < (int)pObj->nFanins) && (pNext = Frc_ObjFanin(pObj,i)); i++ ) |
#define | Frc_ObjForEachFaninReverse(pObj, pNext, i) for ( i = (int)pObj->nFanins - 1; (i >= 0) && (pNext = Frc_ObjFanin(pObj,i)); i-- ) |
#define | Frc_ObjForEachFanout(pObj, pNext, i) for ( i = 0; (i < (int)pObj->nFanouts) && (pNext = Frc_ObjFanout(pObj,i)); i++ ) |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Frc_Obj_t_ | Frc_Obj_t |
DECLARATIONS ///. More... | |
typedef struct Frc_Man_t_ | Frc_Man_t |
#define Frc_ManForEachCi | ( | p, | |
pObj, | |||
i | |||
) | for ( i = 0; (i < Vec_IntSize(p->vCis)) && (pObj = Frc_ManObj(p,Vec_IntEntry(p->vCis,i))); i++ ) |
Definition at line 103 of file giaForce.c.
#define Frc_ManForEachCo | ( | p, | |
pObj, | |||
i | |||
) | for ( i = 0; (i < Vec_IntSize(p->vCos)) && (pObj = Frc_ManObj(p,Vec_IntEntry(p->vCos,i))); i++ ) |
Definition at line 105 of file giaForce.c.
#define Frc_ManForEachNode | ( | p, | |
pObj, | |||
i | |||
) | for ( i = 0; (i < p->nObjData) && (pObj = Frc_ManObj(p,i)); i += Frc_ObjSize(pObj) ) if ( Frc_ObjIsTerm(pObj) ) {} else |
Definition at line 101 of file giaForce.c.
#define Frc_ManForEachObj | ( | p, | |
pObj, | |||
i | |||
) | for ( i = 0; (i < p->nObjData) && (pObj = Frc_ManObj(p,i)); i += Frc_ObjSize(pObj) ) |
Definition at line 96 of file giaForce.c.
#define Frc_ManForEachObjVec | ( | vVec, | |
p, | |||
pObj, | |||
i | |||
) | for ( i = 0; (i < Vec_IntSize(vVec)) && ((pObj) = Frc_ManObj(p, Vec_IntEntry(vVec,i))); i++ ) |
Definition at line 98 of file giaForce.c.
#define Frc_ObjForEachFanin | ( | pObj, | |
pNext, | |||
i | |||
) | for ( i = 0; (i < (int)pObj->nFanins) && (pNext = Frc_ObjFanin(pObj,i)); i++ ) |
Definition at line 108 of file giaForce.c.
#define Frc_ObjForEachFaninReverse | ( | pObj, | |
pNext, | |||
i | |||
) | for ( i = (int)pObj->nFanins - 1; (i >= 0) && (pNext = Frc_ObjFanin(pObj,i)); i-- ) |
Definition at line 110 of file giaForce.c.
#define Frc_ObjForEachFanout | ( | pObj, | |
pNext, | |||
i | |||
) | for ( i = 0; (i < (int)pObj->nFanouts) && (pNext = Frc_ObjFanout(pObj,i)); i++ ) |
Definition at line 112 of file giaForce.c.
typedef struct Frc_Man_t_ Frc_Man_t |
Definition at line 55 of file giaForce.c.
typedef typedefABC_NAMESPACE_IMPL_START struct Frc_Obj_t_ Frc_Obj_t |
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 [
]
Definition at line 36 of file giaForce.c.
void For_ManExperiment | ( | Gia_Man_t * | pGia, |
int | nIters, | ||
int | fClustered, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Experiment with the FORCE algorithm.]
Description []
SideEffects []
SeeAlso []
Definition at line 1039 of file giaForce.c.
void For_ManFileExperiment | ( | ) |
Function*************************************************************
Synopsis [Experiment with the FORCE algorithm.]
Description []
SideEffects []
SeeAlso []
Definition at line 1066 of file giaForce.c.
void Frc_DumpGraphIntoFile | ( | Frc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Computes the distances from the given set of objects.]
Description [Returns one of the most distant objects.]
SideEffects []
SeeAlso []
Definition at line 1002 of file giaForce.c.
void Frc_ManArrayShuffle | ( | Vec_Int_t * | vArray | ) |
Function*************************************************************
Synopsis [Shuffles array of random integers.]
Description []
SideEffects []
SeeAlso []
Definition at line 775 of file giaForce.c.
Definition at line 79 of file giaForce.c.
|
inlinestatic |
Definition at line 71 of file giaForce.c.
Definition at line 80 of file giaForce.c.
Function*************************************************************
Synopsis [Collects CO handles.]
Description []
SideEffects []
SeeAlso []
Definition at line 692 of file giaForce.c.
void Frc_ManCollectSuper | ( | Gia_Man_t * | p, |
Gia_Obj_t * | pObj, | ||
Vec_Int_t * | vSuper, | ||
Vec_Int_t * | vVisit | ||
) |
Function*************************************************************
Synopsis [Collect the fanin IDs.]
Description []
SideEffects []
SeeAlso []
Definition at line 289 of file giaForce.c.
void Frc_ManCollectSuper_rec | ( | Gia_Man_t * | p, |
Gia_Obj_t * | pObj, | ||
Vec_Int_t * | vSuper, | ||
Vec_Int_t * | vVisit | ||
) |
Function*************************************************************
Synopsis [Collect the fanin IDs.]
Description []
SideEffects []
SeeAlso []
Definition at line 261 of file giaForce.c.
|
inlinestatic |
Definition at line 72 of file giaForce.c.
void Frc_ManCreateRefsSpecial | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Assigns references while removing the MUX/XOR ones.]
Description []
SideEffects []
SeeAlso []
Definition at line 313 of file giaForce.c.
Function*************************************************************
Synopsis [Computes cross cut size for the given order of POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 658 of file giaForce.c.
Function*************************************************************
Synopsis [Computes cross cut size for the given order of POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 631 of file giaForce.c.
Function*************************************************************
Synopsis [Computes cross cut size for the given order of POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 604 of file giaForce.c.
Function*************************************************************
Synopsis [Computes cross cut size for the given order of POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 714 of file giaForce.c.
|
inlinestatic |
Definition at line 76 of file giaForce.c.
Definition at line 78 of file giaForce.c.
|
inlinestatic |
Definition at line 75 of file giaForce.c.
|
inlinestatic |
Definition at line 73 of file giaForce.c.
Function*************************************************************
Synopsis [Generates DFS placement.]
Description []
SideEffects []
SeeAlso []
Definition at line 823 of file giaForce.c.
Function*************************************************************
Synopsis [Computes cross cut size for the given order of POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 798 of file giaForce.c.
Function*************************************************************
Synopsis [Generates DFS placement by trying both orders.]
Description [Returns the cross cut size of the best order. ]
SideEffects []
SeeAlso []
Definition at line 853 of file giaForce.c.
void Frc_ManPlacementRefine | ( | Frc_Man_t * | p, |
int | nIters, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Performs iterative refinement of the given placement.]
Description []
SideEffects []
SeeAlso []
Definition at line 886 of file giaForce.c.
void Frc_ManPlaceRandom | ( | Frc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Generates random placement.]
Description []
SideEffects []
SeeAlso []
Definition at line 743 of file giaForce.c.
|
inlinestatic |
Definition at line 74 of file giaForce.c.
void Frc_ManPrintStats | ( | Frc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Creates logic network isomorphic to the given AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 557 of file giaForce.c.
|
inlinestatic |
Definition at line 70 of file giaForce.c.
Function*************************************************************
Synopsis [Creates logic network isomorphic to the given AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 428 of file giaForce.c.
Function*************************************************************
Synopsis [Creates logic network isomorphic to the given AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 150 of file giaForce.c.
void Frc_ManStop | ( | Frc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Creates logic network isomorphic to the given AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 584 of file giaForce.c.
void Frc_ManTransformRefs | ( | Gia_Man_t * | p, |
int * | pnObjs, | ||
int * | pnFanios | ||
) |
Function*************************************************************
Synopsis [Assigns references while removing the MUX/XOR ones.]
Description []
SideEffects []
SeeAlso []
Definition at line 359 of file giaForce.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Creates fanin/fanout pair.]
Description []
SideEffects []
SeeAlso []
Definition at line 131 of file giaForce.c.
Definition at line 93 of file giaForce.c.
|
inlinestatic |
Definition at line 91 of file giaForce.c.
Definition at line 94 of file giaForce.c.
|
inlinestatic |
Definition at line 92 of file giaForce.c.
int Frc_ObjFanoutsAreCos | ( | Frc_Obj_t * | pThis | ) |
Function*************************************************************
Synopsis [Returns 1 if all fanouts are COsw.]
Description []
SideEffects []
SeeAlso []
Definition at line 981 of file giaForce.c.
|
inlinestatic |
Definition at line 83 of file giaForce.c.
|
inlinestatic |
Definition at line 84 of file giaForce.c.
|
inlinestatic |
Definition at line 88 of file giaForce.c.
|
inlinestatic |
Definition at line 87 of file giaForce.c.
|
inlinestatic |
Definition at line 85 of file giaForce.c.
|
inlinestatic |
Definition at line 86 of file giaForce.c.
|
inlinestatic |
Definition at line 82 of file giaForce.c.
|
inlinestatic |
Definition at line 90 of file giaForce.c.