From a79d03fef40c2cd04c8fb776929734d8e0cc8fe1 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Mon, 16 Dec 2019 17:18:49 -0800 Subject: [PATCH] Remove poly contact --- compiler/base/design.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/base/design.py b/compiler/base/design.py index 16237cfd..7ee1624d 100644 --- a/compiler/base/design.py +++ b/compiler/base/design.py @@ -67,7 +67,10 @@ class design(hierarchy_design): self.poly_to_active = drc("poly_to_active") self.poly_extend_active = drc("poly_extend_active") - self.poly_to_contact = drc("poly_to_contact") + if "contact" in layer: + self.poly_to_contact = drc("poly_to_contact") + else: + self.poly_to_contact = drc("poly_to_active_contact") self.contact_to_gate = drc("contact_to_gate") self.well_enclose_active = drc("well_enclosure_active") self.implant_enclose_active = drc("implant_enclosure_active")