Trace and Debug Register Select (
To support a large and variable number of TDRs for tracing and breakpoints, they are accessed
through one level of indirection where the
tselect
register selects which bank of three
tdata1-3
registers are accessed via the other three addresses.
The
tselect
register has the format shown below:
Table 99:
tselect
CSR
Trace and Debug Select Register
CSR
tselect
Bits
Field Name
Attr.
Description
[31:0]
index
WARL
Selection index of trace and debug registers
The
index
field is a
WARL
field that does not hold indices of unimplemented TDRs. Even if
index
can hold a TDR index, it does not guarantee the TDR exists. The
type
field of
tdata1
must be inspected to determine whether the TDR exists.
Trace and Debug Data Registers (
The
tdata1-3
registers are XLEN-bit read/write registers selected from a larger underlying
bank of TDR registers by the
tselect
register.
Table 100:
tdata1
CSR
Trace and Debug Data Register 1
CSR
tdata1
Bits
Field Name
Attr.
Description
[27:0]
TDR-Specific Data
[31:28]
type
RO
Type of the trace & debug register selected
by
tselect
Table 101:
tdata2/3
CSRs
Trace and Debug Data Registers 2 and 3
CSR
tdata2/3
Bits
Field Name
Attr.
Description
[31:0]
TDR-Specific Data
Chapter 21 Debug
FE310-G003 Manual
© SiFive, Inc.
Page 111
Содержание FE310-G003
Страница 1: ...SiFive FE310 G003 Manual v1p1 SiFive Inc ...