Skip to content

Commit 5d5d5ed

Browse files
committedMay 5, 2015
spiflash: fix miso bitbang with large DQ
1 parent 553262b commit 5d5d5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎misoclib/mem/flash/spiflash.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(self, pads, dummy=15, div=2, with_bitbang=True):
8585
dq.oe.eq(1)
8686
),
8787
If(self.bitbang.storage[1],
88-
self.miso.status.eq(dq.i[-1])
88+
self.miso.status.eq(dq.i[1])
8989
)
9090
]
9191

0 commit comments

Comments
 (0)
Please sign in to comment.