fix ptx minwidth calculation for freepdk45

This commit is contained in:
SWalker 2023-10-30 17:58:17 -07:00
parent 5378a308c1
commit b453aa23c2
1 changed files with 1 additions and 2 deletions

View File

@ -223,8 +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, self.active_contact.width + 2 * self.active_enclose_contact) self.active_height = max(self.tx_width, drc["minwidth_contact"] + 2 * self.active_enclose_contact)
# 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