Download Xilinx UG057 ML300 Reference Design User Guide
Transcript
R Chapter 8: OPB to PCI Bridge Lite transfer can begin. This is accomplished by holding back Sl_xferAck in between each word of OPB data until the corresponding PCI data transfer has completed. This allows the design to be very small but also reduces performance. PCI errors due to target abort conditions are passed back to the OPB as an errAck response. To allow for PCI device discovery without causing CPU machine-check exceptions, errors that occur during configuration cycles are not reported back to OPB. Reading from a nonexistent PCI device during a configuration cycle will return data of 0xFFFFFFFF. PCI retry is fed back to cause an OPB retry. PCI Target to OPB Master Transactions The OPB PCI Bridge takes read/write requests at its PCI target interface and completes the transaction on OPB. Since this bridge is “Lite” it does not have large data buffers. Therefore each single 32-bit PCI data transfer must be completed on OPB before the next data transfer can begin. This is accomplished by performing a target disconnect with data. The interface disconnects the PCI bus after the OPB data transfer of the first word has completed. OPB retries are reflected back to PCI as a target disconnect without data. OPB timeouts or OPB transactions terminated with OPB_errAck result in a target abort on the PCI interface. Arbiter A simple six-master companion PCI arbiter is provided with the OPB PCI Bridge. The arbiter implements a simple round robin arbitration scheme. Memory Map The Bridge maps a 512 MB OPB address space into four PCI memory regions. Each memory region corresponds to a different transaction type as shown in Table 8-7. The base address is user-specified as a parameter during module instantiation. Note that the mapping from OPB to PCI address space is transparent (1:1) for the Memory transaction type. For transactions going from PCI to OPB, the bridge responds to PCI addresses of 0x00000000 - 0x0FFFFFFF (PCI BAR 0) and generates an OPB transaction to the same address. Edit the pci_cfg.v to change this memory window. Table 8-7: OPB to PCI Bridge Memory Map OPB Address Boundaries (Hex) PCI Address Boundaries (Hex) PCI Transfer Type / Register Name Lower Upper Lower Upper Memory Base Addr + 00000000 Base Addr + 17FFFFFF Base Addr + 00000000 Base Addr + 17FFFFFF I/O Base Addr + 18000000 Base Addr + 1BFFFFFF Base Addr + 00000000 Base Addr + 03FFFFFF Configuration Address Base Addr + 1C000000 Base Addr + 1C000003 N/A N/A Configuration Data Base Addr + 1C000004 Base Addr + 1C000007 N/A N/A Configuration (External Device, Memory Mapped, Type 0 only) Base Addr + 1C000008 Base Addr + 1DFFFFFF 00000000 01FFFFFF 126 www.xilinx.com 1-800-255-7778 ML300 Reference Design UG057 (v1.1) March 18, 2004