projects
/
nmigen-boards.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2395d9f
)
Atlys: pass extra keyword arguments to platform.
author
whitequark
<whitequark@whitequark.org>
Thu, 22 Aug 2019 21:32:26 +0000
(21:32 +0000)
committer
whitequark
<whitequark@whitequark.org>
Fri, 30 Aug 2019 08:43:01 +0000
(08:43 +0000)
nmigen_boards/atlys.py
patch
|
blob
|
history
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