Skip to content

Commit

Permalink
minor bug - verification disconnected pin -> component name
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc committed Nov 19, 2015
1 parent 2620a2a commit b552e9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion klayout_dot_config/pymacros/SiEPIC_EBeam_Verification.lym
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ def check_connectivity(optical_components, topcell, LayerErrorN):
for pin in optical_pins:
if pin.net == -1 and pin.pin_type != 2: # disconnected pin not on a pin_type = 2 (optical IO)
text = " *** Found disconnected pin #%s, type %s, at (%s, %s), component #%s {%s}" \
% (pin.index, pin.pin_type, pin.x*dbu, pin.y*dbu, k, optical_components[k].component)
% (pin.index, pin.pin_type, pin.x*dbu, pin.y*dbu, \
pin.component_n, optical_components[pin.component_n].component)
box = pya.Box(pin.x-3000, pin.y-3000, pin.x+3000, pin.y+3000)
flag_component_error(box, text, pin.x*dbu, pin.y*dbu)

Expand Down

0 comments on commit b552e9e

Please sign in to comment.