Arria® 10 and Cyclone® 10 GX Avalon® Memory-Mapped (Avalon-MM) Interface for PCI Express* User Guide

ID 683724
Date 9/10/2024
Public
Document Table of Contents

15.1. Reconfigurable Read-Only Registers in the Hard IP for PCI Express

The following table lists all of the registers that you can update using the PCI Express reconfiguration block interface.

Table 82.  
Address Bits Description Default Value
0x00 0

When 0, PCIe reconfig mode is enabled. When 1, PCIe reconfig mode is disabled and the original read-only register values set in the programming file used to configure the device are restored.

b'1
0x01 - 0x88 -- Reserved. --
0x89 15:0 Vendor ID. 0x1172
0x8A 15:0 Device ID. 0x0001
0x8B 7:0 Revision ID. 0x01
0x8C 15:0 Class code[23:8]. --
0x8D 15:0 Subsystem vendor ID. 0x1172
0x8E 15:0 Subsystem device ID. 0x0001
0x8F -- Reserved. --
0x90 0 Advanced Error Reporting. b'0
3:1 Low Priority VC (LPVC). b'000
7:4 VC arbitration capabilities. b'0001
15:8 Reject Snoop Transaction. b'00000000
0x91 2:0
Max payload size supported. The following are the defined encodings:
  • 000: 128 bytes max payload size
  • 001: 256 bytes max payload size
  • 010: 512 bytes max payload size
  • 011: 1024 bytes max payload size
  • 100: 2048 bytes max payload size
  • 101: 4096 bytes max payload size
  • 110: Reserved
  • 111: Reserved
b'010
3

Surprise Down error reporting capabilities. (Available in PCI Express Base Specification Revision 1.1 compliant Cores only).

Downstream Port. This bit must be set to 1 if the component supports the optional capability of detecting and reporting a Surprise Down error condition.

Upstream Port. For upstream ports and components that do not support this optional capability, this bit must be hardwired to 0. (Available in PCI Express Base Specification Revision 1.1 compliant Cores only).

b'0
4 (Available in PCI Express Base Specification Revision 1.1 compliant Cores only).

Downstream Port: This bit must be set to 1 if the component supports the optional capability of reporting the DL_Active state of the Data Link Control and Management state machine.

Upstream Port: For upstream ports and components that do not support this optional capability, this bit must be hardwired to 0.

b'0
5 Extended TAG field supported b'0
8:6
Endpoint L0s acceptable latency. The following encodings are defined:
  • b'000 - Maximum of 64 ns
  • b'001 - Maximum of 128 ns
  • b'010 - Maximum of 256 ns
  • b'011 - Maximum of 512 ns
  • b'100 - Maximum of 1 μs
  • b'101 - Maximum of 2 μs
  • b'110 - Maximum of 4 μs
  • b'111- No limit
b'000
11:9
Endpoint L1 acceptable latency. The following encodings are defined:
  • b'000 - Maximum of 1 μs
  • b'001 - Maximum of 2 μs
  • b'010 - Maximum of 4 μs
  • b'011 - Maximum of 8 μs
  • b'100 - Maximum of 16 μs
  • b'101 - Maximum of 32 μs
  • b'110 - Maximum of 64 μs
  • b'111 - No limit
b'000
14:12
These bits record the presence or absence of the attention and power b'1 indicators.
  • [0]: Attention button present on the device.
  • [1]: Attention indicator present for an endpoint.
  • [2]: Power indicator present for an endpoint.
b'1
15 Role-Based error reporting. (Available in PCI Express Base Specification Revision 1.1 compliant Cores only). --
0x92 1:0 Slot Power Limit Scale b'00
7:2 Max Link Width b'000100
9:8 L0s Active State power management support. L1 Active State power management support. b'01
15:10
L1 exit latency common clock. L1 exit latency separated clock. The following encodings are defined:
  • b'000 - Less than 1 µs
  • b'001 - 1 µs to less than 2 µs
  • b'010 - 2 µs to less than 4 µs
  • b'011 - 4 µs to less than 8 µs
  • b'100 - 8 µs to less than 16 µs
  • b'101 - 16 µs to less than 32 µs
  • b'110 - 32 µs to 64 µs
  • b'111 - More than 64 µs
