reoriented cell and added tap cell

This commit is contained in:
Jacob Walker
2023-03-30 11:30:50 -07:00
parent 7309af7e29
commit a3e271f6fb
5 changed files with 152 additions and 69 deletions
+4 -3
View File
@@ -39,7 +39,8 @@ class ptx(design):
connect_drain_active=False,
connect_source_active=False,
connect_poly=False,
num_contacts=None):
num_contacts=None,
):
if "li" in layer:
self.route_layer = "li"
@@ -47,11 +48,11 @@ class ptx(design):
self.route_layer = "m1"
# Default contacts are the lowest layer
if not add_source_contact:
if add_source_contact == None:
add_source_contact = self.route_layer
# Default contacts are the lowest layer
if not add_drain_contact:
if add_drain_contact == None:
add_drain_contact = self.route_layer
# We need to keep unique names because outputting to GDSII