diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2007-01-27 08:01:00 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2007-01-27 08:01:00 -0800 |
commit | 12578e622f62bde4cfc1d3b055aa8747e5c9590b (patch) | |
tree | a8658a14de42ec0737976e2f3039850728e0bca3 /src/opt/res/resWin.c | |
parent | 1c26e2d29768c64315447969f137e3bf9ffa7dac (diff) | |
download | abc-12578e622f62bde4cfc1d3b055aa8747e5c9590b.tar.gz abc-12578e622f62bde4cfc1d3b055aa8747e5c9590b.tar.bz2 abc-12578e622f62bde4cfc1d3b055aa8747e5c9590b.zip |
Version abc70127
Diffstat (limited to 'src/opt/res/resWin.c')
-rw-r--r-- | src/opt/res/resWin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opt/res/resWin.c b/src/opt/res/resWin.c index b5fe0641..fa74b219 100644 --- a/src/opt/res/resWin.c +++ b/src/opt/res/resWin.c @@ -243,6 +243,7 @@ void Res_WinAddMissing_rec( Res_Win_t * p, Abc_Obj_t * pObj ) return; if ( !Abc_NodeIsTravIdCurrent(pObj) || (int)pObj->Level <= p->nLevLeaves ) { + p->nLeavesPlus++; Vec_PtrPush( p->vLeaves, pObj ); pObj->fMarkA = 1; return; @@ -349,6 +350,7 @@ int Res_WinCompute( Abc_Obj_t * pNode, int nWinTfiMax, int nWinTfoMax, Res_Win_t p->pNode = pNode; p->nWinTfiMax = nWinTfiMax; p->nWinTfoMax = nWinTfoMax; + p->nLeavesPlus = 0; p->nLevLeaves = ABC_MAX( 0, ((int)p->pNode->Level) - p->nWinTfiMax - 1 ); // collect the nodes in TFI cone of pNode above the level of leaves (p->nLevLeaves) Res_WinCollectNodeTfi( p ); |