
GR716-DS-UM, May 2019, Version 1.29
496
www.cobham.com/gaisler
GR716
50.4
Registers
50.4.1 Register address map
The trace buffer occupies 128 KiB of address space in the AHB I/O area.The following register
addresses are decoded:
50.4.2 Trace buffer control register
The trace buffer is controlled by the trace buffer control register:
Table 665.
Trace buffer address space
Address
Register
0x000000
0x000004
0x000008
0x00000C
Trace buffer master/slave filter register
0x000010
0x000014
0x000018
0x00001C
0x010000 - 0x020000
Trace buffer
...0
Trace bits 127 - 96
...4
Trace bits 95 - 64
...8
Trace bits 63 - 32
...C
Trace bits 31 - 0
Table 666.
0x000000 - CTRL - Trace buffer control register
31
23 22
16 15 14
12 11
9
8
7
6
5
4
3
2
1
0
RESERVED
DCNT
BA
BSEL
RESERVED PF
BW
RF AF FR FW DM EN
0
0
1
0
0
0
*
0
0
0
0
0
*
r
rw
r
rw
r
rw
r
rw rw rw rw
r
rw
31: 23
RESERVED
22: 16
Trace buffer delay counter (DCNT)
15
Bus select Available (BA) - Set to ‘1’ to indicate that the core has several buses connected. The bus
to trace is selected via the BSEL field.
14: 12
Bus select (BSEL)
"000" - Main AHB Bus
"001" - DMA AHB bus
"010" - Debug AHB bus
"011" - Scrubber AHB bus
11: 9
RESERVED
8
Performance counter Filter (PF) - If this bit is set to ‘1’, the cores performance counter (statistical)
outputs will be filtered using the same filter settings as used for the trace buffer. If a filter inhibits a
write to the trace buffer, setting this bit to ‘1’ will cause the same filter setting to inhibit the pulse on
the statistical output.
7: 6
Bus width (BW) - This value corresponds to log2(Supported bus width / 32)
5
Retry filter (RF) - If this bit is set to ‘1’, AHB retry responses will not be included in the trace buffer.
4
Address Filter (AF) - If this bit is set to ‘1’, only the address range defined by AHB trace buffer
breakpoint 2’s address and mask will be included in the trace buffer.
3
Filter Reads (FR) - If this bit is set to ‘1’, read accesses will not be included in the trace buffer.
2
Filter Writes (FW) - If this bit is set to ‘1’, write accesses will not be included in the trace buffer.