diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-09-24 12:12:36 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-09-24 12:12:36 -0700 |
commit | 78951b4c6f68af1423d29f6eaf96edb24f792ac3 (patch) | |
tree | e42c6ace456ccc5585d520c8f651804c3022ce63 /src/map/scl/sclLoad.c | |
parent | 3f77172a7e619a4739bc7acb0ee41a6cd3f6d47e (diff) | |
download | abc-78951b4c6f68af1423d29f6eaf96edb24f792ac3.tar.gz abc-78951b4c6f68af1423d29f6eaf96edb24f792ac3.tar.bz2 abc-78951b4c6f68af1423d29f6eaf96edb24f792ac3.zip |
Improvements to Scl_Lib/SC_Cell data-structure.
Diffstat (limited to 'src/map/scl/sclLoad.c')
-rw-r--r-- | src/map/scl/sclLoad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/scl/sclLoad.c b/src/map/scl/sclLoad.c index 0032ed33..f44d4df8 100644 --- a/src/map/scl/sclLoad.c +++ b/src/map/scl/sclLoad.c @@ -50,12 +50,12 @@ Vec_Flt_t * Abc_SclFindWireCaps( SC_WireLoad * pWL, int nFanoutMax ) assert( pWL != NULL ); // find the biggest fanout count EntryMax = 0; - Vec_IntForEachEntry( pWL->vFanout, Entry, i ) + Vec_IntForEachEntry( &pWL->vFanout, Entry, i ) EntryMax = Abc_MaxInt( EntryMax, Entry ); // create the array vCaps = Vec_FltStart( Abc_MaxInt(nFanoutMax, EntryMax) + 1 ); - Vec_IntForEachEntry( pWL->vFanout, Entry, i ) - Vec_FltWriteEntry( vCaps, Entry, Vec_FltEntry(pWL->vLen, i) * pWL->cap ); + Vec_IntForEachEntry( &pWL->vFanout, Entry, i ) + Vec_FltWriteEntry( vCaps, Entry, Vec_FltEntry(&pWL->vLen, i) * pWL->cap ); if ( Vec_FltEntry(vCaps, 1) == 0 ) return vCaps; // interpolate between the values |