Atlys: pass extra keyword arguments to platform.
[nmigen-boards.git] / nmigen_boards / atlys.py
index 687312983976d1324f258fbffcf2bc9f71595cb7..cef0729f5a8e16edd1948ea0cc7e62158b2f5204 100644 (file)
@@ -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