Packages

o

vexiiriscv

Global

object Global extends AreaRoot

Define global variables for plugin to share in non-verbose ways

A few notes about physical/virtual/mixed addresses, as they are a tricky thing if you try to scrap away any unecessary bit : In RISC-V, the addresses manipulated by the CPU before the MMU can be physical or virtual. The thing is that Physical addresses are unsigned, while virtual addresses are signed (so sign extended to XLEN). So let's say you have : - 32 bits physical address width - 39 bits virtual address width Then, addresses in the CPU before the MMU (mixed addresses) need to have 40 bits (39 bits + 1 bit of sign extension), that allow for instance : - physical address trap at 0x40_0000_0000 to be stored in let's say MEPC to store that address while avoiding the sign extension

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

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 CODE: NamedType[Bits]
  5. val CODE_WIDTH: ElementBlocking[Int]
  6. val COMMIT: NamedType[Bool]
  7. val COMPLETED: NamedType[Bool]
  8. val HART_COUNT: ElementBlocking[Int]
  9. val HART_ID: NamedType[UInt]
  10. def HART_ID_WIDTH: Int
  11. val MIXED_ADDRESS: NamedType[UInt]
  12. val MIXED_WIDTH: ElementBlocking[Int]
  13. val PC: NamedType[UInt]
  14. val PC_TARGET: NamedType[UInt]
  15. val PC_WIDTH: ElementBlocking[Int]
  16. val PHYSICAL_ADDRESS: NamedType[UInt]
  17. val PHYSICAL_WIDTH: ElementBlocking[Int]
  18. val TRAP: NamedType[Bool]
  19. val TRAP_ARG: NamedType[Bits]
  20. val TRAP_ARG_WIDTH: ElementBlocking[Int]
  21. val TVAL: NamedType[Bits]
  22. val TVAL_WIDTH: ElementBlocking[Int]
  23. val VIRTUAL_WIDTH: ElementBlocking[Int]
  24. val _context: Capture
    Definition Classes
    Area
  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. def childNamePriority: Byte
    Definition Classes
    Area
  27. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  28. def component: Component
    Definition Classes
    ContextUser
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  31. def expendPc(pc: UInt, width: Int): UInt
  32. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  34. def getDisplayName(): String
    Definition Classes
    Nameable
  35. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  36. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  37. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  38. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  39. def getPartialName(): String
    Definition Classes
    Nameable
  40. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  41. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  42. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  43. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  44. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  45. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  46. def hartsIds: Range
  47. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  48. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  49. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  50. final def isNamed: Boolean
    Definition Classes
    Nameable
  51. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  52. def isUnnamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  53. val name: String
    Definition Classes
    Nameable
  54. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  55. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  57. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  58. def overrideLocalName(name: String): Global.this.type
    Definition Classes
    Nameable
  59. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  60. def pcWithSignMsb: Boolean
  61. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  62. def reflectNames(): Unit
    Definition Classes
    Nameable
  63. def rework[T](body: ⇒ T): T
    Definition Classes
    Area
  64. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  65. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Global.this.type
    Definition Classes
    Nameable
  66. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Global.this.type
    Definition Classes
    Nameable
  67. def setCompositeName(nameable: Nameable, postfix: String): Global.this.type
    Definition Classes
    Nameable
  68. def setCompositeName(nameable: Nameable, namePriority: Byte): Global.this.type
    Definition Classes
    Nameable
  69. def setCompositeName(nameable: Nameable, weak: Boolean): Global.this.type
    Definition Classes
    Nameable
  70. def setCompositeName(nameable: Nameable): Global.this.type
    Definition Classes
    Nameable
  71. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): Global.this.type
    Definition Classes
    Nameable
  72. def setName(name: String, namePriority: Byte): Global.this.type
    Definition Classes
    Nameable
  73. def setName(name: String, weak: Boolean): Global.this.type
    Definition Classes
    Nameable
  74. def setName(name: String): Global.this.type
    Definition Classes
    Nameable
  75. def setNameAsWeak(): Global.this.type
    Definition Classes
    Nameable
  76. def setPartialName(name: String, namePriority: Byte, owner: Any): Global.this.type
    Definition Classes
    Nameable
  77. def setPartialName(name: String, namePriority: Byte): Global.this.type
    Definition Classes
    Nameable
  78. def setPartialName(name: String, weak: Boolean): Global.this.type
    Definition Classes
    Nameable
  79. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Global.this.type
    Definition Classes
    Nameable
  80. def setPartialName(owner: Nameable, name: String, weak: Boolean): Global.this.type
    Definition Classes
    Nameable
  81. def setPartialName(name: String): Global.this.type
    Definition Classes
    Nameable
  82. def setPartialName(owner: Nameable, name: String): Global.this.type
    Definition Classes
    Nameable
  83. def setPartialName(owner: Nameable): Global.this.type
    Definition Classes
    Nameable
  84. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  85. def setScalaLocated(source: ScalaLocated): Global.this.type
    Definition Classes
    ScalaLocated
  86. def setWeakName(name: String): Global.this.type
    Definition Classes
    Nameable
  87. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  88. def toString(): String
    Definition Classes
    Area → Nameable → AnyRef → Any
  89. def unsetName(): Global.this.type
    Definition Classes
    Nameable
  90. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  91. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  92. def valCallbackRec(obj: Any, name: String): Unit
    Definition Classes
    Area → ValCallbackRec
  93. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  95. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AreaRoot

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