more ptx fixes

This commit is contained in:
SWalker
2023-10-31 23:24:21 -07:00
parent b453aa23c2
commit 26068fd2e1
+1 -1
View File
@@ -223,7 +223,7 @@ class ptx(design):
+ 2 * self.active_contact_to_gate + self.poly_width + (self.mults - 1) * self.poly_pitch + 2 * self.active_contact_to_gate + self.poly_width + (self.mults - 1) * self.poly_pitch
# Active height is either the transistor width or the wide enough to enclose the active contact # Active height is either the transistor width or the wide enough to enclose the active contact
self.active_height = max(self.tx_width, drc["minwidth_contact"] + 2 * self.active_enclose_contact) self.active_height = self.tx_width
# Poly height must include poly extension over active # Poly height must include poly extension over active
self.poly_height = self.active_height + 2 * self.poly_extend_active self.poly_height = self.active_height + 2 * self.poly_extend_active