projects
/
nmigen-boards.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Atlys: pass extra keyword arguments to platform.
[nmigen-boards.git]
/
nmigen_boards
/
atlys.py
diff --git
a/nmigen_boards/atlys.py
b/nmigen_boards/atlys.py
index 687312983976d1324f258fbffcf2bc9f71595cb7..cef0729f5a8e16edd1948ea0cc7e62158b2f5204 100644
(file)
--- a/
nmigen_boards/atlys.py
+++ b/
nmigen_boards/atlys.py
@@
-17,9
+17,9
@@
class AtlysPlatform(XilinxSpartan6Platform):
package = "csg324"
speed = "3"
- def __init__(self,
JP12="2V5"
):
- super().__init__()
-
+ def __init__(self,
*, JP12="2V5", **kwargs
):
+ super().__init__(
**kwargs
)
+
assert JP12 in ["2V5", "3V3"]
self._JP12 = JP12