riscv_clint 5 Interfaces
RISC-V CPU Reference Manual  /  4 Classes  / 

riscv_plic

Description
RISC-V Platform Interrupt Controller
Interfaces Implemented
conf_object, log_object
Port Objects
bank.regs (bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only)
port.CLOCK_DISABLE (signal)
port.HRESET (signal)
port.IRQ <index-map> : internal - provides object arrays
port.IRQ[0..1023] (signal) : interrupt request input signals
Notifiers
state-change
Provided By
riscv-interrupt-controllers

Attributes

enable_clr

Optional attribute; read/write access; type: [[i*]*]. Enable bits for each context that are hardwired as 0. Value is a list of list of integers. The outer list corresponds to each connected context, the inner list corresponds to the 'enable' registers. For each enable register, bits set in this attribute will be hardwired as 0

enable_set

Optional attribute; read/write access; type: [[i*]*]. Enable bits for each context that are hardwired as 1. Value is a list of list of integers. The outer list corresponds to each connected context, the inner list corresponds to the 'enable' registers. For each enable register, bits set in this attribute will be hardwired as 1

hart

Pseudo attribute; read/write access; type: [o*]. Connected HARTs. This attribute will connect irq_dev[2*x:2*x+1] = [HART[x]:MEIP, HART[x]:SEIP]

highest_pending

Pseudo attribute; read-only access; type: [[ii]*]. Currently highest pending interrupt and priority on each connected context

irq_dev

Optional attribute; read/write access; type: [o|[os]|n{0:128}]. Interrupt request target for each connected context

Required interfaces: signal.

max_interrupt

Optional attribute; read/write access; type: integer. Maximum interrupt id supported, default is 1023

max_priority

Optional attribute; read/write access; type: integer. Maximum priority supported, must equal 2^x - 1 for some x greater than 0. Default is 0xffffffff

max_threshold

Optional attribute; read/write access; type: [i*]. Maximum threshold for each context, must equal 2^x - 1 for some x greater than 0. Default is max_priority

riscv_clint 5 Interfaces