beautypg.com

2 pci bus arbiter – NEC Network Controller uPD98502 User Manual

Page 388

background image

CHAPTER 7 PCI CONTROLLER

388

Preliminary User’s Manual S15543EJ1V0UM

Figure 7-14. An Example How to Connect AD [31:16] Signal Line to IDSEL Port

A D [x]

A D [31 :0 ]

ID S E L

P C I de vice

Figure 7-15. Address Stepping for IDSEL

C lock

F R A M E #

A D

ID S E L

IR D Y #

T R D Y #

D E V S E L#

A ddress

D a ta

7.4.2 PCI bus arbiter

The PCI Controller has an arbiter that supports 4 external PCI master devices. This arbiter is enabled only when in

Host mode and PARBEN is set to high. When this internal arbiter is disabled, the PCI Controller asserts REQ_B

output signal to external arbiter in order to acquire PCI bus both in NIC and in Host mode.

When there are less than 4 PCI master devices on PCI bus and this arbiter is used, REQ_B pins that are not used

should be pull-up.

This internal arbiter has 2 modes for arbitration algorithm. These modes can be selected by PARBM bit in

P_HMCR register.

7.4.2.1 Alternating mode

PCI master devices except the PCI Controller are arbitrated as one group in this mode. Priority alternates The PCI

Controller with the group of PCI master devices on the transaction by transaction. In the group of PCI master devices,

priority rotates among them.

When all REQ_B input signals to this arbiter go up to high, which means no device issues the acquisition of PCI

bus, this arbiter gives the right of use of PCI bus to the PCI Controller in order to make the PCI Controller drive AD

lines and CBE_B lines as arbitration parking.