diff options
Diffstat (limited to 'src/map/scl')
-rw-r--r-- | src/map/scl/sclLoad.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/scl/sclLoad.c b/src/map/scl/sclLoad.c index a30a411e..0032ed33 100644 --- a/src/map/scl/sclLoad.c +++ b/src/map/scl/sclLoad.c @@ -56,6 +56,8 @@ Vec_Flt_t * Abc_SclFindWireCaps( SC_WireLoad * pWL, int nFanoutMax ) 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 ); + if ( Vec_FltEntry(vCaps, 1) == 0 ) + return vCaps; // interpolate between the values assert( Vec_FltEntry(vCaps, 1) != 0 ); iPrev = 1; |