summaryrefslogtreecommitdiffstats
path: root/src/map/scl
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-10-26 16:44:04 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-10-26 16:44:04 -0700
commitbd586dd3558e4b967a2e3f569b89c9c35a8f548b (patch)
tree04373f40e4291b0f6df0624c8ddcc7be39bae0de /src/map/scl
parent9b6ff10687b8d8050a7e90430edae7fe5b0f8786 (diff)
downloadabc-bd586dd3558e4b967a2e3f569b89c9c35a8f548b.tar.gz
abc-bd586dd3558e4b967a2e3f569b89c9c35a8f548b.tar.bz2
abc-bd586dd3558e4b967a2e3f569b89c9c35a8f548b.zip
Changes for delay-oriented computation.
Diffstat (limited to 'src/map/scl')
-rw-r--r--src/map/scl/sclSize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/scl/sclSize.c b/src/map/scl/sclSize.c
index d323df8b..ab3e3f3e 100644
--- a/src/map/scl/sclSize.c
+++ b/src/map/scl/sclSize.c
@@ -567,7 +567,7 @@ void Abc_SclTimeIncUpdateLevel_rec( Abc_Obj_t * pObj )
{
Abc_Obj_t * pFanout;
int i, LevelNew = Abc_ObjLevelNew(pObj);
- if ( LevelNew == (int)pObj->Level )
+ if ( LevelNew == (int)pObj->Level && Abc_ObjIsNode(pObj) && Abc_ObjFaninNum(pObj) > 0 )
return;
pObj->Level = LevelNew;
Abc_ObjForEachFanout( pObj, pFanout, i )