230
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Transactor
// Set the clocks. Note that the parameters vary for the IXP2400
// and IXP2800
// Uncomment one of the following function calls depending on
// the network processor. Use of both will not work in the
// Transactor.
// Following are the defaults for the IXP2800
//set_clocks(sr_chip_name, 2800, 0x73E7777, 66, 0x1d301d3, 0x1d3);
// Following are the defaults for the IXP2400
//set_clocks("", 1200, 0x00040033, 66, 0x00ff0000);
//
// Optional - log all commands and responses to a file.
log fifo_result.log
// Your command sequences here. (go cycles, deposit, examine, watch, etc…)
go 1
......
// Close the log file
close fifo_result.log
// Exit the simulator. This will close the simulator window.
exit
Before running the first cycle, clocks need to be setup. If a model supports multiple clocks, then the
phase relationship and duty cycle need to be configured. The
set_clocks
command sets all
normal transactor clocks. Use the
set_clock
command to set additional clocks if needed. You
may enter "
help set_clock
" at the simulator console for additional information.
The ellipses in the listing above indicate where other instructions are be inserted. This is where a
deposit
or an
examine
of model state elements takes place.
8.2
Invoking the Transactor
You invoke the Transactor by specifying the appropriate executable to run:
IXP2400.exe [/h] [/b] [script_file_name1 script_file_name2 ...]
or
IXP2800.exe [/h] [/b] [script_file_name1 script_file_name2 ...]
or
The optional fields take the following form: