We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59a60e commit 6bd437cCopy full SHA for 6bd437c
compiler/base/contact.py
@@ -41,7 +41,7 @@ def __init__(self, layer_stack, dimensions=(1, 1), directions=None,
41
self.add_comment("implant type: {}\n".format(implant_type))
42
self.add_comment("well_type: {}\n".format(well_type))
43
44
- self.is_well_contact = implant_type == well_type
+ self.is_well_contact = (implant_type == well_type) and implant_type is not None
45
46
# If we have a special tap layer, use it
47
self.layer_stack = layer_stack
0 commit comments