From bd15f07cf7d8bc349512d9e8dcc37f6f618ac685 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 17 Dec 2019 09:47:31 +0100 Subject: [PATCH] platforms/netv2: add xc7a100t support --- litex/boards/platforms/netv2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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") -- 2.30.2