c

vexiiriscv.misc

TrapPlugin

class TrapPlugin extends FiberPlugin with TrapService

Mainly, this plugin implement a state-machine which handle regular traps (interrupt/exception), but also a set of special "hardware" trap used by the CPU to handle special cases as instruction retry/fences, MMU refill, ...

Also, as VexiiRiscv implements a few large CSR directly into a sharder memory (mepc, mtvec, ...), the TrapPlugin state-machine handles the hardware read/write with those CSR (durring trap, mret, ...).

Linear Supertypes
TrapService, FiberPlugin, Hostable, Area, OverridedEqualsHashCode, ValCallbackRec, ValCallback, NameableByComponent, Nameable, ContextUser, ScalaLocated, GlobalDataUser, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrapPlugin
  2. TrapService
  3. FiberPlugin
  4. Hostable
  5. Area
  6. OverridedEqualsHashCode
  7. ValCallbackRec
  8. ValCallback
  9. NameableByComponent
  10. Nameable
  11. ContextUser
  12. ScalaLocated
  13. GlobalDataUser
  14. OwnableRef
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TrapPlugin(trapAt: Int)

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _context: Capture
    Definition Classes
    Area
  5. def addService[T](that: T): T
    Definition Classes
    FiberPlugin
  6. val api: Handle[Area { val harts: scala.collection.immutable.IndexedSeq[spinal.core.Area{val redo: spinal.core.Bool; val askWake: spinal.core.Bool; val rvTrap: spinal.core.Bool; val fsmBusy: spinal.core.Bool}] }]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def askWake(hartId: Int): Unit
  9. def awaitBuild(): Unit
    Definition Classes
    FiberPlugin
  10. def buildBefore(l: ⇒ Lock): Unit
    Definition Classes
    FiberPlugin
  11. var buildCount: Int
    Definition Classes
    FiberPlugin
  12. def childNamePriority: Byte
    Definition Classes
    Area
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  14. def component: Component
    Definition Classes
    ContextUser
  15. def during: AnyRef { ... /* 2 definitions in type refinement */ }
    Definition Classes
    FiberPlugin
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  18. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def getDisplayName(): String
    Definition Classes
    Nameable
  21. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  22. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  23. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  24. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  25. def getPartialName(): String
    Definition Classes
    Nameable
  26. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  27. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  28. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  29. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  30. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  31. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  32. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  33. var host: PluginHost
    Definition Classes
    FiberPlugin
  34. val hostLock: Lock
    Definition Classes
    FiberPlugin
  35. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def isNamed: Boolean
    Definition Classes
    Nameable
  38. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  39. def isUnnamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  40. val lockables: LinkedHashSet[() ⇒ Lock]
    Definition Classes
    FiberPlugin
  41. val logic: Handle[Area { ... /* 19 definitions in type refinement */ }]
  42. val name: String
    Definition Classes
    Nameable
  43. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def newTrap(age: Int, laneAgeWidth: Int, subAge: Int = 0): Flow[Trap]
    Definition Classes
    TrapService
  46. def newTrapPending(): Bits
    Definition Classes
    TrapService
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  49. def overrideLocalName(name: String): TrapPlugin.this.type
    Definition Classes
    Nameable
  50. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  51. var pluginEnabled: Boolean
    Definition Classes
    FiberPlugin
  52. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  53. def reflectNames(): Unit
    Definition Classes
    Nameable
  54. def retains(head: Any, tail: Any*): RetainerGroup
    Definition Classes
    FiberPlugin
  55. def retains(that: Seq[Any]): RetainerGroup
    Definition Classes
    FiberPlugin
  56. def rework[T](body: ⇒ T): T
    Definition Classes
    Area
  57. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  58. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): TrapPlugin.this.type
    Definition Classes
    Nameable
  59. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): TrapPlugin.this.type
    Definition Classes
    Nameable
  60. def setCompositeName(nameable: Nameable, postfix: String): TrapPlugin.this.type
    Definition Classes
    Nameable
  61. def setCompositeName(nameable: Nameable, namePriority: Byte): TrapPlugin.this.type
    Definition Classes
    Nameable
  62. def setCompositeName(nameable: Nameable, weak: Boolean): TrapPlugin.this.type
    Definition Classes
    Nameable
  63. def setCompositeName(nameable: Nameable): TrapPlugin.this.type
    Definition Classes
    Nameable
  64. def setHost(h: PluginHost): Unit
    Definition Classes
    FiberPlugin → Hostable
  65. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): TrapPlugin.this.type
    Definition Classes
    Nameable
  66. def setName(name: String, namePriority: Byte): TrapPlugin.this.type
    Definition Classes
    Nameable
  67. def setName(name: String, weak: Boolean): TrapPlugin.this.type
    Definition Classes
    Nameable
  68. def setName(name: String): TrapPlugin.this.type
    Definition Classes
    Nameable
  69. def setNameAsWeak(): TrapPlugin.this.type
    Definition Classes
    Nameable
  70. def setPartialName(name: String, namePriority: Byte, owner: Any): TrapPlugin.this.type
    Definition Classes
    Nameable
  71. def setPartialName(name: String, namePriority: Byte): TrapPlugin.this.type
    Definition Classes
    Nameable
  72. def setPartialName(name: String, weak: Boolean): TrapPlugin.this.type
    Definition Classes
    Nameable
  73. def setPartialName(owner: Nameable, name: String, namePriority: Byte): TrapPlugin.this.type
    Definition Classes
    Nameable
  74. def setPartialName(owner: Nameable, name: String, weak: Boolean): TrapPlugin.this.type
    Definition Classes
    Nameable
  75. def setPartialName(name: String): TrapPlugin.this.type
    Definition Classes
    Nameable
  76. def setPartialName(owner: Nameable, name: String): TrapPlugin.this.type
    Definition Classes
    Nameable
  77. def setPartialName(owner: Nameable): TrapPlugin.this.type
    Definition Classes
    Nameable
  78. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  79. def setScalaLocated(source: ScalaLocated): TrapPlugin.this.type
    Definition Classes
    ScalaLocated
  80. def setWeakName(name: String): TrapPlugin.this.type
    Definition Classes
    Nameable
  81. def setupRetain(l: ⇒ Lock): Unit
    Definition Classes
    FiberPlugin
  82. val subservices: ArrayBuffer[Any]
    Definition Classes
    FiberPlugin
  83. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  84. def toString(): String
    Definition Classes
    Area → Nameable → AnyRef → Any
  85. val trapAt: Int
  86. def trapHandelingAt: Int
    Definition Classes
    TrapPluginTrapService
  87. val trapLock: Retainer
    Definition Classes
    TrapService
  88. val trapPendings: ArrayBuffer[Bits]
    Definition Classes
    TrapService
  89. val traps: ArrayBuffer[TrapSpec]
    Definition Classes
    TrapService
  90. def unsetName(): TrapPlugin.this.type
    Definition Classes
    Nameable
  91. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  92. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  93. def valCallbackRec(obj: Any, name: String): Unit
    Definition Classes
    Area → ValCallbackRec
  94. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  96. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. def withPrefix(prefix: String): FiberPlugin
    Definition Classes
    FiberPlugin

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from TrapService

Inherited from FiberPlugin

Inherited from Hostable

Inherited from Area

Inherited from OverridedEqualsHashCode

Inherited from ValCallbackRec

Inherited from ValCallback

Inherited from NameableByComponent

Inherited from Nameable

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from OwnableRef

Inherited from AnyRef

Inherited from Any

Ungrouped