Skip to content

Commit

Permalink
platforms/enclustra_mercury_xu8_pe3: Revert to VivadoProgrammer since…
Browse files Browse the repository at this point in the history
… OpenFPGALoader is not albe to load bitstream correctly if FPGA is not already configured.
  • Loading branch information
enjoy-digital committed Jul 22, 2024
1 parent 938bf8b commit 81209b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions litex_boards/platforms/enclustra_mercury_xu8_pe3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ----------------------------------------------------------------------------------------------

Expand Down Expand Up @@ -302,7 +301,7 @@ def __init__(self, toolchain="vivado"):
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)
Expand Down

0 comments on commit 81209b9

Please sign in to comment.