Skip to content

Commit

Permalink
check for non-null diff
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanohar committed Jun 30, 2022
1 parent db103ea commit 45885bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tech/techgen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,9 @@ void emit_drc (pp_t *pp)
}
emit_width_spacing (pp, Technology::T->welldiff[j][i], buf);
emit_width_spacing (pp, Technology::T->well[j][i]);
emit_width_spacing_c (pp, Technology::T->welldiff[j][i]->getUpC());
if (Technology::T->welldiff[j][i]) {
emit_width_spacing_c (pp, Technology::T->welldiff[j][i]->getUpC());
}

if (Technology::T->fet[j][i] && Technology::T->diff[j][i]) {
int spc;
Expand Down

0 comments on commit 45885bb

Please sign in to comment.