Skip to content

Commit

Permalink
misc/open_pdks/sky130a: apply google/skywater-pdk#423
Browse files Browse the repository at this point in the history
  • Loading branch information
proppy committed Jul 20, 2023
1 parent c554ed1 commit 71981a2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions misc/open_pdks/sky130a/423.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/scripts/python-skywater-pdk/skywater_pdk/liberty.py b/scripts/python-skywater-pdk/skywater_pdk/liberty.py
index 77f2bb58b..52da7d459 100755
--- a/scripts/python-skywater-pdk/skywater_pdk/liberty.py
+++ b/scripts/python-skywater-pdk/skywater_pdk/liberty.py
@@ -83,7 +83,7 @@ class TimingType(enum.IntFlag):

def names(self):
o = []
- for t in TimingType:
+ for _, t in TimingType.__members__.items():
if t in self:
o.append(t.name)
return ", ".join(o)
@@ -123,7 +123,7 @@ def singular(self):

@property
def types(self):
- tt = set(t for t in TimingType if t in self)
+ tt = set(t for _, t in TimingType.__members__.items() if t in self)
if TimingType.ccsnoise in tt:
tt.remove(TimingType.basic)
return list(tt)
2 changes: 2 additions & 0 deletions misc/open_pdks/sky130a/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ source:
# use url below to prevent submodules
- url: https://github.com/google/skywater-pdk/archive/49d3c73c2cd8ea42cdae5056440baef0f72e7e42.zip
folder: skywater-pdk
patches:
- 423.patch # drop when google/skywater-pdk#423 is merged
- url: https://github.com/google/skywater-pdk-libs-sky130_fd_sc_hd/archive/ac7fb61f06e6470b94e8afdf7c25268f62fbd7b1.zip
folder: skywater-pdk/libraries/sky130_fd_sc_hd/latest
- url: https://github.com/google/skywater-pdk-libs-sky130_fd_sc_hvl/archive/4fd4f858d16c558a6a488b200649e909bb4dd800.zip
Expand Down

0 comments on commit 71981a2

Please sign in to comment.