修正bug IO三态门控制逻辑

This commit is contained in:
RuigeLee
2026-01-29 17:41:51 +08:00
parent c952a32de3
commit 403e6bbb97

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
qspi.isDirIn := ~isSpiRead & byteSel >= 4.U