From 0394b626fa1a110bd600b7ae18fc9972889516ee Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 22 Jul 2024 11:39:17 +0200 Subject: [PATCH] platforms/enclustrat_mercury_xu8_pe3: Switch to OpenFPGALoader for loading FPGA. --- litex_boards/platforms/enclustra_mercury_xu8_pe3.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/litex_boards/platforms/enclustra_mercury_xu8_pe3.py b/litex_boards/platforms/enclustra_mercury_xu8_pe3.py index 76cebc3..9195bd3 100644 --- a/litex_boards/platforms/enclustra_mercury_xu8_pe3.py +++ b/litex_boards/platforms/enclustra_mercury_xu8_pe3.py @@ -1,11 +1,12 @@ # # This file is part of LiteX-Boards. # -# Copyright (c) 2023 Florent Kermarrec +# Copyright (c) 2023-2024 Florent Kermarrec # SPDX-License-Identifier: BSD-2-Clause from litex.build.generic_platform import * -from litex.build.xilinx import XilinxUSPPlatform, VivadoProgrammer +from litex.build.xilinx import XilinxUSPPlatform +from litex.build.openfpgaloader import OpenFPGALoader # IOs ---------------------------------------------------------------------------------------------- @@ -301,7 +302,7 @@ class Platform(XilinxUSPPlatform): XilinxUSPPlatform.__init__(self, "xczu7ev-fbvb900-2-i", _io, _connectors, toolchain=toolchain) def create_programmer(self): - return VivadoProgrammer() + return OpenFPGALoader(fpga_part="xczu7ev", cable="ft2232") def do_finalize(self, fragment): XilinxUSPPlatform.do_finalize(self, fragment)