Intel: I am using Stratix® 10 to configure PCI-Express (PCIe) IP and set MSI-X. When I check the Configuration Register it looks like All is zero. How can I get the expected value?

IP PCI Express Quartus Prime Stratix

【Answer】
Category: PCI-Express
Tools: Quartus® Prime
Device: Stratix® 10

This is a Tool Bug and the GUI setting values are not reflected in the generated RTL, so it is necessary to edit the file directly.

[When using Avalon-MM]
- altera_pcie_s10_hip_avmm_bridge.v

Search for "pf0_pci_msix_table_offset" and "pf0_pci_msix_pba_offset" in the above file and change the values.

[When using Hard IP+ (Gen3 x16 Only)]
-intel_pcie_s10_avmm_bridge_512.sv

Search for "pf0_pci_msix_table_offset" and "pf0_pci_msix_pba_offset" in the above file and change the values.

[edit example]
- When setting 0x2000 to Table offset and 0x3000 to PBA offset

-------------------------------------------------- ------------------------------
parameter[28:0] pf0_pci_msix_table_offset = 29'h400,
parameter[28:0] pf0_pci_msix_pba_offset = 29'h600,
-------------------------------------------------- ------------------------------
* Since it is 29-bit, please input the value shifted right by 3 bits.

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.