Skip to content

Commit

Permalink
himbaechel: Fix for Python 3.9
Browse files Browse the repository at this point in the history
Signed-off-by: gatecat <[email protected]>
  • Loading branch information
gatecat committed Sep 13, 2023
1 parent 3e1e783 commit 3cac90a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions himbaechel/himbaechel_dbgen/chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,8 @@ def serialise(self, context: str, bba: BBAWriter):
@dataclass
class SpeedGrade(BBAStruct):
name: int
pip_classes: list[PipTiming|None] = field(default_factory=list)
node_classes: list[NodeTiming|None] = field(default_factory=list)
pip_classes: list[Optional[PipTiming]] = field(default_factory=list)
node_classes: list[Optional[NodeTiming]] = field(default_factory=list)
cell_types: list[CellTiming] = field(default_factory=list) # sorted by (cell_type, variant) ID tuple

def finalise(self):
Expand Down

0 comments on commit 3cac90a

Please sign in to comment.