File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1268,19 +1268,21 @@ void HTreeBuilder::run()
12681268 computeLevelTopology (level, regionWidth, regionHeight);
12691269
12701270 if (options_->getMaxWl ()) {
1271- double maxHPWL
1272- = topologyForEachLevel_.back ().getLargestSinkRegionHPWL (wireSegmentUnit_);
1273- if (maxHPWL < options_->getMaxWl () && isNumberOfSinksTooSmall (numSinksPerSubRegion)) {
1271+ double maxHPWL = topologyForEachLevel_.back ().getLargestSinkRegionHPWL (
1272+ wireSegmentUnit_);
1273+ if (maxHPWL < options_->getMaxWl ()
1274+ && isNumberOfSinksTooSmall (numSinksPerSubRegion)) {
12741275 logger_->info (CTS ,
12751276 38 ,
12761277 " Stop criterion found. Sink region hpwl "
1277- " is smaller than max wirelength ({}) and max number of sinks is {}." ,
1278+ " is smaller than max wirelength ({}) and max number of "
1279+ " sinks is {}." ,
12781280 options_->getMaxWl () / options_->getWireSegmentUnit (),
12791281 options_->getMaxFanout () ? options_->getMaxFanout ()
1280- : numMaxLeafSinks_);
1282+ : numMaxLeafSinks_);
12811283 break ;
12821284 }
1283- } else if (isNumberOfSinksTooSmall (numSinksPerSubRegion)) {
1285+ } else if (isNumberOfSinksTooSmall (numSinksPerSubRegion)) {
12841286 logger_->info (CTS ,
12851287 32 ,
12861288 " Stop criterion found. Max number of sinks is {}." ,
Original file line number Diff line number Diff line change @@ -129,8 +129,7 @@ class HTreeBuilder : public TreeBuilder
129129 return branchSinkLocs_[branchIdx];
130130 }
131131
132- double getLargestSinkRegionHPWL (
133- unsigned wireSegmentUnit) const
132+ double getLargestSinkRegionHPWL (unsigned wireSegmentUnit) const
134133 {
135134 double bestHpwl = 0.0 ;
136135 for (unsigned i = 0 ; i < branchSinkLocs_.size (); ++i) {
You can’t perform that action at this time.
0 commit comments