Hitachi SH7751 Hardware Manual page 929

Superh risc engine
Table of Contents

Advertisement

For the PCICONF5 and PCILAR0, the most significant address bit that is higher than the memory
size set in the PCILSR0 becomes valid. The most significant address bit of the PCICONF5 and the
PCI address output from an external PCI device are compared for the purpose of determining
whether the access is made to the PCIC. When the addresses correspond, the access to the PCIC is
recognized, and a local address is generated from the most significant address bit of the PCILAR0
and the least significant bit of the PCI address output from the external PCI device. The PCI
command is executed for this local address.
If the most significant address bit of the PCI address output from the external PCI device does not
correspond with the most significant address bit of the PCICONF5, the PCIC does not respond to
the PCI command.
Address space 1 is, like address space 0, controlled by the PCICONF6, PCILSR1, and PCILAR1.
In this way, it is possible to set two address spaces. In systems with two or less local bus areas that
can be accessed from the PCI bus, separate address spaces can be allocated to each of them.
To make it possible to access three or more areas from the PCI bus, set the address spaces so that
multiple areas are covered. In this case, we can assume that the address space includes areas for
which no memory is installed. Note that, in this case, it is not possible to disable target transfers
to areas for which no memory is installed.
I/O-Read and I/O-Write Commands: The local registers of the PCIC are accessed by means of a
target transfer triggered by an I/O-read or I/O-write command. In the SH7751, accessing the local
registers by means of I/O transfer is made possible by setting a base address that specifies 1 Mbyte
1
of I/O space*
in PCI configuration register 4 (PCICONF4). In the SH7751R, a base address that
specifies 256 bytes of I/O space should be set.
I/O-read and I/O-write commands only supports single transfers. The values of the byte-enable

signals (
[3:0]) are ignored, and longword accesses are carried out inside the PCIC. When
executing an I/O-read and I/O-write commands transfer, specify B'0000 as the
Note that some of the local registers are not accessible from the PCI bus. For details, see section
22.2, PCIC Register Descriptions.
Configuration-Read and Configuration-Write Commands: When the PCIC operates as a non-
host device, the configuration registers of the PCIC are accessed by using configuration-read and
configuration-write commands.
Configuration access only supports single transfers. In the SH7751, the values of the byte-enable

signals (
[3:0]) are ignored, and longword accesses are carried out inside the PCIC*
SH7751R, the values of
specify B'0000 as the
Rev. 3.0, 04/02, page 890 of 1064

are enabled. When executing a configuration-write operation,

[3:0] value.

[3:0] value.
2
. In the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents