About Threadview; Expanding And Collapsing Thread Trees; Renaming A Thread - Intel IXP2400 User Manual

Network processors
Table of Contents

Advertisement

2.4.2

About ThreadView

ThreadView contains a tree listing all Microengines
that are loaded with microcode. ThreadView provides access
to all enabled threads for each chip and is only available
while debugging.
The top-level item in the tree is labeled <project-name>
threads. There is a second-level item for each chip in the
project. Each chip item expands to list the Microengines in
the chip. Microengines are implemented in two clusters, 0
and 1, with a maximum of 16 Microengines in each cluster.
For the IXP2800, there are eight Microengines per cluster,
with addresses 0 - 7 and 16 - 23. For the IXP2400, there are
four Microengines per cluster, with addresses 0 - 3 and 16 -
19. The Workbench displays each Microengine name as
Microengine c:n where c represents the cluster number (0 or
1) and n is the number within the cluster.
Each Microengine item expands to list the four or eight
threads in a Microengine, but only if the threads are active in
the microcode. If a Microengine is not loaded with code, no
"+" sign appears to the left of the icon and therefore cannot be expanded to show the threads.
By default, a chip's threads are named Thread 0 through Thread n.
The last thread by default varies depending on which network processor you choose:
IXP2800 Network Processor - Thread 127
IXP2400 Network Processor - Thread 63
2.4.2.1

Expanding and Collapsing Thread Trees

You can expand the entire tree for a chip as follows:
1. Right-click the chip name.
2. Click Expand All from the shortcut menu.
Note that in the tree to the right, Microengines 0:2, 0:3, and 0:4 cannot be
expanded because they contain no microcode.
To collapse a chip's tree, double-click the chip name.
2.4.2.2

Renaming a Thread

You can rename a thread (to indicate its function or for any other reason). To do this:
1. Right-click the thread name in ThreadView.
2. Click Rename Thread from the shortcut menu.
The Rename Thread dialog box appears.
3. Type the new name for the thread.
4. Click OK.
Development Tools User's Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ixp2800

Table of Contents