SDKZSPF LSI, SDKZSPF Datasheet - Page 144

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
8.1.1 Batch Mode
8-2
Table 8.1
The simulator can be invoked in batch mode from the command line
using the -exec option, as shown following:
The simulator can also be invoked in batch mode using a script file
containing ZSIM commands that load, execute, and gather results for a
specified executable. Script files may contain any valid ZSIM commands.
Comments are allowed and must be preceded by the comment specifier
(#). ZSIM ignores all commands between the # character and the end of
line. ZSIM also ignores empty lines.
A simple script file that turns on instruction tracing and then executes the
program test.exe is shown following:
Assuming the file batch.scr contains the commands shown above, a
trace file for test.exe could be generated as follows:
zsim400 -s batch.scr > test.trace
or
zsimg2 -s batch.scr > test.trace
Refer also to
ZSP SDK Cycle-Accurate Simulator
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
Name
zsim400
zsimg2
zsim[400/g2] executeable_file -exec [options]
load test.exe
enable trace write
run 100000
exit
Cycle-Accurate Simulators
Section 8.2.26, “script,” page
Use when Simulating...
code written for ZSP400 architecture.
code written for ZSPG2 architecture.
8-26.