Pci target-only peripheral, Pci host-bridge device – Altera PCI Compiler User Manual

Page 252

Advertising
background image

6–2

User Guide Version 11.1

Altera Corporation

PCI Compiler

October 2011

System Options-1

Selecting the PCI Master/Target Peripheral mode results in the
PCI-Avalon bridge instantiating either the Altera pci_mt32 or
pci_mt64

MegaCore function. Your PCI Data Bus Width selections in

the System Options - 2 tab will make the final determination between
MegaCore functions.

PCI Target-Only Peripheral
This mode allows PCI bus mastering devices to access Avalon-MM slave
devices via the PCI bus target interface. Select this option if you are
constructing an SOPC Builder system that does not have Avalon-MM
master devices accessing PCI bus devices. Refer to

Figure 7–2 on page 7–7

and

Figure 7–3 on page 7–8

.

Selecting the PCI Target-Only Peripheral mode results in the
PCI-Avalon bridge instantiating either the pci_t32 or pci_t64
MegaCore function. Your PCI Data Bus Width selections in the System
Options - 2

tab will make the final determination between MegaCore

functions.

PCI Host-Bridge Device
In addition to the same features provided by the PCI Master/Target
Peripheral

mode, the PCI Host-Bridge Device mode provides host bridge

functionality including hardwiring the master enable bit to 1 in the PCI
command register and allowing self configuration. Hardwiring the
master enable bit to 1 allows the PCI master device to initiate master
transactions upon power up. Self configuration is needed to enable the
PCI-Avalon bridge’s PCI master device to access its own PCI
configuration header for the PCI bus enumeration.

Select PCI Host-Bridge Device mode when the Host processor is on the
Avalon-MM side of the PCI-Avalon bridge. Selecting this mode results in
the PCI-Avalon bridge instantiating either the pci_mt32 or pci_mt64
MegaCore function. Your PCI Data Bus Width selections in the System
Options - 2

tab will make the final determination between MegaCore

functions.

Advertising