
Development Tools User’s Guide
229
Transactor
8
This chapter describes the Transactor and its command line interface. The Workbench graphical
user interface to the Transactor is described in
. This chapter contains the following
sections:
•
•
•
Transactor Commands (see
•
C Interpreter (see
•
Simulation Switches (see
•
Pre-Defined C Functions (see
•
Error Handling (see
8.1
Overview
The C++ simulator is a cycle-based (as opposed to event-driven) 2 and 3 state simulator. It
demonstrates the functional behavior and performance characteristics of a system design based on
the IXP2400 and IXP2800 network processors without relying on the hardware.
Z state is not explicitly modeled; instead tristate nodes automatically flag floating error when 1 or
more bus bits float for a period greater than the user-specified float threshold.
Two simulation modes are supported:
•
"2.1" state simulation:
Tristate nodes are 3-state (0,1,X)
All other nodes are 2-state (0,1)
•
"4" state simulation:
All nodes are 4-state (0, 1, X, High Z)
Several commands are required at the simulator console before executing cycles. This sequence
can be entered line-by-line or encapsulated inside of a text based instruction file. The example
instruction file below illustrates the command sequence. The "@" symbol instructs the simulator to
open and begin executing lines in the file name that follows.
// File: run_fifo_test.ind
// Invoke from console prompt by typing: @C:\Vmodel\run_fifo_test.ind
// Instantiate the model
inst fifo_test
// Init the model
init