Pci Bus Master Arbitration; Pci Bus Mastering - Compaq Deskpro 4000N Technical Reference Manual

Compaq personal computer user manual
Hide thumbs Also See for Deskpro 4000N:
Table of Contents

Advertisement

Chapter 4 System Support
4.2.2

PCI BUS MASTER ARBITRATION

The PCI bus supports a bus master/target arbitration scheme. A bus master is a device that has
been granted control of the bus for the purpose of initiating a transaction. A target is a device that
is the recipient of a transaction. Request (REQ), Grant (GNT), and FRAME signals are used by
PCI bus masters for gaining access to the PCI bus. When a PCI device needs access to the PCI
bus (and does not already own it), the PCI device asserts it's REQn signal to the PCI bus arbiter
(a function of the system controller component). If the bus is available, the arbiter asserts the
GNTn signal to the requesting device, which then asserts FRAME and conducts the address
phase of the transaction with a target. If the PCI device already owns the bus, a request is not
needed and the device can simply assert FRAME and conduct the transaction. Table 4-1 shows
the grant and request signals assignments for the devices on the PCI bus.
Table 4–2. PCI Bus Mastering Devices
REQ/GNT Line
REQ1/GNT1
REQ2/GNT2
REQ3/GNT3
PCI bus control is granted according to a Least Recently Used (LRU) algorithm. During times
that the bus is not used or requested, bus control is given to the Host/PCI bridge. After a device
has given up control of the bus or has not executed a transaction for 16 PCI clock cycles
(PCICLKs) after gaining bus control, it loses access and is placed on the bottom of the priority
list.
The PCI/ISA bridge is given special consideration. If the PCI/ISA bridge gains control of the PCI
bus but does not execute a transaction after 16 PCICLKs, the PCI/ISA bridge retains ownership
of the PCI bus until the current ISA bus master relinquishes the ISA bus. The PCI/ISA bridge is
then placed on the bottom of the priority list.
PCI bus priority can be altered in two ways: by a master needing to perform a retry of a data
cycle, or by the master locking the bus. When a master is retried, it releases the bus and negates
its REQn- line for a minimum of two PCICLKs and then requests the bus again. If the master is
granted the bus before the condition that caused the retry is resolved, the master is retried again,
which may result in bus "thrashing." Bus thrashing is minimized by masking the REQn- line of a
particular device that has had a transaction retried.
If a master locks the PCI bus, it retains top priority, allowing it to quickly finish a lock sequence.
The PCI/ISA bridge cannot become master until the locking device unlocks the bus.
Consequently, a master should not lock the bus for long periods of time or latency problems could
occur.
4-4
Compaq Deskpro 4000N and 4000S Personal Computers
Table 4-2.
PCI Bus Mastering Devices
First Edition - September 1997
Device
PCI Connector
Graphics Controller
Network I/F Controller

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Deskpro 4000s

Table of Contents