b'000000
0x93 0 Attention button implemented on the chassis. b'0000000
1 Power controller present.
2 Manually Operated Retention Latch (MRL) sensor present.
3 Attention indicator present for a root port, switch, or bridge.
4 Power indicator present for a root port, switch, or bridge.
5 Hot-plug surprise: When this bit set to1, a device can be removed from this slot without prior notification.
6 Hot-plug capable.
9:7 Reserved b'000
15:10 Slot Power Limit Value b'000000
0x94 1:0 Reserved --
2 Electromechanical Interlock present (Available in PCI Express Base Specification Revision 1.1 compliant Cores only). b'0
15:3 Physical Slot Number (if slot implemented). This signal indicates the physical slot number associated with this port. It must be unique within the fabric. b'0
0x95 7:0 NFTS_SEPCLK. The number of fast training sequences for the separate clock. b'10000000
15:8 NFTS_COMCLK. The number of fast training sequences for the common clock. b'10000000
0x96 3:0
Completion timeout ranges. The following encodings are defined:
  • b'0001: range A
  • b'0010: range B
  • b'0011: range A&B
  • b'0110: range B&C
  • b'0111: range A,B&C
  • b'1110: range B,C&D
  • b'1111: range A,B,C&D

All other values are reserved.

b'0000
4 Completion Timeout supported. 0: completion timeout disable not supported. 1: completion timeout disable supported b'0
7:5 Reserved b'000
8 ECRC generation b'0
9 ECRC checking b'0
10 No command completed support. (Available in PCI Express Base Specification Revision 1.1 compliant Cores only). b'0
13:11
Number of functions MSI-capable.
  • b'000: 1 MSI-capable
  • b'001: 2 MSI-capable
  • b'010: 4 MSI-capable
  • b'011: 8 MSI-capable
  • b'100: 16 MSI-capable
  • b'101: 32 MSI-capable
b'010
14 MSI 32/64-bit addressing mode. b'0: 32 bits only. b'1: 32 or 64 bits. b'1
15 MSI per-bit vector masking (read-only field). b'0
0x97 0 Function supports MSI. b'1
3:1 Interrupt pins. b'001
5:4 Reserved b'00
6 Function supports MSI-X. b'0
15:7 MSI-X table size b'000000000
0x98 1:0 Reserved --
4:2 MSI-X Table BIR. b'000
15:5 MSI-X Table Offset. b'00000000000
0x99 15:10 MSI-X PBA Offset. b'000000
0x9A 15:0 Reserved 0x0000
0x9B 15:0 Reserved 0x0000
0x9C 15:0 Reserved 0x0000
0x9D 15:0 Reserved 0x0000
0x9E 3:0 Reserved --
7:4 Number of EIE symbols before NFTS. b'0100
15:8 Number of NFTS for separate clock in Gen2 rate. b'11111111
0x9F 7:0 Number of NFTS for common clock in Gen2 rate. b'11111111
8 Selectable de-emphasis. b'0
12:9
PCIe Capability Version.
  • b'0000: Core is compliant to PCIe Specification 1.0a or 1.1
  • b'0001: Core is compliant to PCIe Specification 1.0a or 1.1
  • b'0010: Core is compliant to PCIe Specification 2.0
  • b'0100: Core is compliant to PCIe Specification 3.0
b'0100
15:13
L0s exit latency for common clock.
  • Gen1: ( N_FTS (of separate clock) + 1 (for the SKIPOS) ) * 4 * 10 * UI (UI = 0.4 ns).
  • Gen2: [ ( N_FTS2 (of separate clock) + 1 (for the SKIPOS) ) * 4 + 8 (max number of received EIE) ] * 10 * UI (UI = 0.2 ns).
b'110
0xA0 2:0
L0s exit latency for separate clock.
  1. Gen1: ( N_FTS (of separate clock) + 1 (for the SKIPOS) ) * 4 * 10 * UI (UI = 0.4 ns).
  2. Gen2: [ ( N_FTS2 (of separate clock) + 1 (for the SKIPOS) ) * 4 + 8 (max number of received EIE) ] * 10 * UI (UI = 0.2 ns).
  • b'000 - Less than 64 ns
  • b'001 - 64 ns to less than 128 ns
  • b'010 - 128 ns to less than 256 ns
  • b'011 - 256 ns to less than 512 ns
  • b'100 - 512 ns to less than 1 µs
  • b'101 - 1 µs to less than 2 µs
  • b'110 - 2 µs to 4 µs
  • b'111 - More than 4 µs
b'110
15:3 Reserved 0x0000
0xA1   BAR0[31:0]  
0 BAR0[0]: I/O Space b'0
2:1 BAR0[2:1]: Memory Space. The following encodings are defined:
  • 2'b10: 64-bit address
  • 2'b00: 32-bit address
b'10
3 BAR0[3]: Prefetchable. b'1
  BAR0[31:4]: BAR size mask. 0xFFFFFFF
15:4 BAR0[15:4]. Bits [15:4] of BAR size mask. b'0
0xA2 15:0 BAR0[31:16]. Bits [31:16] of BAR size mask. b'0
0xA3   BAR1[63:32] b'0
0 BAR1[32]: I/O Space b'0
2:1 BAR1[34:33]: Memory Space (see bit settings for BAR0). b'0
3 BAR1[35]: Prefetchable. b'0
  BAR1[63:36]: BAR size mask b'0
15:4 BAR1[47:36]. Bits [47:36] of BAR size mask. b'0
0xA4 15:0 BAR1[63:48]. Bits [63:48] of BAR size mask. b'0
0xA5   BAR2[95:64] b'0
0 BAR2[64]: I/O Space b'0
2:1 BAR2[66:65]: Memory Space (see bit settings for BAR0). b'0
3 BAR2[67]: Prefetchable. b'0
  BAR2[95:68]: BAR size mask b'0
15:4 BAR2[79:68]. Bits [79:68] of BAR size mask. b'0
0xA6 15:0 BAR2[95:80]. Bits [95:80] of BAR size mask. b'0
0xA7   BAR3[127:96] b'0
0 BAR3[96]: I/O Space b'0
2:1 BAR3[98:97]: Memory Space (see bit settings for BAR0). b'0
3 BAR3[99]: Prefetchable. b'0
  BAR3[127:100]: BAR size mask b'0
15:4 BAR3[111:100]. Bits [111:100] of BAR size mask. b'0
0xA8 15:0 BAR3[127:112]: Bits [127:112] of BAR size mask. b'0
0xA9   BAR4[159:128] b'0
0 BAR4[128]: I/O Space b'0
2:1 BAR4[130:129]: Memory Space (see bit settings for BAR0). b'0
3 BAR4[131]: Prefetchable. b'0
  BAR4[159:132]: BAR size mask  
15:4 BAR4[143:132]. Bits [143:132] of BAR size mask. b'0
0xAA 15:0 BAR4[159:144]. Bits [159:144] of BAR size mask. b'0
0xAB   BAR5[191:160] b'0
0 BAR5[160]: I/O Space b'0
2:1 BAR5[162:161]: Memory Space (see bit settings for BAR0). b'0
3 BAR5[163]: Prefetchable. b'0
  BAR5[191:164]: Bar size mask. b'0
15:4 BAR5[175:164]. Bits [175:164] of BAR size mask. b'0
0xAC 15:0 BAR5[191:176]. Bits [191:176] of BAR size mask. b'0
0xAD 15:0 Expansion BAR[223:192]: Bar size mask. Expansion BAR[207:192]. b'0
0xAE 15:0 Expansion BAR[223:208]. b'0
0xAF 1:0
IO.
  • 00: no IO windows.
  • 01: IO 16-bit.
  • 10: prefetchable 64.
  • 11: IO 32-bit.
b'0
3:2
Prefetchable.
  • 00: not implemented.
  • 01: prefetchable 32
  • 10: prefetchable 64
  • 11: 32 MSI capable
b'0
15:4 Reserved --
0xB0 5:0 Reserved --
6
Selectable de-emphasis, operates as specified in the PCI Express Base Specification when operating at the 5.0GT/s rate:
  • 1: 3.5 dB
  • 0: -6 dB

This setting has no effect when operating at the 2.5GT/s rate.

 
9:7 Transmit Margin. Directly drives the transceiver tx_pipemargin bits.  
0xB1 - 0xFF -- Reserved