Browse Source
Merge pull request #1930 from aap-sc/aap-sc/abits_len_fixup
increase DTMCS.abits to be compliant debug specification
pull/1934/head
Andrew Waterman
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
riscv/jtag_dtm.h
|
|
|
@ -51,7 +51,9 @@ class jtag_dtm_t |
|
|
|
|
|
|
|
// abits must come before dtmcontrol so it can easily be used in the
|
|
|
|
// constructor.
|
|
|
|
const unsigned abits = 6; |
|
|
|
// From RISC-V Debug Spec (both 0.13.2 and 1.0):
|
|
|
|
// The DMI uses between 7 and 32 address bits.
|
|
|
|
const unsigned abits = 7; |
|
|
|
uint32_t dtmcontrol; |
|
|
|
uint64_t dmi; |
|
|
|
unsigned bypass; |
|
|
|
|