Motorola MPC533 Reference Manual page 885

Table of Contents

Advertisement

The L-data comparators can operate on fix point data of load or store. When operating on
fix point data the L-data comparators are able to perform compare on bytes, half-words and
words and can treat numbers either as signed or as unsigned values.
The comparators generate match events. The match events enter the instruction AND-OR
logic where the instruction watchpoints and breakpoint are generated. The instruction
watchpoints, when asserted, may generate the instruction breakpoint. Two of them may
decrement one of the counters. If one of the instruction watchpoints expires in a counter
that is counting, the instruction breakpoint is asserted.
The instruction watchpoints and the load/store match events (address and data) enter the
load/store AND-OR logic where the load/store watchpoints and breakpoint are generated.
The load/store watchpoints, when asserted, may generate the load/store breakpoint or they
may decrement one of the counters. When a counter that is counting one of the load/store
watchpoints expires, the load/store breakpoint is asserted.
The READI module provides watchpoint messaging using GEPDIS standard (version 1.0)
defined public messages. The watchpoint status signals from the RCPU are snooped, and
when watchpoints occur, a message is sent to the pin output formatter to be messaged out
(the general message queue is bypassed to prevent watchpoint messages from being
cancelled in the event of a queue overflow). The Watchpoint message has the second
highest priority. Refer to Section 23.3.3.1, "Message Priority," for further details on
message priorities. The watchpoint message contains the watchpoint code which indicates
all the unique watchpoints have occurred since the last watchpoint message. If duplicate
watchpoints occur before the watchpoint message is sent out, a watchpoint overrun
message is generated. The watchpoint source field will indicate which watchpoints
occurred.
Watchpoints progress in the machine and are reported on retirement. Internal breakpoints
progress in the machine until they reach the top of the history buffer when the machine
branches to the breakpoint exception routine.
In order to enable the use of the breakpoint features without adding restrictions on the
software, the address of the load/store cycle that generated the load/store breakpoint is not
stored in the DAR (data address register), like other load/store type exceptions. In case of
a load/store breakpoint, the address of the load/store cycle that generated the breakpoint is
stored in an implementation-dependent register called the BAR (breakpoint address
register).
Key features of internal watchpoint and breakpoint support are:
• Four I-address comparators (each supports equal, not equal, greater than, less than)
• Two L-address comparators (each supports equal, not equal, greater than, less than)
including least significant bits masking according to the size of the bus cycle for the
byte and half-word working modes. Refer to Section 21.2.1.2, "Byte and Half-Word
Working Modes."
MOTOROLA
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Chapter 21. Development Support
Watchpoints and Breakpoints Support
21-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc534

Table of Contents