We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f99a561 + fb76826 commit bf4f697Copy full SHA for bf4f697
1 file changed
src/drt/src/gc/FlexGC_main.cpp
@@ -3801,7 +3801,8 @@ void FlexGCWorker::Impl::patchMetalShape_minStep()
3801
auto layer = tech_->getLayer(lNum);
3802
if (!layer->hasVia2ViaMinStepViol()
3803
&& !tech_->getLayer(lNum - 1)->hasLef58MaxSpacingConstraints()
3804
- && !tech_->getLayer(lNum + 1)->hasLef58MaxSpacingConstraints()) {
+ && (lNum + 1 >= tech_->getLayers().size()
3805
+ || !tech_->getLayer(lNum + 1)->hasLef58MaxSpacingConstraints())) {
3806
continue;
3807
}
3808
0 commit comments