debug: correctly consider .transfer bit in COMMAND
This commit is contained in:
parent
79477fbea6
commit
b44d5f9386
@ -915,8 +915,8 @@ class TLDebugModuleInner(device: Device, getNComponents: () => Int)(implicit p:
|
||||
|
||||
val commandRegIsUnsupported = Wire(init = true.B)
|
||||
val commandRegBadHaltResume = Wire(init = false.B)
|
||||
when (commandRegIsAccessRegister && accessRegisterCommandReg.transfer) {
|
||||
when ((accessRegisterCommandReg.regno >= 0x1000.U && accessRegisterCommandReg.regno <= 0x101F.U)){
|
||||
when (commandRegIsAccessRegister) {
|
||||
when (!accessRegisterCommandReg.transfer || (accessRegisterCommandReg.regno >= 0x1000.U && accessRegisterCommandReg.regno <= 0x101F.U)){
|
||||
commandRegIsUnsupported := false.B
|
||||
commandRegBadHaltResume := ~hartHalted
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user