18.4.12 Example 1 of Address Space Priority
Figure 18.11 shows an example of an address translation when the host address spaces are
overlapped. When an address is translated with the settings shown in figure 18.11, host address
spaces 1 and 2 are overlapped and host address space 2 and the on-chip RAM space are
overlapped. In this case, since command space has priority over others, it is translated into slave
command space. Then address space 1 is translated into slave address space 1. Next, the on-chip
RAM which has priority over address space 2 and is not overlapped with address space 1 is
translated into the slave on-chip RAM space.
HBAR1: H'0000, HBAR2: H'0008, RAMBAR: H'000D
SAR1: H'00, SAR2: H'10, RAMAR: H'E0
ASSR: H'64 (768 k, 512 k), RAMASSR: H'10 (4 k)
H'0000_0000
H'0007_FFFF
H'0008_0000
H'000B_FFFF
H'000C_0000
H'000C_FFFF
H'000D_0000
H'000D_0FFF
H'000D_1000
H'000D_FFEF
H'000D_FFF0
H'000D_FFFF
H'000E_0000
H'000F_FFFF
Host address
Notes: Addresses of H'000D_FFF0 to H'000D_FFFF in the host address are used as command space.
Addresses of H'15_FFF0 to H'15_FFFF in the slave address are used as command space.
Address space 1
Address space 2
On-chip RAM
space
Command
space
Figure 18.11 Example 1 of Address Space Priority
Section 18 LPC Interface (LPC)
H'00_0000
H'0B_FFFF
H'0C_0000
H'13_FFFF
H'14_0000
H'15_FFFF
H'15_0000
H'15_1FFF
H'15_2000
H'15_FFEF
H'15_FFF0
H'15_FFFF
H'16_0000
H'17_FFFF
H'FF_E000
H'FF_EFFF
Slave address
Rev. 3.00 Jul. 14, 2005 Page 703 of 986
Address space 1
Address space 2
Command space
On-chip RAM space
REJ09B0098-0300