120
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
To do this:
1. Click the
button in the
Thread
window
.
2.13.8.6
Activating Thread Windows
Once microcode is loaded, you can directly access the execution state of all the threads in the
project.
To explicitly activate a thread window, do this:
1. Double-click the thread name in the
ThreadView
or the
Thread Status
window, or
Right-click the desired thread in the
ThreadView
or the
Thread Status
window and click
Open Thread Window
, or
Change the selection(s) in the thread-selection toolbar in the thread window.
The thread window is implicitly activated by:
•
Stopping at a breakpoint
. The thread in which this occurred is activated.
•
Selecting
Go To Instruction
from the shortcut menu in either the thread history or queue
status window. The thread in which the instruction was executed is activated.
When Microengine execution stops for any reason other than a location breakpoint—such as, a
break-on-change occurs, or you click
Stop
, or a packet count limit was reached by the bus device
simulation—the Workbench determines the active thread for each Microengine and does one of the
following:
•
If the active thread is already activated in a thread window, the window is simply scrolled to
display the current instruction or source line.
•
If the active thread isn't already activated and there is a thread window in which a different
thread in the same Microengine is activated, then the active thread is activated in that window
if you have specified that you want tracking of the active thread. (A toolbar button in the
thread window allows you to enable or disable this feature.)
•
If the active thread isn't already activated and there are no thread windows in which a different
thread in the same Microengine is activated, then the active thread is not activated.
Thread Window Title Bar:
The title displayed on the thread window shows the Microengine address and thread name. Also
displayed is the currently executing PC and whether the thread is active or swapped out.
Thread Window Contents:
A thread window displays the output of the Assembler as opposed to original source code. The
Assembler output differs from source code in that:
•
Symbols are replaced with actual values.
•
Instructions may be reordered due to optimization.
•
Names of local register are adorned by a prefix, etc.
•
If you built a Microengine image from multiple source files by using the #include directive,
then the associated thread window displays the modified output from the combined sources.