diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-04 12:22:59 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-04 12:22:59 -0700 |
commit | 6b2744ff771eb71b5246aa9930ea5ff8862e106d (patch) | |
tree | 7d25a33233e84fd00834809392143580eed5f86e /src/map/scl/sclLoad.c | |
parent | b26d698ff8dc7f95fdfed7a4560422893e274bf8 (diff) | |
download | abc-6b2744ff771eb71b5246aa9930ea5ff8862e106d.tar.gz abc-6b2744ff771eb71b5246aa9930ea5ff8862e106d.tar.bz2 abc-6b2744ff771eb71b5246aa9930ea5ff8862e106d.zip |
Improving print-outs in 'stime' and 'gsize'.
Diffstat (limited to 'src/map/scl/sclLoad.c')
-rw-r--r-- | src/map/scl/sclLoad.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/scl/sclLoad.c b/src/map/scl/sclLoad.c index 3d763bd7..0ad3a405 100644 --- a/src/map/scl/sclLoad.c +++ b/src/map/scl/sclLoad.c @@ -84,7 +84,7 @@ Vec_Flt_t * Abc_SclFindWireCaps( SC_Man * p ) SC_LibForEachWireLoad( p->pLib, pWL, i ) if ( !strcmp(pWL->pName, p->pWLoadUsed) ) break; - if ( i == Vec_PtrSize(p->pLib->vWireLoadSels) ) + if ( i == Vec_PtrSize(p->pLib->vWireLoads) ) { Abc_Print( -1, "Cannot find wire load model \"%s\".\n", p->pWLoadUsed ); exit(1); @@ -143,6 +143,8 @@ void Abc_SclComputeLoad( SC_Man * p ) pLoad->fall += pPin->fall_cap; } } + if ( !p->fUseWireLoads ) + return; // add wire load vWireCaps = Abc_SclFindWireCaps( p ); if ( vWireCaps ) |