beautypg.com

Altera Arria V Hard IP for PCI Express User Manual

Page 165

background image

Chapter 8: Register Descriptions

8–11

PCI Express Avalon-MM Bridge Control Register Access Content

December 2013

Altera Corporation

Arria V Hard IP for PCI Express

User Guide

The control and status register address space is 16 KBytes. Each 4 KByte sub-region
contains a specific set of functions, which may be specific to accesses from the PCI
Express Root Complex only, from Avalon-MM processors only, or from both types of
processors. Because all accesses come across the interconnect fabric —requests from
the Avalon-MM Arria V Hard IP for PCI Express are routed through the interconnect
fabric— hardware does not enforce restrictions to limit individual processor access to
specific regions. However, the regions are designed to enable straight-forward
enforcement by processor software.

Table 8–23

describes the four subregions.

1

The data returned for a read issued to any undefined address in this range is
unpredictable.

Table 8–24

lists the complete address map for the PCI Express Avalon-MM bridge

registers.

1

In

Table 8–24

the text in

green

links to the detailed register description.

Table 8–23. Avalon-MM Control and Status Register Address Spaces

Address

Range

Address Space Usage

0x0000-0x0FFF

Registers typically intended for access by PCI Express processors only. This includes PCI Express
interrupt enable controls, write access to the PCI Express Avalon-MM bridge mailbox registers, and
read access to Avalon-MM-to-PCI Express mailbox registers.

0x1000-0x1FFF

Avalon-MM-to-PCI Express address translation tables. Depending on the system design these may be
accessed by PCI Express processors, Avalon-MM processors, or both.

0x2000-0x2FFF

Root Port request registers. An embedded processor, such as the Nios II processor, programs these
registers to send the data to send Configuration TLPs, I/O TLPs, single dword Memory Reads and
Write request, and receive interrupts from an Endpoint.

0x3000-0x3FFF

Registers typically intended for access by Avalon-MM processors only. These include Avalon-MM
interrupt enable controls, write access to the Avalon-MM-to-PCI Express mailbox registers, and read
access to PCI Express Avalon-MM bridge mailbox registers.

Table 8–24. PCI Express Avalon-MM Bridge Register Map (Part 1 of 2)

Address Range

Register

0x0040

Avalon-MM to PCI Express Interrupt Status Register 0x0040

0x0050

Avalon-MM to PCI Express Interrupt Enable Register 0x0050

0x0060

Avalon-MM Interrupt Vector Register 0x0060

0x0800-0x081F

PCI Express-to-Avalon-MM Mailbox Registers 0x0800–0x081F

0x0900-0x091F

Avalon-MM-to-PCI Express Mailbox Registers 0x0900–0x091F

0x1000-0x1FFF

Avalon-MM-to-PCI Express Address Translation Table 0x1000–0x1FFF

0x2000–0x2FFF

Root Port TLP Data Registers 0x2000–0x2FFF

0x3060

Avalon-MM Interrupt Status Registers for Root Ports 0x3060

0x3060

PCI Express to Avalon-MM Interrupt Status Register for Endpoints 0x3060

0x3070

INT-X Interrupt Enable Register for Root Ports 0x3070

0x3070

INT-X Interrupt Enable Register for Endpoints 0x3070