mirror of https://github.com/VLSIDA/OpenRAM.git
fix ptx minwidth calculation for freepdk45
This commit is contained in:
parent
5378a308c1
commit
b453aa23c2
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue