Depending on the generations of the AI Engine device, there are more than 100 events per module, including errors of tiles, which are also events.
There are two AI Engine device global errors: PLL lock loss and scan clear error, which are hardwired to one NPI interrupt line which is connected to PMC non-correctable EMA line. The handling of this error depends on the platform management controller (PLM). The default action for these errors can be power on reset (PoR) or to notify subscribers. See the AI Engine Tools and Flows User Guide (UG1076) for more details.
AI Engine events can be propagated to processors and PL through broadcast events signals. The broadcast events can propagate to NPI interrupts or PL. There are four NPI interrupts which are described as follows:
Interrupt | EAM Non Correctable | EAM Correctable | PPU1 | RPU | APU | Debug STM Event |
---|---|---|---|---|---|---|
NPI interrupt 4 (PLL lock loss, Scan clear) | X | – | – | – | – | – |
NPI Interrupt 5 | – | X | X | X | X | – |
NPI interrupt 6 | – | – | X | X | X | X |
NPI interrupt 7 | – | – | X | X | X | – |
The AI Engine driver only supports a single NPI interrupt. The error events and other events route to NPI interrupt 5, 6, or 7, which are directly captured by the PS processor. Currently, NPI interrupt 5 is what is used for the AI Engine events.