From 633db0f4ad4b4d2dc7a29d26eff752f1861eccdd Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 9 Aug 2013 17:54:18 -0700 Subject: Improvements to buffering and sizing. --- src/map/scl/sclLoad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/scl/sclLoad.c') diff --git a/src/map/scl/sclLoad.c b/src/map/scl/sclLoad.c index 282fd7ee..10b5d8f1 100644 --- a/src/map/scl/sclLoad.c +++ b/src/map/scl/sclLoad.c @@ -132,12 +132,12 @@ void Abc_SclComputeLoad( SC_Man * p ) Vec_FltFree( vWireCaps ); } // check input loads - if ( p->pInDrive != NULL ) + if ( p->vInDrive != NULL ) { Abc_NtkForEachPi( p->pNtk, pObj, i ) { SC_Pair * pLoad = Abc_SclObjLoad( p, pObj ); - if ( p->pInDrive[Abc_ObjId(pObj)] != 0 && (pLoad->rise > p->pInDrive[Abc_ObjId(pObj)] || pLoad->fall > p->pInDrive[Abc_ObjId(pObj)]) ) + if ( Abc_SclObjInDrive(p, pObj) != 0 && (pLoad->rise > Abc_SclObjInDrive(p, pObj) || pLoad->fall > Abc_SclObjInDrive(p, pObj)) ) printf( "Maximum input drive strength is exceeded at primary input %d.\n", i ); } } -- cgit v1.2.3