QSPI修正可用
This commit is contained in:
@@ -230,8 +230,12 @@ trait InterfaceMCUop{ this: InterfaceBase =>
|
||||
oSpi.io.datar := Mux(cReg.spiSel === 1.U, datar, 0.U)
|
||||
oQSpi.io.datar := Mux(cReg.spiSel === 2.U, datar, 0.U)
|
||||
|
||||
|
||||
|
||||
when( isEnW ){
|
||||
printf(s"SPI/QSPI Write 0x%x, @0x%x\n", dataw, addrSel)
|
||||
}
|
||||
when( isEnR ){
|
||||
printf(s"SPI/QSPI Readout 0x%x, @0x%x\n", datar, addrSel)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user