From: Sebastien Bourdeauducq Date: Tue, 5 May 2015 16:05:25 +0000 (+0800) Subject: spiflash: fix miso bitbang with large DQ X-Git-Tag: 24jan2021_ls180~2261 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d5d5edfe223cb0e6a295eed1bf99438750ce5ad;p=litex.git spiflash: fix miso bitbang with large DQ --- diff --git a/misoclib/mem/flash/spiflash.py b/misoclib/mem/flash/spiflash.py index f842bfdf..1e099a75 100644 --- a/misoclib/mem/flash/spiflash.py +++ b/misoclib/mem/flash/spiflash.py @@ -85,7 +85,7 @@ class SpiFlash(Module, AutoCSR): dq.oe.eq(1) ), If(self.bitbang.storage[1], - self.miso.status.eq(dq.i[-1]) + self.miso.status.eq(dq.i[1]) ) ]