Skip to content

Commit

Permalink
🔧 Patch for r2r ladder example gplugins
Browse files Browse the repository at this point in the history
  • Loading branch information
daquintero committed Jun 8, 2024
1 parent f5cb711 commit de557f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ classifiers = [
"Operating System :: OS Independent"
]
dependencies = [
"gdsfactory~=7.26.1",
"PySpice"
"gdsfactory>=7.26.0,<8"
]
description = "skywater130 pdk"
keywords = ["python"]
Expand Down
1 change: 1 addition & 0 deletions sky130/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ class LayerMap(BaseModel):
TM: Layer = (204, 0)
TEXT: Layer = (66, 0)
WG: Layer = (203, 0) # TODO remove when updating gdsfactory7
HACK_TODO_REMOVE: Layer = (2, 0)

class Config:
frozen = True
Expand Down
7 changes: 6 additions & 1 deletion sky130/pcells/p_n_poly.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ def p_n_poly(
- (1 - i) * (licon_slots_size[1] + (p_length - licon_slots_size[1]) / 2)
)

# generate li (local interconnects) and m1
# generate li (local interconnects) and m1

c.add_ports(ports=cont_arr.ports)
c.add_port("p", port=c.ports["e1"])
c.add_port("n", port=c.ports["e2"])
print(c.ports)

rect_layer = [m1_layer, li_layer]

Expand Down

0 comments on commit de557f4

Please sign in to comment.