17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2<br />

Hawk PCI Host Bridge & Multi-Processor Interrupt Controller<br />

The second step is to either read or write configuration data into the<br />

CONFIG_DATA register. If the CONFIG_ADDRESS register is set up<br />

correctly, the PHB will pass this access on to the PCI bus as a configuration<br />

cycle.<br />

The addresses of the CONFIG_ADDRESS and CONFIG_DATA registers<br />

are actually embedded within PCI I/O space. If the CONFIG_ADDRESS<br />

register has been set incorrectly or the access to either the<br />

CONFIG_ADDRESS or CONFIG_DATA register is not 1, 2, or 4 bytes<br />

wide, the PHB will pass the access on to PCI as a normal I/O Space<br />

transfer.<br />

The CONFIG_ADDRESS register is located at offset $CF8 from the<br />

bottom of PCI I/O space. The CONFIG_DATA register is located at offset<br />

$CFC from the bottom of PCI I/O space. The PHB address decode logic<br />

has been designed such that XSADD3 and XSOFF3 must be used for<br />

mapping to PCI Configuration (consequently I/O) space. The<br />

XSADD3/XSOFF3 register group is initialized at reset to allow PCI I/O<br />

access starting at address $80000000. The powerup location (Little Endian<br />

disabled) of the CONFIG_ADDRESS register is $80000CF8, and the<br />

CONFIG_DATA register is located at $80000CFC.<br />

The CONFIG_ADDRESS register must be prefilled with four fields: the<br />

Register Number, the Function Number, the Device Number, and the Bus<br />

Number.<br />

The Register Number and the Function Number get passed along to the<br />

PCI bus as a portion of the lower address bits.<br />

When performing a configuration cycle, the PHB uses the upper 20<br />

address bits as IDSEL lines. During the address phase of a configuration<br />

cycle, only one of the upper address bits will be set.<br />

2-32 <strong>Computer</strong> Group Literature Center Web Site

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!