RoaLogic / plic

Platform Level Interrupt Controller
Other
35 stars 14 forks source link

AHB-Lite Platform-Level Interrupt Controller (PLIC)

Overview

Fully Parameterized & Programmable Platform Level Interrupt Controller (PLIC) for RISC-V based Processor Systems supporting a user-defined number of interrupt sources and targets, and featuring a single AHB-Lite Slave interface

The core supports a programmable number of simultaneous pending interrupt requests per source and individual routing of those interrupt requests to each target, full interrupt prioritisation of each interrupt source and separate enables per target via a matrix of interrupt enable bits.

To reduce latency, the PLIC core presents all asserted interrupts to the target in priority order, queuing them so that a software interrupt handler can service all pending interrupts without the need to restore the interrupted context.

Example PLIC System Diagram

Documentation

Features

Compatibility

Compliant to the RISC-V Privilege Level 1.9, 1.9.1, 1.10 specifications

Interfaces

The PLIC core implements Dynamic Registers, which means the registers and register mapping are automatically generated based on the parameters provided to the core. The core prints the register mapping during simulation (and for some tools during synthesis).

License

Released under the RoaLogic BSD License

Dependencies

Requires the Roa Logic [AHB3Lite Package](). This is included as a submodule. After cloning the git repository, perform a git submodule init to download the submodule.