1
0

debug: DMI response should be busy, not zero, when there is an error. (#685)

This commit is contained in:
Megan Wachs 2017-04-18 21:41:52 -07:00 committed by GitHub
parent d82a0dc231
commit 408107447c

View File

@ -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