Download Open PDF

Transcript
RapidIO Module Registers - ATMU Outbound
Address Translation and Mapping Unit
Offset
Register
D_0C00
ROWTAR0 Pointer to RIO Translation address space with 34- bit address & Target ID
Use
or
Maintenance transaction Hop count & config. offset
D_0C10
ROWAR0
Attributes - enable, priority, PCI rules, Read type, Write type,
outbound window size
D_0C20
ROWTAR1 Pointer to RIO Translation address space with 34- bit address & Target ID
or
Maintenance transaction Hop count & config. offset
D_0C28
ROWBAR1 Base address for window 1 (4 Kbyte block)
D_0C30
ROWAR1
D_0C20 - D_0D10
Attributes - enable, priority, PCI rules, Read type, Write type,
outbound window size (4KB - 4GB)
for windows 2 - 8
Note : Window 0 hardwired enabled
This diagram shows the outbound window Address Translation and Mapping Unit registers.
With the exception of window zero they are provided as groups of three for the base address,
translation address, and attributes for that window.
The base address register defines the local address that is associated with that RapidIO window, and
relates to a minimum size of four kilobytes.
The translation address provides most significant bits of the RapidIO thirty-four bit address and the
target I.D. supplied for the output transactions.
The attributes register defines outbound transaction attributes such as if the window is enabled, the
transaction priority, if it follows PCI rules, the read or write transaction type, and the window size.
There is a set of these registers for eight windows, one through eight, and also the translation and
attributes for the default window zero. Any transactions that do not map to one of the other windows
automatically is handled by the default, and so no base address is necessary. Affectively this handles
transactions which are normally not expected, probably error conditions.
Also be aware that the translation register has an alternative function. If the access matching the
window is a maintenance transaction the translation register has a different format, defining hop
count and configuration offset.
For a complete description of each register see section 16.3.3.1 of the MPC8560 users manual or the
equivalent section in the MPC8540 users manual.
62