51 int nFans = pGate? pGate->
nPins : 1;
78 int i, k, iFanin, fCompl;
79 float TotalArea = 0.0;
101 TotalArea += p->
pLib->pGateInv->dArea;
118 if ( (
int)pFanin->
fPolar == fCompl )
126 TotalArea += pGate->
dArea;
134 TotalArea += p->
pLib->pGateInv->dArea;
148 TotalArea += p->
pLib->pGate0->dArea;
153 TotalArea += p->
pLib->pGate1->dArea;
162 iFanin = pFanin->
iData;
164 iFanin = pFanin->
iData + 1;
169 pRes->
pFans[0] = iFanin;
static Amap_Gat_t * Amap_LibGate(Amap_Lib_t *p, int i)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
Vec_Ptr_t * Amap_ManProduceMapped(Amap_Man_t *p)
static Amap_Obj_t * Amap_ObjFanin0(Amap_Man_t *p, Amap_Obj_t *pObj)
#define Amap_MatchForEachFaninCompl(p, pM, pFanin, fCompl, i)
char * Aig_MmFlexEntryFetch(Aig_MmFlex_t *p, int nBytes)
static ABC_NAMESPACE_IMPL_START char * Amap_OuputStrsav(Aig_MmFlex_t *p, char *pStr)
DECLARATIONS ///.
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
#define Amap_ManForEachObj(p, pObj, i)
static int Vec_PtrSize(Vec_Ptr_t *p)
Amap_Out_t * Amap_OutputStructAlloc(Aig_MmFlex_t *pMem, Amap_Gat_t *pGate)
FUNCTION DEFINITIONS ///.
static int Amap_ObjIsPi(Amap_Obj_t *pObj)
static int Amap_ObjIsNode(Amap_Obj_t *pObj)
static int Amap_ObjRefsTotal(Amap_Obj_t *pObj)
static int Amap_ObjIsPo(Amap_Obj_t *pObj)
#define ABC_NAMESPACE_IMPL_END
static int Amap_ObjIsConst1(Amap_Obj_t *pObj)
#define ABC_NAMESPACE_IMPL_START
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
Aig_MmFlex_t * Aig_MmFlexStart()
static int Amap_ObjFaninC0(Amap_Obj_t *pObj)