From 6bd437cfa8efd8e3d8d8232a8da77f07ab3fc8e6 Mon Sep 17 00:00:00 2001 From: SWalker Date: Tue, 7 Nov 2023 14:27:11 -0800 Subject: [PATCH] Fixed bug that made metal-metal vias think they were well contacts --- compiler/base/contact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/base/contact.py b/compiler/base/contact.py index ea7280a1..7ca08d7d 100644 --- a/compiler/base/contact.py +++ b/compiler/base/contact.py @@ -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