SDKZSPF LSI, SDKZSPF Datasheet - Page 139

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
7.3 I/O Port Usage
7.4 Example Session Using ZISIM
ZISIM400 models serial I/O as a memory-mapped device. Programs
perform terminal I/O by reading from and writing to the appropriate
address locations. The simulator defines two serial ports and one host
processor interface (HPI) port. Each port has a transmit buffer and a
receive buffer.
corresponding files for the I/O ports for the LSI402ZX, LSI403Z, and
ZSP400-core based devices.
Table 7.9
The format of input and output files is the same. Data must be in decimal
digits, with each 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.
This section contains an example simulation session using ZISIM400 in
interactive mode. A simulation session using zisim for other architectures
is similar.
In the example simulation, demo.exe is invoked using the -t (enable
trace) command-line option. Trace information is displayed in five fields:
(0) 0x2000 2cfb movl r12, 0xfb
I/O Port Usage
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
I/O Port
Serial Port 0
Serial Port 1
Host Interface Port 0xFB01
The first field is the instruction sequence number (in parenthesis).
The second field is the program counter (PC) of the executed
instruction.
I/O Device Memory Map and Associated Files
Table 7.9
Address
0xF901
0xFA01
shows the memory addresses and
Read
File
sp0in
sp1in
hpiin
! r12 = 0x00fb
Address
0xF900
0xFA00
0xFB00
Write
File
sp0out
sp1out
hpiout
7-25