File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ void MakeWireParasitics::makeRouteParasitics(
171171 const int wire_length_dbu = segment.length ();
172172
173173 const int init_layer = segment.init_layer ;
174- bool is_valid_layer = init_layer >= min_routing_layer;
174+ bool is_valid_layer = init_layer >= min_routing_layer || segment. isVia () ;
175175 sta::ParasiticNode* n1 = is_valid_layer
176176 ? ensureParasiticNode (segment.init_x ,
177177 segment.init_y ,
@@ -182,7 +182,7 @@ void MakeWireParasitics::makeRouteParasitics(
182182 : nullptr ;
183183
184184 const int final_layer = segment.final_layer ;
185- is_valid_layer = final_layer >= min_routing_layer;
185+ is_valid_layer = final_layer >= min_routing_layer || segment. isVia () ;
186186 sta::ParasiticNode* n2 = is_valid_layer
187187 ? ensureParasiticNode (segment.final_x ,
188188 segment.final_y ,
You can’t perform that action at this time.
0 commit comments