Download Print this page

ZiLOG Z80380 User Manual page 14

Advertisement

Z
ILOG
2.5. EXTERNAL I/O ADDRESS SPACE
External I/O address space is 4 Gbytes in size and External
I/O addresses are generated by I/O instructions except
those reserved for on-chip I/O address space accesses. It
I/O Instruction
IN A, (n)
IN dst,(C)
INA(W) dst,(mn)
DDIR IB INA(W) dst,(lmn)
DDIR IW INA(W) dst,(klmn)
Block Input
OUT (n),A
OUT (C),dst
OUTA(W) (mn),dst
DDIR IB OUTA(W) (lmn),dst
DDIR IW OUTA(W) (klmn),dst
Block Output
2.6. ON-CHIP I/O ADDRESS SPACE
The Z380 CPU has the on-chip I/O address space to
control on-chip peripheral functions of the Superintegra-
tion
version of the devices. A portion of its interrupt
functions are also controlled by several on-chip registers,
which occupy an on-chip I/O address space. This on-chip
I/O address space can be accessed only with the following
reserved on-chip I/O instructions which are identical to the
Z180 original I/O instructions to access Page 0 I/O ad-
dressing area.
IN0
R,(n)
OTIM
IN0
(n)
OTIMR
OUT0 (n),R
OTDM
TSTIO n
OTDMR
When one of these I/O instructions is executed, the Z380
MPU outputs the register address being accessed in a
pseudo-transaction of two BUSCLK cycles duration, with
the address signals A31-A8 at zero. In the pseudo-trans-
actions, all bus control signals are at their inactive state.
The following four registers are assigned to this address-
ing space as a part of the Z380 CPU core:
2-6
can take a variety of forms, as shown in Table 2.1. An
external I/O read or write is always one transaction, regard-
less of the bus size and the type of I/O instruction.
Table 2-1. I/O Addressing Options
A31-A24
A23-A16
00000000
00000000
BC31-B24
BC23-B16
00000000
00000000
00000000
l
k
l
BC31-B24
BC23-B16
00000000
00000000
BC31-B24
BC23-B16
00000000
00000000
00000000
l
k
l
BC31-B24
BC23-B16
Register Name
Interrupt Enable Register
Assigned Vector Base Register
Trap and Break Register
Chip Version ID Register
The Chip Version ID register returns one byte data, which
indicates the version of the CPU, or the specific implemen-
tation of the Z380 CPU based Superintegration device.
Currently, the value 00H is assigned to the Z380 MPU, and
other values are reserved.
For the other three registers, refer to Chapter 6, "Interrupts
and Traps."
Also, the Z380 MPU has registers to control chip selects,
refresh, waits, and I/O clock divide to Internal I/O address
00H to 10H. For these registers, refer to the Z380 MPU
Product specification (DC-3003-01).
Address Bus
A15-A8
A7-A0
BC15-B8
m
m
m
BC15-B8
A7-A0
BC15-B8
m
m
m
BC15-B8
Internal I/O Address
Z380
U
'
M
SER
S
ANUAL
A7-A0
n
BC7-B0
n
n
n
BC7-B0
n
BC7-B0
n
n
n
BC7-B0
17H
18H
19H
0FFH
DC-8297-03

Advertisement

loading
Need help?

Need help?

Do you have a question about the Z80380 and is the answer not in the manual?

Questions and answers