MOTOROLA
Chapter 37. System Development and Debugging
37-11
Part VI. Debug and Test
Comparators perform compare on the instruction address (I-address), the load/store address
(L-address), and the load/store data (L-data) and can detect the following conditions:
¥
Equal to
¥
Not equal to
¥
Greater than
¥
Less than
Greater-than-or-equal-to and less-than-or-equal-to are easily obtained from these four
conditions. See Section 37.2.4.5, ÒGenerating Six Compare Types.Ó Using the AND-OR
logic structures Òin rangeÓ and Òout of rangeÓ detections (on address and data) are
supported. The counters can be used to program a breakpoint to be recognized after an event
is detected a predeÞned number of times.
The L-data comparators operate on load or store integer data. When operating on integer
data, L-data comparators perform comparisons on bytes, half-words, and words, treating
numbers as signed or unsigned. Comparators generate match events, then instruction match
events enter the instruction AND-OR logic where instruction watchpoints and breakpoints
are generated. An asserted instruction watchpoint can generate an instruction breakpoint.
Two different events can decrement one counter. When a counter on an instruction
watchpoint expires, the instruction breakpoint is asserted.
Instruction watchpoints and load/store match events on address/data enter the load/store
AND-OR logic where load/store watchpoints and breakpoints are generated. Load/store
watchpoints (when asserted) can generate the load/store breakpoint or decrement a counter.
When a counter on one load/store watchpoint expires, the load/store breakpoint is asserted.
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, at which point the
machine branches to the breakpoint exception vector. To allow use of breakpoint features
without restricting software, the address of the load/store cycle that generated the load/store
breakpoint is not stored in the data address register (DAR). In a load/store breakpoint, the
address of the load/store cycle that generated the breakpoint is stored in the breakpoint
address register (BAR).
For more information, see Section 37.3, ÒDevelopment System Interface.Ó
37.2.3 Functional Description
The following sections describe instruction and load/store watchpoint generation in detail.
37.2.3.1 Instruction Support Detailed Description
Each of the four instruction address comparators (AÐD), shown in Figure 37-2, is 30 bits
long and generates two output signalsÑequal and less than. These signals generate one of
four eventsÑequal, not equal, greater than, or less than. The instruction watchpoints and
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......