Arria V Avalon-ST Interface for PCIe Solutions User Guide

ID 683733
Date 1/04/2023
Public
Document Table of Contents

5.1. Correspondence between Configuration Space Registers and the PCIe Specification

Table 48.  Address Map of Hard IP Configuration Space RegistersFor the Type 0 and Type 1 Configuration Space Headers, the first line of each entry lists Type 0 values and the second line lists Type 1 values when the values differ.

Byte Address

Hard IP Configuration Space Register

Corresponding Section in PCIe Specification

0x000:0x03C

PCI Header Type 0 Configuration Registers

Type 0 Configuration Space Header

0x000:0x03C

PCI Header Type 1 Configuration Registers

Type 1 Configuration Space Header

0x040:0x04C

Reserved

N/A

0x050:0x05C

MSI Capability Structure

MSI Capability Structure

0x068:0x070

MSI-X Capability Structure

MSI-X Capability Structure

0x070:0x074

Reserved

N/A

0x078:0x07C

Power Management Capability Structure

PCI Power Management Capability Structure

0x080:0x0BC

PCI Express Capability Structure

PCI Express Capability Structure

0x0C0:0x0FC

Reserved

N/A

0x100:0x16C

Virtual Channel Capability Structure

Virtual Channel Capability

0x170:0x17C

Reserved

N/A

0x180:0x1FC

Virtual channel arbitration table

VC Arbitration Table

0x200:0x23C

Port VC0 arbitration table

Port Arbitration Table

0x240:0x27C

Port VC1 arbitration table

Port Arbitration Table

0x280:0x2BC

Port VC2 arbitration table

Port Arbitration Table

0x2C0:0x2FC

Port VC3 arbitration table

Port Arbitration Table

0x300:0x33C

Port VC4 arbitration table

Port Arbitration Table

0x340:0x37C

Port VC5 arbitration table

Port Arbitration Table

0x380:0x3BC

Port VC6 arbitration table

Port Arbitration Table

0x3C0:0x3FC

Port VC7 arbitration table

Port Arbitration Table

0x400:0x7FC

Reserved

PCIe spec corresponding section name

0x800:0x834

Advanced Error Reporting AER (optional)

Advanced Error Reporting Capability

0x838:0xFFF

Reserved

N/A

Overview of Configuration Space Register Fields

0x000

Device ID, Vendor ID

Type 0 Configuration Space Header

Type 1 Configuration Space Header

0x004

Status, Command

Type 0 Configuration Space Header

Type 1 Configuration Space Header

0x008

Class Code, Revision ID

Type 0 Configuration Space Header

Type 1 Configuration Space Header

0x00C

BIST, Header Type, Primary Latency Timer, Cache Line Size

Type 0 Configuration Space Header

Type 1 Configuration Space Header

0x010

Base Address 0

Base Address Registers

0x014

Base Address 1

Base Address Registers

0x018

Base Address 2

Secondary Latency Timer, Subordinate Bus Number, Secondary Bus Number, Primary Bus Number

Base Address Registers

Secondary Latency Timer, Type 1 Configuration Space Header, Primary Bus Number

0x01C

Base Address 3

Secondary Status, I/O Limit, I/O Base

Base Address Registers

Secondary Status Register ,Type 1 Configuration Space Header

0x020

Base Address 4

Memory Limit, Memory Base

Base Address Registers

Type 1 Configuration Space Header

0x024

Base Address 5

Prefetchable Memory Limit, Prefetchable Memory Base

Base Address Registers

Prefetchable Memory Limit, Prefetchable Memory Base

0x028

Reserved

Prefetchable Base Upper 32 Bits

N/A

Type 1 Configuration Space Header

0x02C

Subsystem ID, Subsystem Vendor ID

Prefetchable Limit Upper 32 Bits

Type 0 Configuration Space Header

Type 1 Configuration Space Header

0x030

Expansion ROM base address

I/O Limit Upper 16 Bits, I/O Base Upper 16 Bits

Type 0 Configuration Space Header

Type 1 Configuration Space Header

0x034

Reserved, Capabilities PTR

Type 0 Configuration Space Header

Type 1 Configuration Space Header

0x038

Reserved

Expansion ROM Base Address

N/A

Type 1 Configuration Space Header

0x03C

Interrupt Pin, Interrupt Line

Bridge Control, Interrupt Pin, Interrupt Line

Type 0 Configuration Space Header

Type 1 Configuration Space Header

0x050

MSI-Message Control Next Cap Ptr Capability ID

MSI and MSI-X Capability Structures

0x054

Message Address

MSI and MSI-X Capability Structures

0x058

Message Upper Address

MSI and MSI-X Capability Structures

0x05C

Reserved Message Data

MSI and MSI-X Capability Structures

0x068

MSI-X Message Control Next Cap Ptr Capability ID

MSI and MSI-X Capability Structures

0x06C

MSI-X Table Offset BIR

MSI and MSI-X Capability Structures

0x070

Pending Bit Array (PBA) Offset BIR

MSI and MSI-X Capability Structures

0x078

Capabilities Register Next Cap PTR Cap ID

PCI Power Management Capability Structure

0x07C

Data PM Control/Status Bridge Extensions Power Management Status & Control

PCI Power Management Capability Structure

0x080

PCI Express Capabilities Register Next Cap Ptr PCI Express Cap ID

PCI Express Capability Structure

0x084

Device Capabilities Register

PCI Express Capability Structure

0x088

Device Status Register Device Control Register

PCI Express Capability Structure

0x08C

Link Capabilities Register

PCI Express Capability Structure

0x090

Link Status Register Link Control Register

PCI Express Capability Structure

0x094

Slot Capabilities Register

PCI Express Capability Structure

0x098

Slot Status Register Slot Control Register

PCI Express Capability Structure

0x09C

Root Capabilities Register Root Control Register

PCI Express Capability Structure

0x0A0

Root Status Register

PCI Express Capability Structure

0x0A4

Device Capabilities 2 Register

PCI Express Capability Structure

0x0A8

Device Status 2 Register Device Control 2 Register

PCI Express Capability Structure

0x0AC

Link Capabilities 2 Register

PCI Express Capability Structure

0x0B0

Link Status 2 Register Link Control 2 Register

PCI Express Capability Structure

0x0B4:0x0BC

Reserved

PCI Express Capability Structure

0x800

Advanced Error Reporting Enhanced Capability Header

Advanced Error Reporting Enhanced Capability Header

0x804

Uncorrectable Error Status Register

Uncorrectable Error Status Register

0x808

Uncorrectable Error Mask Register

Uncorrectable Error Mask Register

0x80C

Uncorrectable Error Severity Register

Uncorrectable Error Severity Register

0x810

Correctable Error Status Register

Correctable Error Status Register

0x814

Correctable Error Mask Register

Correctable Error Mask Register

0x818

Advanced Error Capabilities and Control Register

Advanced Error Capabilities and Control Register

0x81C

Header Log Register

Header Log Register

0x82C

Root Error Command

Root Error Command Register

0x830

Root Error Status

Root Error Status Register

0x834

Error Source Identification Register Correctable Error Source ID Register

Error Source Identification Register