PCIeソリューションに向けた Arria V Avalon-MMインターフェイス: ユーザーガイド

ID 683773
日付 5/21/2017
Public
ドキュメント目次

5.7.1.5. エンドポイント用のPCI Express to Avalon-MM Interrupt StatusレジスターおよびEnableレジスター

これらのレジスターは、PCI Express Avalon-MMブリッジロジック内のさまざまな信号のステータスを記録します。これらのレジスターにより、イネーブルしたときにAvalon-MM割り込みがアサートされます。Avalon-MM割り込みを処理するインターコネクト・ファブリックに近接するプロセッサーは、これらのレジスターにアクセス可能です。
注: これらのレジスターには、PCI Express Avalon-MMブリッジのマスターポートからアクセスしないでください。ただし、ハードウェアにおいては、PCI Express Avalon-MMブリッジのマスターポートがこれらのレジスターへのアクセスを妨げることはありません。

次の表では、エンドポイント用のInterrupt Statusレジスターについて説明しています。これは、Avalon-MM割り込みをアサートさせる可能性のあるすべての条件のステータスを記録しています。

表 54.  PCI Express to Avalon-MM Interrupt Status Register for Endpoints, 0x3060

Bits

Name

Access

Description

0

ERR_PCI_WRITE_FAILURE

RW1C

When set to 1, indicates a PCI Express write failure. This bit can also be cleared by writing a 1 to the same bit in the Avalon MM to PCI Express Interrupt Statusregister.

1

ERR_PCI_READ_FAILURE

RW1C

When set to 1, indicates the failure of a PCI Express read. This bit can also be cleared by writing a 1 to the same bit in the Avalon MM to PCI Express Interrupt Statusregister.

2 TX_FIFO_EMPTY RW1C When set to 1, indicates that the TX buffer is empty. Application Layer logic can read this bit to determine if all of the TX buffer is empty before safely changing the translation address entries.

This bit is available only for Legacy Endpoints.

[15:2]

Reserved

[16]

P2A_MAILBOX_INT0

RW1C

1 when the P2A_MAILBOX0 is written

[17]

P2A_MAILBOX_INT1

RW1C

1 when the P2A_MAILBOX1 is written

[18]

P2A_MAILBOX_INT2

RW1C

1 when the P2A_MAILBOX2 is written

[19]

P2A_MAILBOX_INT3

RW1C

1 when the P2A_MAILBOX3 is written

[20]

P2A_MAILBOX_INT4

RW1C

1 when the P2A_MAILBOX4 is written

[21]

P2A_MAILBOX_INT5

RW1C

1 when the P2A_MAILBOX5 is written

[22]

P2A_MAILBOX_INT6

RW1C

1 when the P2A_MAILBOX6 is written

[23]

P2A_MAILBOX_INT7

RW1C

1 when the P2A_MAILBOX7 is written

[31:24]

Reserved

表 55.  PCI Express to Avalon-MM Interrupt Status Register for Endpoints, 0x3060

Bits

Name

Access

Description

[31:24] Reserved N/A Reserved
[23] P2A_MAILBOX_INT7 RW1C Set to a 1 when the P2A_MAILBOX7 is written to.
[22] P2A_MAILBOX_INT6 RW1C Set to a 1 when the P2A_MAILBOX6
[21] P2A_MAILBOX_INT5 RW1C Set to a 1 when the P2A_MAILBOX5
[20] P2A_MAILBOX_INT4 RW1C Set to a 1 when the P2A_MAILBOX4
[19] P2A_MAILBOX_INT3 RW1C Set to a 1 when the P2A_MAILBOX3
[18] P2A_MAILBOX_INT2 RW1C Set to a 1 when the P2A_MAILBOX2
[17] P2A_MAILBOX_INT1 RW1C Set to a 1 when the P2A_MAILBOX1
[16] P2A_MAILBOX_INT0 RW1C Set to a 1 when the P2A_MAILBOX0
[15:0] Reserved N/A Reserved

10:0

Root Port Interrupt

RW1C

Interrupt status when bridge is in root complex mode. Since EB release does not support root mode, this register is not valid.

[0] : INTA

[1] : INTB

[2] : INTC

[3] : INTD

[4] : RC AER error

[5] : PME interrupt status

[6] : hot plug event when PME is enabled

[7] : hot plug event

[8] : autonomous bandwidth

[9] : bandwidth management

[10] : link equalization request

Avalon-MM割り込みは、PCI Express to Avalon-MM Interrupt Enable レジスターの対応するビットを設定することで、Avalon-MM Interrupt Status 内で記載された任意の条件をアサートすることが可能です。

PCI Express割り込みは、記述されているすべてのエラー条件に対してもイネーブル可能です。ただし、特定のビットに対してAvalon-MMまたはPCI Express割り込みの1つのみをイネーブルすることが可能です。通常は、PCI ExpressまたはAvalon-MMドメインのいずれかの単一のプロセスが、割り込みによってレポートされた条件を処理します。

表 56.  Avalon-MM Interrupt Enable Register, 0x3070

Bits

Name

Access

Description

[31:24] Reserved N/A Reserved
[23] P2A_MAILBOX_INT7 RW1C Set to a 1 when the P2A_MAILBOX7 is written to.
[22] P2A_MAILBOX_INT6   Set to a 1 when the P2A_MAILBOX6
[21] P2A_MAILBOX_INT5   Set to a 1 when the P2A_MAILBOX5
[20] P2A_MAILBOX_INT4   Set to a 1 when the P2A_MAILBOX4
[19] P2A_MAILBOX_INT3   Set to a 1 when the P2A_MAILBOX3
[18] P2A_MAILBOX_INT2   Set to a 1 when the P2A_MAILBOX2
[17] P2A_MAILBOX_INT1   Set to a 1 when the P2A_MAILBOX1
[16] P2A_MAILBOX_INT0   Set to a 1 when the P2A_MAILBOX0
[15:0] Reserved N/A Reserved