debug: DMI response should be busy, not zero, when there is an error. (#685)
This commit is contained in:
parent
d82a0dc231
commit
408107447c
@ -159,7 +159,7 @@ class DebugTransportModuleJTAG(debugAddrBits: Int, c: JtagDTMConfig)
|
|||||||
nonzeroResp := stickyNonzeroRespReg | (io.dmi.resp.valid & (io.dmi.resp.bits.resp != UInt(0)))
|
nonzeroResp := stickyNonzeroRespReg | (io.dmi.resp.valid & (io.dmi.resp.bits.resp != UInt(0)))
|
||||||
|
|
||||||
busyResp.addr := UInt(0)
|
busyResp.addr := UInt(0)
|
||||||
busyResp.resp := UInt(0)
|
busyResp.resp := -1.S(DMIConsts.dmiRespSize.W).asUInt // Generalizing busy to 'all-F'
|
||||||
busyResp.data := UInt(0)
|
busyResp.data := UInt(0)
|
||||||
|
|
||||||
nonbusyResp.addr := dmiReqReg.addr
|
nonbusyResp.addr := dmiReqReg.addr
|
||||||
|
Loading…
Reference in New Issue
Block a user