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

5.6. Interrupts for Endpoints when Multiple MSI/MSI-X Support Is Enabled

Application Layer logic must construct the MSI (MemWr) TLP and send it using the TX slave (TXS) interface. For designs supporting multiple MSI/MSI-X, use the signals described below. For designs using a MSI TLP, use the control register access (CRA) interface to read the MSI Capability registers. The MSI information is at address offsets 14'h3C24, 14'h3C28, 14'h3C54, and 14'h3C5C. The Bus Master Enable bit is at address 14h'3C00.

Table 30.  Exported Interrupt Signals for Endpoints when Multiple MSI/MSI‑X Support is EnabledThe following table describes the IP core’s exported interrupt signals when you turn on Enable multiple MSI/MSI-X support under the Avalon-MM System Settings banner in the parameter editor.

Signal

Direction

Description

msi_intfc_o[81:0]

Output

This bus provides the following MSI address, data, and enabled signals:

  • msi_intfc_o[81]: Master enable
  • msi_intfc_o[80}: MSI enable
  • msi_intfc_o[79:64]: MSI data
  • msi_intfc_o[63:0]: MSI address
msi_control_o[15:0]

Output

Provides for system software control of MSI as defined in Section 6.8.1.3 Message Control for MSI in the PCI Local Bus Specification, Rev. 3.0. The following fields are defined:

  • msi_control_o[15:9]: Reserved
  • msi_control_o[8]: Per-vector masking capable
  • msi_control_o[7]: 64-bit address capable
  • msi_control_o[6:4]: Multiple Message Enable
  • msi_control_o[3:1]: MSI Message Capable
  • msi_control_o[0]: MSI Enable.
msix_intfc_o[15:0]

Output

Provides for system software control of MSI-X as defined in Section 6.8.2.3 Message Control for MSI-X in the PCI Local Bus Specification, Rev. 3.0. The following fields are defined:

  • msix_intfc_o[15]: Enable
  • msix_intfc_o[14]: Mask
  • msix_intfc_o[13:11]: Reserved
  • msix_intfc_o[10:0]: Table size
intx_req_i

Input

When asserted, the Endpoint is requesting attention from the interrupt service routine unless MSI or MSI-X interrupts are enabled. Remains asserted until the device driver clears the pending request.
intx_ack_o

Output

This signal is the acknowledge for IntxReq_i. It is asserted for at least one cycle either when either of the following events occur:

  • The Assert_INTA message TLP has been transmitted in response to the assertion of the IntxReq_i.
  • The Deassert_INTA message TLP has been transmitted in response to the deassertion of the IntxReq_i signal.

Refer to the timing diagrams below.

The following figure illustrates interrupt timing for the legacy interface. In this figure the assertion of IntxReq_i instructs the Hard IP for PCI Express to send an Assert_INTA message TLP.

The following figure illustrates the timing for deassertion of legacy interrupts. The assertion of IntxReq_i instructs the Hard IP for PCI Express to send a Deassert_INTA message.

Figure 32. Legacy Interrupt Assertion

The following figure illustrates the timing for deassertion of legacy interrupts. The assertion of IntxReq_i instructs the Hard IP for PCI Express to send a Deassert_INTA message.

Figure 33. Legacy Interrupt Deassertion