修正bug IO三态门控制逻辑

进一步修正403e6bbb970333b5709e8d6232fa84b4fc0f4346 [403e6bb]
This commit is contained in:
RuigeLee
2026-02-03 15:04:02 +08:00
parent a3ce7e7c70
commit 4cbd223786

View File

@@ -176,7 +176,7 @@ class QSpiInterface(edge: Boolean) extends SpiInterfaceBase{
sck := qspi.sck
csn := qspi.csn
qspi.miso := exRego(7, 4)
qspi.isDirIn := ~isSpiRead & byteSel >= 4.U
qspi.isDirIn := isSpiWrite || byteSel < 4.U