EasyManua.ls Logo

AMCC PPC405 - DAC Debug Event; DAC Exact Address Compare; Figure 8-7. Inclusive IAC Range Address Compares; Figure 8-8. Exclusive IAC Range Address Compares

Default Icon
450 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
150 AMCC Proprietary
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
Figure 8-8 shows the range selected in an inclusive IAC range address compare. Note that the address in IAC1 is
not considered part of the range, but the address in IAC2 is, along with the highest memory address, as shown in
the preceding examples.
To toggle the range from inclusive to exclusive or from exclusive to inclusive on a IAC range debug event,
DBCR0[IA12T] (corresponding to range 1:2) and DBCR0[IA34T] (corresponding to range 3:4) are used. If these
fields are set, the DBCR0[IA12X] or DBCR0[IA34X] fields toggle on an IAC debug event, changing the defined
range.
If a toggle is enabled (DBCR0[IA12T] for range 1:2 or DBCR0[IA34T] = 1 for range 3:4), and DBCR0[IDM] =1,
DBCR0[EDM] = 0, and MSR[DE] = 0, IAC range comparisons for the corresponding toggle field are disabled.
8.8.13 DAC Debug Event
This debug event occurs before execution of an instruction that accesses a data address that matches the contents
of the specified DAC register. DBCR1[D1R, D2R, D1W, D2W] enable DAC debug events for address comparisons
on DAC1 and DAC2 for read instructions, DAC2 for read instructions, DAC1 for write instructions, DAC2 for write
instructions respectively. Loads are reads and stores are writes. DAC can be defined(DBCR1[D1R, D2R])as an
exact address comparison to one of the DACn registers or a range of addresses to compare defined by DAC1 and
DAC2 registers.
8.8.13.1 DAC Exact Address Compare
In this mode, each DAC
n register specifies an exact address to compare. These registers are enabled by setting
one or more of DBCR1[D1R,D2R,D1W,D2W] = 1, and disabling DAC range compare DBCR1[DA12X] = 0. The
corresponding DBSR[DR1,DR2,DW1,DW2] field displays the results of a DAC debug event.
The address for a DAC is the effective address (EA) of a storage reference instruction. EAs are always generated
within a single aligned word of memory. Unaligned load and store, strings, and multiples generate multiple EAs to
be used in DAC comparisons.
Data address compare (DAC) debug events can be set to react to any byte in a larger block of memory, in addition
to reacting to a byte address match. The DAC Compare Size fields (DBCR1[D1S, D2S]) allow DAC debug events
to react to byte, halfword, word, or 8-word line address by ignoring a number of LSBs in the EA.
Figure 8-7. Inclusive IAC Range Address Compares
Figure 8-8. Exclusive IAC Range Address Compares
IAC1 IAC2
0
FFFF FFFF
IAC1 IAC2
0
FFFF FFFF

Table of Contents