We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a7c8d8 commit fb76826Copy full SHA for fb76826
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