riscv_plic Undocumented interfaces
RISC-V CPU Reference Manual  / 

5 Interfaces

This chapter lists the interface types defined by this package. Note that the C definitions are shown here, including the first conf_object_t * argument to the methods. That argument is automatically added when calling interface methods from DML or Python, and must be omitted.

Interfaces are defined using the SIM_INTERFACE(name) macro. The macro will define a type called name_interface_t, which shall be used as the type name. The macro expands to an equivalent of the following:

  typedef struct name_interface {
      // methods go here
  } name_interface_t;

riscv_plic Undocumented interfaces