#include "base/abc/abc.h"
#include "resInt.h"
Go to the source code of this file.
Function*************************************************************
Synopsis [Dereferences the node's MFFC.]
Description []
SideEffects []
SeeAlso []
Definition at line 220 of file resDivs.c.
230 if ( --pFanin->
vFanouts.nSize == 0 )
static int Abc_ObjIsCi(Abc_Obj_t *pObj)
int Res_NodeDeref_rec(Abc_Obj_t *pNode)
#define Abc_ObjForEachFanin(pObj, pFanin, i)
static void Abc_NodeSetTravIdCurrent(Abc_Obj_t *p)
Function*************************************************************
Synopsis [References the node's MFFC.]
Description []
SideEffects []
SeeAlso []
Definition at line 247 of file resDivs.c.
255 if ( pFanin->
vFanouts.nSize++ == 0 )
static int Abc_ObjIsCi(Abc_Obj_t *pObj)
#define Abc_ObjForEachFanin(pObj, pFanin, i)
int Res_NodeRef_rec(Abc_Obj_t *pNode)
void Res_WinDivisors |
( |
Res_Win_t * |
p, |
|
|
int |
nLevDivMax |
|
) |
| |
FUNCTION DEFINITIONS ///.
MACRO DEFINITIONS ///.
Function*************************************************************
Synopsis [Adds candidate divisors of the node to its window.]
Description []
SideEffects []
SeeAlso []
Definition at line 48 of file resDivs.c.
54 p->nLevDivMax = nLevDivMax;
78 assert( (
int)pObj->Level >=
p->nLevLeafMin );
81 if ( (
int)pObj->Level >
p->nLevDivMax )
90 if ( (
int)pObj->Level >
p->nLevDivMax )
115 if ( (
int)pFanout->
Level >
p->nLevDivMax )
static void Abc_NodeSetTravIdPrevious(Abc_Obj_t *p)
static int Abc_ObjFaninNum(Abc_Obj_t *pObj)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
static int Abc_NodeIsTravIdPrevious(Abc_Obj_t *p)
static int Abc_ObjIsNode(Abc_Obj_t *pObj)
static int Abc_NodeIsTravIdCurrent(Abc_Obj_t *p)
#define Abc_ObjForEachFanout(pObj, pFanout, i)
#define Abc_ObjForEachFanin(pObj, pFanin, i)
static void Abc_NtkIncrementTravId(Abc_Ntk_t *p)
static ABC_NAMESPACE_IMPL_START void Res_WinMarkTfi(Res_Win_t *p)
DECLARATIONS ///.
void Res_WinSweepLeafTfo_rec(Abc_Obj_t *pObj, int nLevelLimit)
static void Vec_PtrClear(Vec_Ptr_t *p)
int Res_WinVisitMffc(Abc_Obj_t *pNode)
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
static void Abc_NodeSetTravIdCurrent(Abc_Obj_t *p)
DECLARATIONS ///.
CFile****************************************************************
FileName [resDivs.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Resynthesis package.]
Synopsis [Collect divisors for the given window.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - January 15, 2007.]
Revision [
- Id:
- resDivs.c,v 1.00 2007/01/15 00:00:00 alanmi Exp
]
Function*************************************************************
Synopsis [Marks the TFI cone of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 174 of file resDivs.c.
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
void Res_WinMarkTfi_rec(Res_Win_t *p, Abc_Obj_t *pObj)
static void Abc_NodeSetTravIdCurrent(Abc_Obj_t *p)
Function*************************************************************
Synopsis [Marks the TFI cone of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 150 of file resDivs.c.
static int Abc_ObjIsNode(Abc_Obj_t *pObj)
static int Abc_NodeIsTravIdCurrent(Abc_Obj_t *p)
#define Abc_ObjForEachFanin(pObj, pFanin, i)
void Res_WinMarkTfi_rec(Res_Win_t *p, Abc_Obj_t *pObj)
static void Abc_NodeSetTravIdCurrent(Abc_Obj_t *p)
void Res_WinSweepLeafTfo_rec |
( |
Abc_Obj_t * |
pObj, |
|
|
int |
nLevelLimit |
|
) |
| |
Function*************************************************************
Synopsis [Marks the TFO of the collected nodes up to the given level.]
Description []
SideEffects []
SeeAlso []
Definition at line 196 of file resDivs.c.
static int Abc_ObjIsCo(Abc_Obj_t *pObj)
static int Abc_NodeIsTravIdCurrent(Abc_Obj_t *p)
#define Abc_ObjForEachFanout(pObj, pFanout, i)
void Res_WinSweepLeafTfo_rec(Abc_Obj_t *pObj, int nLevelLimit)
static void Abc_NodeSetTravIdCurrent(Abc_Obj_t *p)
Function*************************************************************
Synopsis [Labels MFFC of the node with the current trav ID.]
Description []
SideEffects []
SeeAlso []
Definition at line 272 of file resDivs.c.
280 assert( Count1 == Count2 );
static int Abc_ObjIsNode(Abc_Obj_t *pObj)
int Res_NodeDeref_rec(Abc_Obj_t *pNode)
int Res_NodeRef_rec(Abc_Obj_t *pNode)