SDKZSPF LSI, SDKZSPF Datasheet - Page 182

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
8.4 Example Session Using ZSIM
zsim{1}> load exe test.exe
***(info) Starting address: 0x2000
.text
.data
Loading "test.exe" successfully.
zsim{2}> show imem int 0x2000 4
0x2000
0x2001
8-40
: Loading to INT-INST memory ... 0x2000 -> 0x2950 (0x0951)
: Loading to INT-DATA memory ... 0x0001 -> 0x005f (0x005f)
0x2cfb movl
0x3cf7 movh
Table 8.12
The format of input and output files are the same. Data must be in
decimal digits, with each piece of data on a single line. If the input file is
not present in the current running directory at the time of the request, the
simulator prints an error message to standard output and exits.
ZSIM400 also supports user-specified I/O ports. You can create a library
containing peripheral devices and then use it in place of the default
library in the directory $SDSP_HOME/sdspI/bin, which is created when
the ZSP SDK tools are installed. The peripheral library is called
libzperiph.dll on Windows and libzperiph.so on Solaris platforms.
For information on writing the peripheral library, refer to the ZSIM
Peripheral API Reference Guide, document DB06-000299-00.
This section contains an example simulation session using zsim400 in
interactive mode. A simulation session using ZSIM for other architecture
is similar.
The contents of the instruction memory can be checked to confirm proper
loading of the test:
ZSP SDK Cycle-Accurate Simulator
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
I/O Port
Serial Port 0
Serial Port 1
Host Interface Port
r12, 0xfb
r12, 0xf7
I/O Device Memory Map and Associated Files
Address
0xF901
0xFA01
0xFB01
Read
File
sp0in
sp1in
hpiin
Address
0xF900
0xFA00
0xFB00
Write
sp0out
sp1out
hpiout
File