
Development Tools User’s Manual
141
IXP2400/IXP2800 Network Processors
Developer Workbench
1. Click
Add Watch
or right-click in the
Data Watch
window and click
Add Watch
from the
shortcut menu.
The
Add Data Watch
dialog box appears.
2. Click the category of named element that you want listed.
A list of recognized element names appears on the right.
3. In the list, select one or more elements you want to watch.
Note:
Use the left mouse button in combination with the SHIFT or the CTRL keys to select multiple
elements.
4. Click
Add Watch
to have a watch added for each selected element.
If you select from the list of MicroEngine CSRs, you are prompted with a dialog box to select
in which Microengine you want the watch to be done. Similarly, if you select from a list of
chip-specific elements, such as the Memory CSRs, and your project contains multiple chips,
you are prompted to select a chip.
5. When you are finished adding your watches, click
Close
.
2.13.12.4
Watching General Purpose and Transfer Registers
To watch general purpose registers (GPRs) and transfer registers whose symbols are defined in
your microcode:
1. Open the thread window containing the microcode.
2. Right-click the register name.
3. Click
Set Data Watch for
: from the shortcut menu.
Alternatively, you can add a watch by selecting a register name from a list:
1. Click
Add Watch
or right-click in the
Data Watch
window and click
Add Watch
from the
shortcut menu.
The
Add Data Watch
dialog box appears.
2. Select the chip and Microengine in which you want to watch registers.
3. Select whether you want GPRs listed by selecting or clearing
List GPRs
.
4. Select whether you want transfer registers listed by selecting or clearing
List Transfer Regs
5. Select whether you want Next Neighbor registers listed by selecting or clearing
List Neighbor
Regs
.
Based on your selections, the relative registers are listed in the
Relative registers
list box and
the absolute registers are listed in the
Absolute registers
list box.
6. Select one or more registers from either or both lists and click
Add Watch
to add watches for
the selected registers.
If you select relative registers, then you must specify which threads you want to watch by
selecting or clearing the four check boxes beneath the relative registers list.
7. When you are finished adding your watches, click
Close
.
Note:
GPR names cannot be directly typed into the data watch window.