Skip to content

Commit

Permalink
spiflash: fix miso bitbang with large DQ
Browse files Browse the repository at this point in the history
sbourdeauducq committed May 5, 2015
1 parent 553262b commit 5d5d5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misoclib/mem/flash/spiflash.py
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ def __init__(self, pads, dummy=15, div=2, with_bitbang=True):
dq.oe.eq(1)
),
If(self.bitbang.storage[1],
self.miso.status.eq(dq.i[-1])
self.miso.status.eq(dq.i[1])
)
]

0 comments on commit 5d5d5ed

Please sign in to comment.