Chapter 10 PCI Controller
10-11
When expressed as a formula, conversion of a PCI Bus Address (PCIAddr[39:0]) into a G-Bus
address (GBusAddr[35:0]) is as follows below. GBASE[35:8], and PBASE[39:8] each represent the
setting register of the corresponding access window indicated below in Table 10.3.4. The “&” symbol
indicates a logical AND for each bit, and “|” indicates bit linking.
Memory space 0
If (PCIAddr[39:29] == P2GM0PUBASE.BA[39:32] | P2GM0PLBASE.BA[31:29] then
GBusAddr[35:0] = P2GM0GBASE[35:29] | PCIAddr[28:0];
Memory space 1
If (PCIAddr[39:24] == P2GM1PUBASE.BA[39:32] | P2GM1PLBASE.BA[31:24] then
GBusAddr[35:0] = P2GM1GBASE[35:24] | PCIAddr[23:0];
Memory space 2
If (PCIAddr[31:20] == P2GM2PBASE.BA[31:20]) then
GBusAddr[35:0] = P2GM2GBASE[35:20] | PCIAddr[19:0];
I/O space
If (PCIAddr[31:8] == P2GIOPBASE.BA[31:8]) then
GBusAddr[35:0] = P2GIOGBASE[35:8] | PCIAddr[7:0];
Table 10.3.4 Target Access Space Address Mapping Register
Space
Size
PCI
Address
PCI Bus Base Address PBASE
G-Bus Base Address
GBASE
Memory Space 0 512 MB
40-bit
P2GM0PUBASE.BA[39:32] | P2GM0PLBASE.BA[31:29]
P2GM0GBASE.BA[35:29]
Memory Space 1 16 MB
40-bit
P2GM1PUBASE.BA[39:32] | P2GM1PLBASE.BA[31:24]
P2GM1GBASE.BA[35:24]
Memory Space 2 1 MB
32-bit
P2GM2PBASE.BA[31:20]
P2GM2GBASE.BA[35:20]
I/O Space
256 B
32-bit
P2GIOPBASE.BA[31:8]
P2GIOGBASE.BA[35:8]
Figure 10.3.6 illustrates this address conversion.
n
=
29 Memory Space 0
n
=
24 Memory Space 1
n
=
20 Memory Space 2
n
=
8 I/O Space
Figure 10.3.6 Address Conversion for Target (PCI Bus (PCI Bus
→
G-Bus Address Conversion)
0
Compare
GBASE
0
35
GBusAddr
0
39/32
PCIAddr
n n
−
1
39/32 n n
−
1
n n
−
1
0
35 n n
−
1
PBASE
Summary of Contents for TX49 TMPR4937
Page 1: ...64 Bit TX System RISC TX49 Family TMPR4937 Rev 2 0 ...
Page 4: ......
Page 13: ...Table of Contents ix TMPR4937 Revision History 1 ...
Page 14: ...Table of Contents x ...
Page 15: ...Handling Precautions ...
Page 16: ......
Page 18: ...1 Using Toshiba Semiconductors Safely 1 2 ...
Page 40: ...3 General Safety Precautions and Usage Considerations 3 18 ...
Page 42: ...4 Precautions and Usage Considerations 4 2 ...
Page 43: ...TMPR4937 2005 3 Rev 2 0 ...
Page 44: ......
Page 52: ...Chapter 1 Overview and Features 1 6 ...
Page 156: ...Chapter 7 External Bus Controller 7 56 ...
Page 491: ...Chapter 16 Removed 16 1 16 Removed ...
Page 492: ...Chapter 16 Removed 16 2 ...
Page 493: ...Chapter 17 Removed 17 1 17 Removed ...
Page 494: ...Chapter 17 Removed 17 2 ...
Page 495: ...Chapter 18 Removed 18 1 18 Removed ...
Page 496: ...Chapter 18 Removed 18 2 ...
Page 497: ...Chapter 19 Removed 19 1 19 Removed ...
Page 498: ...Chapter 19 Removed 19 2 ...
Page 506: ...Chapter 20 Extended EJTAG Interface 20 8 ...
Page 530: ...Chapter 22 Pinout and Package Information 22 10 ...
Page 542: ...Chapter 24 Parts Number when Ordering 24 2 ...