platforms/netv2: add xc7a100t support
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 17 Dec 2019 08:47:31 +0000 (09:47 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 17 Dec 2019 08:47:31 +0000 (09:47 +0100)
litex/boards/platforms/netv2.py

index 786dee3eb4bcd1a2070c6e5b6753edb78f51d00c..6948f5e5648bb7b52f67a414f5ab7c80fddd346a 100644 (file)
@@ -156,5 +156,6 @@ class Platform(XilinxPlatform):
     default_clk_name = "clk50"
     default_clk_period = 1e9/50e6
 
-    def __init__(self):
-        XilinxPlatform.__init__(self, "xc7a35t-fgg484-2", _io, toolchain="vivado")
+    def __init__(self, device="xc7a35t"):
+        assert device in ["xc7a35t", "xc7a100t"]
+        XilinxPlatform.__init__(self, device + "-fgg484-2", _io, toolchain="vivado")