Go to the source code of this file.
|
static
ABC_NAMESPACE_IMPL_START
Ivy_Obj_t * | Ivy_ObjNextFanout (Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout) |
| DECLARATIONS ///. More...
|
|
static Ivy_Obj_t * | Ivy_ObjPrevFanout (Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout) |
|
static Ivy_Obj_t ** | Ivy_ObjNextFanoutPlace (Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout) |
|
static Ivy_Obj_t ** | Ivy_ObjPrevFanoutPlace (Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout) |
|
static Ivy_Obj_t ** | Ivy_ObjPrevNextFanoutPlace (Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout) |
|
static Ivy_Obj_t ** | Ivy_ObjNextPrevFanoutPlace (Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout) |
|
void | Ivy_ManStartFanout (Ivy_Man_t *p) |
| FUNCTION DEFINITIONS ///. More...
|
|
void | Ivy_ManStopFanout (Ivy_Man_t *p) |
|
void | Ivy_ObjAddFanout (Ivy_Man_t *p, Ivy_Obj_t *pFanin, Ivy_Obj_t *pFanout) |
|
void | Ivy_ObjDeleteFanout (Ivy_Man_t *p, Ivy_Obj_t *pFanin, Ivy_Obj_t *pFanout) |
|
void | Ivy_ObjPatchFanout (Ivy_Man_t *p, Ivy_Obj_t *pFanin, Ivy_Obj_t *pFanoutOld, Ivy_Obj_t *pFanoutNew) |
|
void | Ivy_ObjCollectFanouts (Ivy_Man_t *p, Ivy_Obj_t *pObj, Vec_Ptr_t *vArray) |
|
Ivy_Obj_t * | Ivy_ObjReadFirstFanout (Ivy_Man_t *p, Ivy_Obj_t *pObj) |
|
int | Ivy_ObjFanoutNum (Ivy_Man_t *p, Ivy_Obj_t *pObj) |
|
#define Ivy_ObjForEachFanoutInt |
( |
|
pObj, |
|
|
|
pFanout |
|
) |
| |
Value:for ( pFanout = (pObj)->pFanout; pFanout; \
static ABC_NAMESPACE_IMPL_START Ivy_Obj_t * Ivy_ObjNextFanout(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
DECLARATIONS ///.
Definition at line 109 of file ivyFanout.c.
#define Ivy_ObjForEachFanoutIntSafe |
( |
|
pObj, |
|
|
|
pFanout, |
|
|
|
pFanout2 |
|
) |
| |
Value:for ( pFanout = (pObj)->pFanout, \
pFanout; \
pFanout = pFanout2, \
static ABC_NAMESPACE_IMPL_START Ivy_Obj_t * Ivy_ObjNextFanout(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
DECLARATIONS ///.
Definition at line 114 of file ivyFanout.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Starts the fanout representation.]
Description []
SideEffects []
SeeAlso []
Definition at line 136 of file ivyFanout.c.
static Ivy_Obj_t * Ivy_ObjFanin1(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin0(Ivy_Obj_t *pObj)
void Ivy_ObjAddFanout(Ivy_Man_t *p, Ivy_Obj_t *pFanin, Ivy_Obj_t *pFanout)
#define Ivy_ManForEachObj(p, pObj, i)
Function*************************************************************
Synopsis [Stops the fanout representation.]
Description []
SideEffects []
SeeAlso []
Definition at line 162 of file ivyFanout.c.
169 pObj->pFanout = pObj->pNextFan0 = pObj->pNextFan1 = pObj->pPrevFan0 = pObj->pPrevFan1 = NULL;
#define Ivy_ManForEachObj(p, pObj, i)
Function*************************************************************
Synopsis [Add the fanout.]
Description []
SideEffects []
SeeAlso []
Definition at line 183 of file ivyFanout.c.
static Ivy_Obj_t ** Ivy_ObjNextFanoutPlace(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
static Ivy_Obj_t ** Ivy_ObjPrevFanoutPlace(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
Function*************************************************************
Synopsis [Starts iteration through the fanouts.]
Description [Copies the currently available fanouts into the array.]
SideEffects [Can be used while the fanouts are being removed.]
SeeAlso []
Definition at line 262 of file ivyFanout.c.
static int Ivy_IsComplement(Ivy_Obj_t *p)
#define Ivy_ObjForEachFanoutInt(pObj, pFanout)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
static void Vec_PtrClear(Vec_Ptr_t *p)
Function*************************************************************
Synopsis [Removes the fanout.]
Description []
SideEffects []
SeeAlso []
Definition at line 205 of file ivyFanout.c.
207 Ivy_Obj_t ** ppPlace1, ** ppPlace2, ** ppPlaceN;
212 assert( *ppPlaceN == pFanout );
214 *ppPlaceN = *ppPlace1;
218 assert( ppPlaceN == NULL || *ppPlaceN == pFanout );
220 *ppPlaceN = *ppPlace2;
static Ivy_Obj_t ** Ivy_ObjNextPrevFanoutPlace(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
static Ivy_Obj_t ** Ivy_ObjPrevNextFanoutPlace(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
static Ivy_Obj_t ** Ivy_ObjNextFanoutPlace(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
static Ivy_Obj_t ** Ivy_ObjPrevFanoutPlace(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
Function*************************************************************
Synopsis [Reads one fanout.]
Description [Returns fanout if there is only one fanout.]
SideEffects []
SeeAlso []
Definition at line 299 of file ivyFanout.c.
#define Ivy_ObjForEachFanoutInt(pObj, pFanout)
DECLARATIONS ///.
CFile****************************************************************
FileName [ivyFanout.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [And-Inverter Graph package.]
Synopsis [Representation of the fanouts.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 11, 2006.]
Revision [
- Id:
- ivyFanout.c,v 1.00 2006/05/11 00:00:00 alanmi Exp
]
Definition at line 31 of file ivyFanout.c.
35 if ( pFanout == NULL )
static int Ivy_IsComplement(Ivy_Obj_t *p)
static Ivy_Obj_t * Ivy_ObjFanin1(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin0(Ivy_Obj_t *pObj)
Definition at line 57 of file ivyFanout.c.
static int Ivy_IsComplement(Ivy_Obj_t *p)
static Ivy_Obj_t * Ivy_ObjFanin1(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin0(Ivy_Obj_t *pObj)
Definition at line 94 of file ivyFanout.c.
static int Ivy_IsComplement(Ivy_Obj_t *p)
static Ivy_Obj_t * Ivy_ObjFanin1(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin0(Ivy_Obj_t *pObj)
static ABC_NAMESPACE_IMPL_START Ivy_Obj_t * Ivy_ObjNextFanout(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
DECLARATIONS ///.
Function*************************************************************
Synopsis [Replaces the fanout of pOld to be pFanoutNew.]
Description []
SideEffects []
SeeAlso []
Definition at line 237 of file ivyFanout.c.
241 assert( *ppPlace == pFanoutOld );
243 *ppPlace = pFanoutNew;
245 assert( ppPlace == NULL || *ppPlace == pFanoutOld );
247 *ppPlace = pFanoutNew;
static Ivy_Obj_t ** Ivy_ObjNextPrevFanoutPlace(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
static Ivy_Obj_t ** Ivy_ObjPrevNextFanoutPlace(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
Definition at line 44 of file ivyFanout.c.
48 if ( pFanout == NULL )
static int Ivy_IsComplement(Ivy_Obj_t *p)
static Ivy_Obj_t * Ivy_ObjFanin1(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin0(Ivy_Obj_t *pObj)
Definition at line 68 of file ivyFanout.c.
static int Ivy_IsComplement(Ivy_Obj_t *p)
static Ivy_Obj_t * Ivy_ObjFanin1(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin0(Ivy_Obj_t *pObj)
Definition at line 79 of file ivyFanout.c.
static int Ivy_IsComplement(Ivy_Obj_t *p)
static Ivy_Obj_t * Ivy_ObjFanin1(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjFanin0(Ivy_Obj_t *pObj)
static Ivy_Obj_t * Ivy_ObjPrevFanout(Ivy_Obj_t *pObj, Ivy_Obj_t *pFanout)
Function*************************************************************
Synopsis [Reads one fanout.]
Description [Returns fanout if there is only one fanout.]
SideEffects []
SeeAlso []
Definition at line 283 of file ivyFanout.c.