Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Patch for gplugins r2ladder example #97

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading