Skip to content

Commit ba6fa54

Browse files
committed
Fix QuadPackage not removing its bringup pins from the avialable pin set
1 parent 3f0f079 commit ba6fa54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chipflow_lib/platforms/_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,8 +807,7 @@ class QuadPackageDef(LinearAllocPackageDef):
807807

808808
def model_post_init(self, __context):
809809
pins = set([i for i in range(1, self.width * 2 + self.height * 2)])
810-
pins.difference_update(*[x.to_set() for x in self._power])
811-
pins.difference_update(self._jtag.to_set())
810+
pins -= set(self.bringup_pins.to_set())
812811

813812
self._ordered_pins: List[Pin] = sorted(pins)
814813
return super().model_post_init(__context)

0 commit comments

Comments
 (0)