Local Register Access; Host Functions - Hitachi SH7751 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

22.3.4

Local Register Access

Only longword (32-bit) access of the PCIC's internal local registers and configuration registers
from the CPU is supported.
(It is possible to use PIO transfers to perform byte, word, and longword access of the memory
space and I/O space on the PCI bus.)
If an attempt is made to access these registers using other than the prescribed access size, zero is
returned when reading and writing is ignored. The same is true if you attempt to access the
reserved areas in the register area in the PCIC.
Some of the configuration registers and local registers can be accessed both from the CPU and
from the PCI device(s). Therefore, arbitration is performed for both types of access and either the
CPU or PCI device access made to wait according to the access timing.
In the read bus cycle from the CPU, the internal bus cycle for the peripheral module is made to
wait until the data is actually ready. In the write bus cycle, the bus cycle of the internal bus for
peripheral modules ends with the data having been written to the interface (register located
immediately after the PCIC input) register on the internal bus for peripheral modules, but the data
is not actually written to the local register(s) or PCI bus until the following clock cycle. If it is
necessary to check that the data has actually been written, read the register to which the data was
to have been written. This is because the read cycle must be after the write cycle has completed.
When accessing from a PCI device, the PCI bus cycle is caused to wait until the read or write
operation has actually completed.
The internal bus for peripheral modules used for read/write operations from the CPU operates only
with big endians.
22.3.5

Host Functions

The PCIC has the following PCI bus host functions (host devices):

Inter-PCI device arbitration function

Configuration register access function

Special cycle generation function

Reset output function

Clock output function
Inter-PCI Device Arbitration: The PCI bus arbitration circuit in the PCIC can be used when the
PCIC is operating as the host device. The arbitration circuit can be connected to up to four
external PCI devices (devices that can operate as master devices) that request bus privileges.
Rev. 3.0, 04/02, page 882 of 1064

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents