Fixed bug that made metal-metal vias think they were well contacts

This commit is contained in:
SWalker 2023-11-07 14:27:11 -08:00
parent d59a60eaf3
commit 6bd437cfa8
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class contact(hierarchy_design):
self.add_comment("implant type: {}\n".format(implant_type))
self.add_comment("well_type: {}\n".format(well_type))
self.is_well_contact = implant_type == well_type
self.is_well_contact = (implant_type == well_type) and implant_type is not None
# If we have a special tap layer, use it
self.layer_stack = layer_stack