
GR716-DS-UM, May 2019, Version 1.29
134
www.cobham.com/gaisler
GR716
16.6.5 ASR24-31, Hardware watchpoint/breakpoint registers
Each breakpoint consists of a pair of ancillary state registers (%asr24/25, %asr26/27, %asr28/29 and
%asr30/31) registers; one with the break address and one with a mask:
WADDR - Address to compare against
WMASK - Bit mask controlling which bits to check (1) or ignore (0) for match
IF - break on instruction fetch from the specified address/mask combination
DL - break on data load from the specified address/mask combination
DS - break on data store to the specified address/mask comination
Note: Setting IF=DL=DS=0 disables the breakpoint
When there is a hardware watchpoint match and DL or DS is set then trap 0x0B will be generated.
Hardware watchpoints can be used with or without the LEON3 debug support unit (DSU) enabled.
0
1
2
31
DL
WADDR[31:2]
%asr24, %asr26
%asr28, %asr30
0
2
31
DS
WMASK[31:2]
%asr25, %asr27
%asr29, %asr31
Figure 11.
Watch-point registers
IF
0
0
rw
r
0
0
rw
r
NR
rw
NR
rw