summaryrefslogtreecommitdiffstats
path: root/src/map/scl/sclLoad.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-08-09 17:54:18 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-08-09 17:54:18 -0700
commit633db0f4ad4b4d2dc7a29d26eff752f1861eccdd (patch)
treee38896c7dfd5294b34674535efdab3359c97820a /src/map/scl/sclLoad.c
parentb98345ced528bb638fb3c07d3f7a5dce7497162b (diff)
downloadabc-633db0f4ad4b4d2dc7a29d26eff752f1861eccdd.tar.gz
abc-633db0f4ad4b4d2dc7a29d26eff752f1861eccdd.tar.bz2
abc-633db0f4ad4b4d2dc7a29d26eff752f1861eccdd.zip
Improvements to buffering and sizing.
Diffstat (limited to 'src/map/scl/sclLoad.c')
-rw-r--r--src/map/scl/sclLoad.c4
1 files changed, 2 insertions, 2 deletions
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 );
}
}