LIBRARY  |  COMPANIES |   PLATFORMS |   PROCESSORS |   PERIPHERALS

Revision [195954]

The oldest known version of this page was edited on 2022-07-28 16:06:44 by LibraryAdminiStrator
SifivePLIC



OVP Peripheral Model: SifivePLIC



Model Specific Information

This page provides introductory usage information for an Imperas OVP peripheral behavioral model. The page is split into sections providing specific information for this peripheral, including any ports for connecting into a platform, registers, other component parts, and configuration options and general information for peripheral modeling with Imperas OVP.

Licensing

Open Source Apache 2.0

Description

SiFive PLIC Interrupt Controller

Use parameters to configure specific implementation.

Reference

Various SiFive Core Complex manuals, e.g. SiFive E31 Core Complex Manual 31G2.01.00 (https://sifive.cdn.prismic.io/sifive/c29f9c69-5254-4f9a-9e18-24ea73f34e81_e31_core_complex_manual_21G2.pdf)

Location

The PLIC peripheral model is located in an Imperas/OVP installation at the VLNV: sifive.ovpworld.org / peripheral / PLIC / 1.0.



Peripheral Instance Parameters

This model accepts the following parameters:

Table : Peripheral Parameters

NameTypeDescription
num_sourcesuns32Number of Input Interrupt Sources
num_targetsuns32Number of Output Interrupt Targets, Hart/Context
num_prioritiesuns32Number of Priority levels
priority_baseuns32Base Address offset for Priority Registers
pending_baseuns32Base Address offset for Pending Registers
enable_baseuns32Base Address offset for Enable Registers
enable_strideuns32Stride size for Enable Register Block
context_baseuns32Base Address offset for Context Registers, Threshold/Claim
context_strideuns32Stride size for Context Register Block



Net Ports

This model has the following net ports:

Table 1: Net Ports

NameTypeMust Be ConnectedDescription
resetinputF (False)Reset signal
irqS1inputF (False)
irqT0outputF (False)



Bus Slave Ports

This model has the following bus slave ports:

Bus Slave Port: port0

Table 2: Bus Slave Port: port0

NameSize (bytes)Must Be ConnectedDescription
port00x400000F (False)

Table 3: Bus Slave Port: port0 Registers:

NameOffsetWidth (bits)DescriptionR/Wis Volatile
Priority10x432Priority of Input Interrupt Source 1
Pending00x100032Pending Interrupt Register for Interrupts 31 down to 0
Target0_Enable00x200032Target 0: Enable Register for Interrupts 31 down to 0
Target0_Threshold0x20000032Target 0 Priority Threshold
Target0_Claim0x20000432Target 0 Claim for Source
disablePlicClockGateFeature0x1ff00032SiFive PLIC Clock Gate Disable Register



Platforms that use this peripheral component

Peripheral components can be used in many different platforms, including those developed by Imperas or by other users of OVP. You can use this peripheral in your own platforms.

Table 4: Publicly available platforms using peripheral 'PLIC'

Platform NameVendor
FU540sifive.ovpworld.org
S51CCsifive.ovpworld.org



SiFivePeripherals
Page was generated in 0.0278 seconds