Using IXP2400/2800 Development Tools: A Hands-on Approach to Network Processor Software Design

Chapter 12: Running the Simulation

The best way to escape from a problem is to solve it.
Alan Saporta

The design is built. The packets are defined and ports are configured. So what are you waiting for? Click the Start Simulation button and go. No, wait! You should know just a few more things. In this chapter you will learn the options that need to be set up before simulation starts. You will learn how to increase simulation rate to run faster than the network wire rate, how to log simulation results, and how to use startup scripts. After starting simulation, you will learn the basic debug views and techniques for exploring the state of your application while it is simulating.

Example Design

For a simplified first simulation experience, let's take a look at another application, IPV4 ingress, in your SDK directory tree that you copied from the tools and applications CD-ROM. To get a copy, refer to this book's Web site, listed in "References."

\src\applications\ipv4forwarder\4gb_ethernet\ingress

This application handles IPV4 over Ethernet. No frills. No IPV6, tunneling, or extra decaps or encaps.

Simulation Options

You could start simulating now using the default settings. However, it is useful to control certain simulation settings before packets start to flow. For example, you can elect to save the packets received or transmitted by the network processor. You can send in a fixed number of packets, or you can stop the simulation after a fixed number of packets have been received or transmitted. You can automatically run initialization scripts...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Modeling and Simulation Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.