Development Tools User’s Manual
107
IXP2400/IXP2800 Network Processors
Developer Workbench
Type the name of the first instance and press ENTER.The name distinguishes this instantiation
when executing commands from the command line from an instantiation executing from a
script.
6. Do the same for
Priority.
The priority can be any positive integer.
The priority determines the order in which the Network Processor model calls the
instantiations for the initialize, pre-simulation, post-simulation, and other callbacks. The
instantiation with the highest priority number is called first, the next highest is called next, and
so on. If more than one instantiation has the same priority number, the order among them is
arbitrary.
7. You may or may not need to type a value under
Initialization String
. It depends on the
requirements of the DLL.
8. Specify as many instances as you wish for the DLL.
When you have finished specifying the DLL path and instances, you can then specify as many
additional DLLs as you like. Just remember that each DLL must have at least one instance.
2.13.1.1
Local Simulation Debugging with a Remote Foreign Model
Running IXP2400 or IXP2800 network processors using a remote foreign model is the same as
running them with a local foreign model because the DLL controls the location of the foreign
model. Use the procedure in
and make sure that the PortMapper is running (see
2.13.1.2
Hardware Debugging
To debug hardware, you must specify how to connect to the subsystem(s) containing the network
processor.
1. On the
Debug
menu, select
Hardware.
2. On the
Hardware
menu, click
Options.
The
Hardware Options
dialog box appears.
3. Click the
Connections
tab.
4. Select a chip from the
Select a chip
list box.
5. Enable the type of connection to the selected
chip by clicking on the appropriate button:
—
No Connection
- If you have multiple
chips in your project, you can specify that
one or more not be connected. However,
at least one must be connected
—
Connect using VxWorks
WTX
- You
must specify the name of the server where
the hardware is located.
—
Connect via Ethernet
- You must specify the name of the node (IP address) where the
hardware is located.