case class LearnCmd(hmElements: Seq[NamedType[_ <: Data]]) extends Bundle with Product with Serializable

Interface used to get traces of the branch/jump instruction execution. This is used by the BtbPlugin/GSharePlugin to learn patterns

Linear Supertypes
Serializable, Serializable, Product, Equals, Bundle, ValCallbackRec, ValCallback, MultiData, Data, InComponent, OverridedEqualsHashCode, SpinalTagReady, Assignable, NameableByComponent, Nameable, OwnableRef, ContextUser, ScalaLocated, GlobalDataUser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LearnCmd
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Bundle
  7. ValCallbackRec
  8. ValCallback
  9. MultiData
  10. Data
  11. InComponent
  12. OverridedEqualsHashCode
  13. SpinalTagReady
  14. Assignable
  15. NameableByComponent
  16. Nameable
  17. OwnableRef
  18. ContextUser
  19. ScalaLocated
  20. GlobalDataUser
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LearnCmd(hmElements: Seq[NamedType[_ <: Data]])

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Value Members

  1. def ##(right: Data): Bits
    Definition Classes
    Data
  2. def #*(count: Int): Bits
    Definition Classes
    Data
  3. def IFparent: Data
    Definition Classes
    Data
  4. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  5. def addAttribute(attribute: Attribute): LearnCmd.this.type
    Definition Classes
    Data → SpinalTagReady
  6. def addAttribute(name: String, value: Int): LearnCmd.this.type
    Definition Classes
    SpinalTagReady
  7. def addAttribute(name: String, value: String): LearnCmd.this.type
    Definition Classes
    SpinalTagReady
  8. def addAttribute(name: String): LearnCmd.this.type
    Definition Classes
    SpinalTagReady
  9. def addTag[T <: SpinalTag](spinalTag: T): LearnCmd.this.type
    Definition Classes
    MultiData → SpinalTagReady
  10. def addTags(h: SpinalTag, tail: SpinalTag*): LearnCmd.this.type
    Definition Classes
    SpinalTagReady
  11. def addTags[T <: SpinalTag](tags: Iterable[T]): LearnCmd.this.type
    Definition Classes
    SpinalTagReady
  12. def allowDirectionLessIo(): LearnCmd.this.type
    Definition Classes
    Data
  13. def allowOverride(): LearnCmd.this.type
    Definition Classes
    Data
  14. def allowPartialyAssigned(): LearnCmd.this.type
    Definition Classes
    Data
  15. def allowPruning(): LearnCmd.this.type
    Definition Classes
    Data
  16. def allowSimplifyIt(): LearnCmd.this.type
    Definition Classes
    Data
  17. def allowUnsetRegToAvoidLatch(): LearnCmd.this.type
    Definition Classes
    Data
  18. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  19. def asBits: Bits
    Definition Classes
    MultiData → Data
  20. def asData: Data
    Definition Classes
    Data
  21. def asInOut(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  22. def asInput(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  23. def asOutput(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  24. def assignAllByName(that: Bundle): Unit
    Definition Classes
    Bundle
  25. def assignDontCare(): LearnCmd.this.type
    Definition Classes
    Data
  26. def assignDontCareToUnasigned(): LearnCmd.this.type
    Definition Classes
    Data
  27. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    MultiData → Data
  28. final def assignFrom(that: AnyRef, target: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Data
  29. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
    Definition Classes
    MultiData → Data
  30. def assignFromBits(bits: Bits): Unit
    Definition Classes
    MultiData → Data
  31. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  32. def assignSomeByName(that: Bundle): Unit
    Definition Classes
    Bundle
  33. def assignUnassignedByName(that: MultiData): Unit
    Definition Classes
    MultiData
  34. val badPredictedTarget: Bool
  35. def bundleAssign(that: Bundle)(f: (Data, Data) ⇒ Unit): Unit
    Definition Classes
    Bundle
  36. def checkDir(that: Bundle): Boolean
    Definition Classes
    Bundle
  37. def clearAll(): LearnCmd.this.type
    Definition Classes
    Data
  38. def clone(): Bundle
    Definition Classes
    Bundle → Data → AnyRef
  39. def component: Component
    Definition Classes
    ContextUser
  40. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  41. val compositeAssign: Assignable
    Definition Classes
    Assignable
  42. def copyDirectionOfImpl(that: Data): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  43. val ctx: HardMap
  44. def dirString(): String
    Definition Classes
    Data
  45. def dontSimplifyIt(): LearnCmd.this.type
    Definition Classes
    Data
  46. def elements: ArrayBuffer[(String, Data)]
    Definition Classes
    Bundle → MultiData
  47. var elementsCache: ArrayBuffer[(String, Data)]
    Definition Classes
    Bundle
  48. def elementsString: String
    Definition Classes
    MultiData
  49. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  50. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  51. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  52. def find(name: String): Data
    Definition Classes
    MultiData
  53. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  54. def flatten: Seq[BaseType]
    Definition Classes
    MultiData → Data
  55. def flattenForeach(body: (BaseType) ⇒ Unit): Unit
    Definition Classes
    MultiData → Data
  56. def flattenLocalName: Seq[String]
    Definition Classes
    MultiData → Data
  57. def flip(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  58. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  59. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  60. def freeze(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  61. def getAheadValue(): LearnCmd.this.type
    Definition Classes
    Data
  62. def getBitsWidth: Int
    Definition Classes
    MultiData → Data
  63. def getComponent(): Component
    Definition Classes
    Data → InComponent → NameableByComponent
  64. def getComponents(): Seq[Component]
    Definition Classes
    InComponent
  65. def getDirection: IODirection
    Definition Classes
    Data
  66. def getDisplayName(): String
    Definition Classes
    Nameable
  67. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  68. def getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]
    Definition Classes
    Data
  69. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  70. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  71. def getPartialName(): String
    Definition Classes
    Nameable
  72. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  73. def getRealSource: Any
    Definition Classes
    Assignable
  74. def getRealSourceNoRec: Any
    Definition Classes
    Data → Assignable
  75. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  76. def getRootParent: Data
    Definition Classes
    Data
  77. def getRtlPath(separator: String): String
    Definition Classes
    Data
  78. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  79. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  80. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  81. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  82. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  83. def getTypeString: String
    Definition Classes
    Bundle
  84. def getZero: LearnCmd.this.type
    Definition Classes
    MultiData → Data
  85. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  86. var hardtype: HardType[_]
    Definition Classes
    Bundle
  87. val hartId: UInt
  88. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  89. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  90. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  91. val history: Bits
  92. val hmElements: Seq[NamedType[_ <: Data]]
  93. final def initFrom(that: AnyRef, target: AnyRef): Unit
    Definition Classes
    Data
  94. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  95. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  96. def isAnalog: Boolean
    Definition Classes
    Data
  97. val isBranch: Bool
  98. def isComb: Boolean
    Definition Classes
    Data
  99. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  100. def isDirectionLess: Boolean
    Definition Classes
    Data
  101. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  102. def isInOut: Boolean
    Definition Classes
    Data
  103. def isInput: Boolean
    Definition Classes
    Data
  104. def isInputOrInOut: Boolean
    Definition Classes
    Data
  105. final def isNamed: Boolean
    Definition Classes
    Nameable
  106. def isOutput: Boolean
    Definition Classes
    Data
  107. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  108. val isPop: Bool
  109. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  110. val isPush: Bool
  111. def isReg: Boolean
    Definition Classes
    Data
  112. def isRegOnAssign: Boolean
    Definition Classes
    Data
  113. def isUnnamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  114. val name: String
    Definition Classes
    Nameable
  115. def noBackendCombMerge(): LearnCmd.this.type
    Definition Classes
    Data
  116. def noCombLoopCheck(): LearnCmd.this.type
    Definition Classes
    Data
  117. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  118. def overrideLocalName(name: String): LearnCmd.this.type
    Definition Classes
    Nameable
  119. val parent: Data
    Definition Classes
    Data
  120. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  121. val pcOnLastSlice: UInt
  122. val pcTarget: UInt
  123. def pull(propagateName: Boolean): LearnCmd.this.type
    Definition Classes
    Data
  124. def pull(): LearnCmd.this.type
    Definition Classes
    Data
  125. def purify(): LearnCmd.this.type
    Definition Classes
    Data
  126. def randBoot(u: Unit): LearnCmd.this.type
    Definition Classes
    Data
  127. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  128. def reflectNames(): Unit
    Definition Classes
    Nameable
  129. def removeAssignments(data: Boolean, init: Boolean, initial: Boolean): LearnCmd.this.type
    Definition Classes
    Data
  130. def removeDataAssignments(): LearnCmd.this.type
    Definition Classes
    Data
  131. def removeInitAssignments(): LearnCmd.this.type
    Definition Classes
    Data
  132. def removeTag(spinalTag: SpinalTag): LearnCmd.this.type
    Definition Classes
    SpinalTagReady
  133. def removeTags(tags: Iterable[SpinalTag]): LearnCmd.this.type
    Definition Classes
    SpinalTagReady
  134. def resized: LearnCmd.this.type
    Definition Classes
    Data
  135. def rootIF(): Interface
    Definition Classes
    Data
  136. def rootIFList(): List[Interface]
    Definition Classes
    Data
  137. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
    Definition Classes
    Data
  138. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  139. def setAll(): LearnCmd.this.type
    Definition Classes
    Data
  140. def setAsAnalog(): LearnCmd.this.type
    Definition Classes
    Data
  141. def setAsComb(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  142. def setAsDirectionLess(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  143. def setAsReg(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  144. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): LearnCmd.this.type
    Definition Classes
    Nameable
  145. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): LearnCmd.this.type
    Definition Classes
    Nameable
  146. def setCompositeName(nameable: Nameable, postfix: String): LearnCmd.this.type
    Definition Classes
    Nameable
  147. def setCompositeName(nameable: Nameable, namePriority: Byte): LearnCmd.this.type
    Definition Classes
    Nameable
  148. def setCompositeName(nameable: Nameable, weak: Boolean): LearnCmd.this.type
    Definition Classes
    Nameable
  149. def setCompositeName(nameable: Nameable): LearnCmd.this.type
    Definition Classes
    Nameable
  150. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): LearnCmd.this.type
    Definition Classes
    Nameable
  151. def setName(name: String, namePriority: Byte): LearnCmd.this.type
    Definition Classes
    Nameable
  152. def setName(name: String, weak: Boolean): LearnCmd.this.type
    Definition Classes
    Nameable
  153. def setName(name: String): LearnCmd.this.type
    Definition Classes
    Nameable
  154. def setNameAsWeak(): LearnCmd.this.type
    Definition Classes
    Nameable
  155. def setOutputAsReg(): LearnCmd.this.type
    Definition Classes
    Data
  156. def setPartialName(name: String, namePriority: Byte, owner: Any): LearnCmd.this.type
    Definition Classes
    Nameable
  157. def setPartialName(name: String, namePriority: Byte): LearnCmd.this.type
    Definition Classes
    Nameable
  158. def setPartialName(name: String, weak: Boolean): LearnCmd.this.type
    Definition Classes
    Nameable
  159. def setPartialName(owner: Nameable, name: String, namePriority: Byte): LearnCmd.this.type
    Definition Classes
    Nameable
  160. def setPartialName(owner: Nameable, name: String, weak: Boolean): LearnCmd.this.type
    Definition Classes
    Nameable
  161. def setPartialName(name: String): LearnCmd.this.type
    Definition Classes
    Nameable
  162. def setPartialName(owner: Nameable, name: String): LearnCmd.this.type
    Definition Classes
    Nameable
  163. def setPartialName(owner: Nameable): LearnCmd.this.type
    Definition Classes
    Nameable
  164. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  165. def setScalaLocated(source: ScalaLocated): LearnCmd.this.type
    Definition Classes
    ScalaLocated
  166. def setWeakName(name: String): LearnCmd.this.type
    Definition Classes
    Nameable
  167. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  168. val taken: Bool
  169. def toIo(): LearnCmd.this.type
    Definition Classes
    Data
  170. def toMuxInput[T <: Data](muxOutput: T): T
    Definition Classes
    Data
  171. def toString(): String
    Definition Classes
    Bundle → Nameable → AnyRef → Any
  172. def unfreeze(): LearnCmd.this.type
    Definition Classes
    MultiData → Data
  173. def unsetName(): LearnCmd.this.type
    Definition Classes
    Nameable
  174. val uopId: UInt
  175. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  176. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  177. def valCallbackRec(ref: Any, name: String): Unit
    Definition Classes
    Bundle → ValCallbackRec
  178. val wasWrong: Bool
  179. def wrapNext(): LearnCmd.this.type
    Definition Classes
    Data
  180. def zipByName(that: MultiData, rec: ArrayBuffer[(BaseType, BaseType)]): ArrayBuffer[(BaseType, BaseType)]
    Definition Classes
    MultiData

Deprecated Value Members

  1. def asDirectionLess(): LearnCmd.this.type
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version ???) use setAsDirectionLess instead

  2. def genIf(cond: Boolean): LearnCmd.this.type
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    does not work with <>, use 'someBool generate Type()' or 'if(condition) Type() else null' instead