From 81209b9fd10e40b4ce7f1a98a4b25d6569a78fc8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 22 Jul 2024 15:27:18 +0200 Subject: [PATCH] platforms/enclustra_mercury_xu8_pe3: Revert to VivadoProgrammer since OpenFPGALoader is not albe to load bitstream correctly if FPGA is not already configured. --- litex_boards/platforms/enclustra_mercury_xu8_pe3.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/litex_boards/platforms/enclustra_mercury_xu8_pe3.py b/litex_boards/platforms/enclustra_mercury_xu8_pe3.py index 9195bd3..6822b3c 100644 --- a/litex_boards/platforms/enclustra_mercury_xu8_pe3.py +++ b/litex_boards/platforms/enclustra_mercury_xu8_pe3.py @@ -5,8 +5,7 @@ # SPDX-License-Identifier: BSD-2-Clause from litex.build.generic_platform import * -from litex.build.xilinx import XilinxUSPPlatform -from litex.build.openfpgaloader import OpenFPGALoader +from litex.build.xilinx import XilinxUSPPlatform, VivadoProgrammer # IOs ---------------------------------------------------------------------------------------------- @@ -302,7 +301,7 @@ class Platform(XilinxUSPPlatform): XilinxUSPPlatform.__init__(self, "xczu7ev-fbvb900-2-i", _io, _connectors, toolchain=toolchain) def create_programmer(self): - return OpenFPGALoader(fpga_part="xczu7ev", cable="ft2232") + return VivadoProgrammer() def do_finalize(self, fragment): XilinxUSPPlatform.do_finalize(self, fragment)