From: Florent Kermarrec Date: Tue, 17 Dec 2019 08:47:31 +0000 (+0100) Subject: platforms/netv2: add xc7a100t support X-Git-Tag: 24jan2021_ls180~799 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd15f07cf7d8bc349512d9e8dcc37f6f618ac685;p=litex.git platforms/netv2: add xc7a100t support --- diff --git a/litex/boards/platforms/netv2.py b/litex/boards/platforms/netv2.py index 786dee3e..6948f5e5 100644 --- a/litex/boards/platforms/netv2.py +++ b/litex/boards/platforms/netv2.py @@ -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")