1. Interrupt line block (irq)
Wbgen2 provides an easy way to multiplex several interrupts from the
peripheral into a single Wishbone wb_irq_o
IRQ request line. Designer
can specify up to 32 interrupt sources per peripheral. Wbgen2 will:
- add the interrupt lines to the Wishbone slave core,
- instantiate an Embedded Interrupt Controller for configuration and
multiplexing of interrupts
1.1. Block-specific attributes
Attribute | Status | Description |
trigger |
mandatory | Trigger condition for the interrupt: can be choosen from: LEVEL_1 (high logic level), LEVEL_0 (low logic level), EDGE_RISING , EDGE_FALLING
|
1.2. Embedded Interrupt Controller operation
Embedded interrupt controller is a simple, non-prioritised interrupt controller, very similar to ones used in ARM-based SoC peripherals. It's automatically configured and instantiated inside the generated slave core.
Figure 1.* Embedded Interrupt Controller inside a slave core.