SDKZSPF LSI, SDKZSPF Datasheet - Page 116

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
7.1.1 Batch Mode
7.1.2 Interactive Mode
7-2
The simulator can be invoked in batch mode from the command line
using the -exec option, as shown below.
zisim400 executeable_file -exec [options]
zisimg2 executable_file -exec [options]
The simulator can also be invoked in batch mode using a script file
containing ZISIM commands that load, execute, and gather results for a
specified executable. Script files may contain any valid ZISIM
commands. Comments must be preceded by the comment specifier (#).
ZISIM ignores all commands between the # character and the end of
line. ZISIM also ignores empty lines.
A simple script file that turns on instruction tracing and then executes the
program test.exe is shown below.
Assuming the file batch.scr contains the commands shown above, you
can generate a trace file for test.exe as follows:
zisim400 -s batch.scr > test.trace
or
zisimg2 -s batch.scr > test.trace
Refer also to
In interactive mode, ZISIM is invoked from the shell using the following
command:
or
An executable file may or may not be specified, followed by zero or more
command-line options separated by spaces The executable file is a ZSP
binary file generated using the SDK compiler, assembler, and linker tools,
ZSP SDK Functional-Accurate Simulator
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
load test.exe
enable trace write
run 100000
exit
zisim400 [executable_file] [options]
zisimg2 [executable_file] options
Section 7.2.21, “script,” page
7-16.