Development Tools User’s Manual
83
IXP2400/IXP2800 Network Processors
Developer Workbench
There are two general options. The options are:
•
Enable
Stop simulation if a receive overflow occurs
to control whether or not the Workbench
stops the simulation when a receive overflow occurs.
•
Enable
Stop simulation if a transmit underflow occurs
to control whether or not the
Workbench stops the simulation when a transmit underflow occurs.
To specify device-specific options, select a device from the list of devices and ports. The options
are:
•
If you want to stop the simulation after a specific number of packets are received by the
Network Processor from the selected chip, select
Stop the simulation after the chip receives
the next
nnn
packets from this device
and type the number of packets in the box.
When the specified number of packets are received, the simulation stops and a message box is
displayed. If you continue the simulation from that point, it will again stop after the next nnn
packets are received.
•
If you want to stop the simulation after a specific number of packets are transmitted by the
Network Processor to the selected device, select
Stop the simulation after the chip transmits
the next
nnn
packets to the device
and type the number of packets in the box.
To specify port-specific options, select a port from the list of devices and ports. The options are:
•
If you want to enable the port to receive packets from the network, select
Send packets to the
chip from this port
. Ports are always enabled to accept packets transmitted by the Network
Processor.
•
If you want to take action after a specified number of packets are received by the Network
Processor from the port, select
After the chip receives the next
nnn
packets from this port:
,
type the number of packets in the box, then click
Stop sending packets from this port to the
chip
or click
Stop the simulation
.
•
If you want to take action after a specified number of packets are transmitted from the
Network Processor to the port, select
After the chip transmits the next
nnn
packets to this
port:
, click
Stop the simulation
and type the number of packets in the box.
When you have completed specifying all your options, click
OK
to apply your choices and dismiss
the dialog box or select another tab.
2.11.4
Traffic Assignment
To assign traffic (formerly called Port Connections) select
Packet Simulation Options
and then
select the
Traffic Assignment
tab.
Receive side port connections:
If you connect a device to the receive side of a chip, you can specify the data to be received by each
port in that device. A port is connected to the network processor on one side and to the 'network' on
the other. Data comes into the port from the network and is placed into the port's receive buffer. To
effectively simulate a port's operation, network traffic must also be simulated. Input from the
network can either be simulated by the Workbench using data from streams or you can provide a
Network Traffic DLL that supplies the input data.