File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -667,13 +667,16 @@ std::pair<bool, bool> RouteBase::routability(
667667 // rc not improvement detection -- (not improved the RC values 3 times in a
668668 // row)
669669 //
670- if (nbVec_[0 ]->getTargetDensity () > rbVars_.maxDensity
671- || min_RC_violated_cnt_ >= max_routability_no_improvement_) {
672- bool density_exceeded = nbVec_[0 ]->getTargetDensity () > rbVars_.maxDensity ;
673- bool congestion_not_improving
674- = min_RC_violated_cnt_ >= max_routability_no_improvement_;
675-
676- if (density_exceeded) {
670+ bool is_max_density_exceeded
671+ = nbVec_[0 ]->getTargetDensity () > rbVars_.maxDensity ;
672+ bool congestion_not_improving
673+ = min_RC_violated_cnt_ >= max_routability_no_improvement_;
674+ bool is_max_routability_revert
675+ = routability_driven_revert_count >= max_routability_revert_;
676+
677+ if (is_max_density_exceeded || congestion_not_improving
678+ || is_max_routability_revert) {
679+ if (is_max_density_exceeded) {
677680 log_->info (GPL,
678681 53 ,
679682 " Target density {:.4f} exceeds the maximum allowed {:.4f}." ,
You can’t perform that action at this time.
0 commit comments