
Development Tools User’s Manual
123
IXP2400/IXP2800 Network Processors
Developer Workbench
Note:
The displaying of instruction addresses affects all thread windows and is saved as a global option
which is in effect across all projects.
2.13.8.9
Instruction Markers
During a typical debugging session, thread windows display several types of instruction markers.
An instruction marker displays on the left side of the thread window, in the same location as
bookmarks and breakpoints. The types are summarized in
Assembled Thread:
In an assembled thread, if line containing the current instruction is displayed, then the instruction
marker points to it. If the line is hidden because it is in a collapsed macro, then the instruction
marker points to the line containing the collapsed macro.
Compiled Thread:
In the list view for a compiled thread, the instruction marker points to the current instruction. In the
source view for a compiled thread, the instruction marker points to the C source line that generates
the current instruction.
2.13.8.10
Viewing Instruction Execution in the Thread Window
During a simulation session, the Pipe Stage marker allows you to view which instruction is inside
each of the 6 stages of the pipeline. This marker contains up to 6 stacked arrowheads
that
correspond to each of the 6
pipeline stages. The leftmost arrowhead represents stage 0, and the
rightmost arrowhead represents stage 5. The default is stage 4.
Colors:
The arrowheads are color-filled according to the state of the instruction in the pipeline stage. By
default, the Workbench uses:
•
Black
- for instruction executing.
•
Yellow -
for instruction aborted.
•
Red
- for thread stalled.
If a thread has a different instruction in each of the pipe stages, then the thread window will have 6
Pipe Stage markers
,
one on each of the 6
instructions. Each marker will have a different arrowhead
filled with the appropriate color. For example, if an instruction is executing in stage 3, then its
marker will have the stage 3 arrowhead filled with black with all other arrowheads unfilled. If an
instruction is aborting in stage 2, then its marker will have the stage 2 arrowhead filled with yellow
with all other arrowheads unfilled. If an arrowhead is not color-filled, it means that the instruction
that the marker points to is not in the corresponding pipeline stage.
Table 2. Instruction Markers
Marker Name
Symbol
Function
Swapped Out
Marks the instruction to be executed when the thread's context is
swapped back in.
History
Marks the instruction that was executing in pipe stage 4
at the cycle
associated with the thread history window's cycle marker.
Pipe Stage
Marks the instructions executing in each of the 6
pipeline stages.