summaryrefslogtreecommitdiffstats
path: root/src/map/scl/sclLoad.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-09-01 13:47:41 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-09-01 13:47:41 -0700
commitba597f67874f225aae84cc9ab19976538b5dc926 (patch)
tree0714a442b5579a3bfaa12b51a7c2f8c5e8cb676d /src/map/scl/sclLoad.c
parentfe1a16e9b43e841b740048b142dbb619175457ed (diff)
downloadabc-ba597f67874f225aae84cc9ab19976538b5dc926.tar.gz
abc-ba597f67874f225aae84cc9ab19976538b5dc926.tar.bz2
abc-ba597f67874f225aae84cc9ab19976538b5dc926.zip
New package to read/write a subset of Liberty for STA.
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 29f73a60..3dd66f6a 100644
--- a/src/map/scl/sclLoad.c
+++ b/src/map/scl/sclLoad.c
@@ -54,7 +54,7 @@ Vec_Flt_t * Abc_SclFindWireCaps( SC_Man * p )
{
float Area;
SC_WireLoadSel * pWLS = NULL;
- Vec_PtrForEachEntry( SC_WireLoadSel *, p->pLib->vWireLoadSels, pWLS, i )
+ SC_LibForEachWireLoadSel( p->pLib, pWLS, i )
if ( !strcmp(pWLS->pName, p->pLib->default_wire_load_sel) )
break;
if ( i == Vec_PtrSize(p->pLib->vWireLoadSels) )
@@ -81,7 +81,7 @@ Vec_Flt_t * Abc_SclFindWireCaps( SC_Man * p )
}
// Get the actual table and reformat it for 'wire_cap' output:
assert( p->pWLoadUsed != NULL );
- Vec_PtrForEachEntry( SC_WireLoad *, p->pLib->vWireLoads, pWL, i )
+ SC_LibForEachWireLoad( p->pLib, pWL, i )
if ( !strcmp(pWL->pName, p->pWLoadUsed) )
break;
if ( i == Vec_PtrSize(p->pLib->vWireLoadSels) )