This commit is contained in:
Romain Dolbeau
2023-11-18 13:18:58 +01:00
parent d1f23d5d20
commit 4da55815b0

View File

@@ -146,7 +146,7 @@ class MacPeriphSoC(SoCCore):
with_mmap=True, with_master=False)
try:
# get and set the signal if we're on 2.12
fx2_sloe = platform.request("fx2_sloe", 0)
fx2_sloe = self.platform.request("fx2_sloe", 0)
self.comb += [ fx2_sloe.eq(1), ] # force the FX2 side of the GPIF/FIFO interface to read, so we can access the flash
except:
# if the signal is not defined, we're on a 2.13 and don't need it