Packages

t

spinal.core

DataWrapper

trait DataWrapper extends Data

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataWrapper
  2. Data
  3. InComponent
  4. OverridedEqualsHashCode
  5. SpinalTagReady
  6. Assignable
  7. NameableByComponent
  8. Nameable
  9. OwnableRef
  10. ContextUser
  11. ScalaLocated
  12. GlobalDataUser
  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. def ##(right: Data): Bits

    Concatenation between two data

    Concatenation between two data

    Definition Classes
    Data
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. def #*(count: Int): Bits
    Definition Classes
    Data
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  7. def addAttribute(attribute: Attribute): DataWrapper.this.type
    Definition Classes
    DataSpinalTagReady
  8. def addAttribute(name: String, value: Int): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  9. def addAttribute(name: String, value: String): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  10. def addAttribute(name: String): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  11. def addTag[T <: SpinalTag](spinalTag: T): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  12. def addTags[T <: SpinalTag](tags: Iterable[T]): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  13. def allowDirectionLessIo(): DataWrapper.this.type

    Allow a Data of an io Bundle to be directionless

    Allow a Data of an io Bundle to be directionless

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/iobundle.html

    Definition Classes
    Data
  14. def allowOverride(): DataWrapper.this.type

    Allow a Data to be overriden

    Allow a Data to be overriden

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/assignment_overlap.html

    Definition Classes
    Data
  15. def allowPartialyAssigned(): DataWrapper.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  16. def allowPruning(): DataWrapper.this.type
    Definition Classes
    Data
  17. def allowSimplifyIt(): DataWrapper.this.type
    Definition Classes
    Data
  18. def allowUnsetRegToAvoidLatch(): DataWrapper.this.type

    Allow a register to have only an init (no assignments)

    Allow a register to have only an init (no assignments)

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/unassigned_register.html#register-with-only-init

    Definition Classes
    Data
  19. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  20. def asBits: Bits

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    DataWrapperData
  21. def asData: Data
    Definition Classes
    Data
  22. def asInOut(): DataWrapper.this.type

    set a data as inout

    set a data as inout

    Definition Classes
    Data
  23. def asInput(): DataWrapper.this.type

    Set a data as input

    Set a data as input

    Definition Classes
    Data
  24. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  25. def asOutput(): DataWrapper.this.type

    Set a data as output

    Set a data as output

    Definition Classes
    Data
  26. def assignDontCare(): DataWrapper.this.type
    Definition Classes
    Data
  27. def assignDontCareToUnasigned(): DataWrapper.this.type
    Definition Classes
    Data
  28. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    Data
  29. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit
    Definition Classes
    Data
  30. def assignFromBits(bits: Bits, hi: Int, low: Int): Unit
    Definition Classes
    DataWrapperData
  31. def assignFromBits(bits: Bits): Unit
    Definition Classes
    DataWrapperData
  32. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  33. def assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Attributes
    protected
    Definition Classes
    DataWrapperAssignable
  34. def clearAll(): DataWrapper.this.type
    Definition Classes
    Data
  35. def clone(): Data
    Definition Classes
    Data → AnyRef
  36. def component: Component
    Definition Classes
    ContextUser
  37. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  38. val compositeAssign: Assignable
    Definition Classes
    Assignable
  39. def copyDirectionOfImpl(that: Data): DataWrapper.this.type
    Definition Classes
    Data
  40. def dirString(): String
    Definition Classes
    Data
  41. def dontSimplifyIt(): DataWrapper.this.type
    Definition Classes
    Data
  42. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  44. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  45. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  46. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  47. def flatten: Seq[BaseType]
    Definition Classes
    DataWrapperData
  48. def flattenForeach(body: (BaseType) ⇒ Unit): Unit
    Definition Classes
    Data
  49. def flattenLocalName: Seq[String]
    Definition Classes
    DataWrapperData
  50. def flip(): DataWrapper.this.type

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    Data
  51. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  52. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  53. def freeze(): DataWrapper.this.type
    Definition Classes
    DataWrapperData
  54. def getAheadValue(): DataWrapper.this.type
    Definition Classes
    Data
  55. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

    Definition Classes
    DataWrapperData
  56. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  57. def getComponent(): Component
    Definition Classes
    DataInComponentNameableByComponent
  58. def getComponents(): Seq[Component]

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  59. def getDirection: IODirection
    Definition Classes
    Data
  60. def getDisplayName(): String
    Definition Classes
    Nameable
  61. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  62. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  63. def getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]
    Definition Classes
    Data
  64. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  65. def getName(): String
    Definition Classes
    NameableByComponentNameable
  66. def getPartialName(): String
    Definition Classes
    Nameable
  67. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  68. def getRealSource: Any
    Definition Classes
    Assignable
  69. def getRealSourceNoRec: Any
    Definition Classes
    DataAssignable
  70. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  71. def getRootParent: Data
    Definition Classes
    Data
  72. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Data
  73. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  74. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  75. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  76. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  77. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  78. def getZero: DataWrapper.this.type

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    DataWrapperData
  79. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  80. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  81. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  82. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  83. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  84. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  85. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  86. def isAnalog: Boolean
    Definition Classes
    Data
  87. def isComb: Boolean
    Definition Classes
    Data
  88. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  89. def isDirectionLess: Boolean
    Definition Classes
    Data
  90. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  91. def isInOut: Boolean
    Definition Classes
    Data
  92. def isInput: Boolean
    Definition Classes
    Data
  93. def isInputOrInOut: Boolean
    Definition Classes
    Data
  94. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  95. def isNamed: Boolean
    Definition Classes
    NameableByComponentNameable
  96. def isOutput: Boolean
    Definition Classes
    Data
  97. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  98. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  99. def isReg: Boolean
    Definition Classes
    Data
  100. def isRegOnAssign: Boolean
    Definition Classes
    Data
  101. def isUnnamed: Boolean
    Definition Classes
    Nameable
  102. val name: String
    Definition Classes
    Nameable
  103. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  104. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  105. def noBackendCombMerge(): DataWrapper.this.type

    Put the combinatorial logic driving this signal in a separate process

    Put the combinatorial logic driving this signal in a separate process

    Definition Classes
    Data
  106. def noCombLoopCheck(): DataWrapper.this.type

    Disable combinatorial loop checking for this Data

    Disable combinatorial loop checking for this Data

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/combinatorial_loop.html

    Definition Classes
    Data
  107. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  108. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  109. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  110. def overrideLocalName(name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  111. val parent: Data
    Definition Classes
    Data
  112. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  113. def pull(propagateName: Boolean): DataWrapper.this.type
    Definition Classes
    Data
  114. def pull(): DataWrapper.this.type

    Pull a signal to the top level (use for debugging)

    Pull a signal to the top level (use for debugging)

    Definition Classes
    Data
  115. def purify(): DataWrapper.this.type
    Definition Classes
    Data
  116. def randBoot(u: Unit): DataWrapper.this.type

    Useful for register that doesn't need a reset value in RTL, but need a random value for simulation (avoid x-propagation)

    Useful for register that doesn't need a reset value in RTL, but need a random value for simulation (avoid x-propagation)

    Definition Classes
    Data
  117. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  118. def reflectNames(): Unit
    Definition Classes
    Nameable
  119. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): DataWrapper.this.type
    Definition Classes
    Data
  120. def removeDataAssignments(): DataWrapper.this.type
    Definition Classes
    Data
  121. def removeInitAssignments(): DataWrapper.this.type
    Definition Classes
    Data
  122. def removeTag(spinalTag: SpinalTag): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  123. def removeTags(tags: Iterable[SpinalTag]): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  124. def resized: DataWrapper.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  125. def rootIF(): Interface

    root interface

    root interface

    Definition Classes
    Data
  126. def rootIFList(): List[Interface]
    Definition Classes
    Data
  127. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
    Definition Classes
    Data
  128. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  129. def setAll(): DataWrapper.this.type
    Definition Classes
    Data
  130. def setAsAnalog(): DataWrapper.this.type
    Definition Classes
    Data
  131. def setAsComb(): DataWrapper.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    DataWrapperData
  132. def setAsDirectionLess(): DataWrapper.this.type

    remove the direction (in,out,inout) to a data

    remove the direction (in,out,inout) to a data

    Definition Classes
    Data
  133. def setAsReg(): DataWrapper.this.type

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    DataWrapperData
  134. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  135. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  136. def setCompositeName(nameable: Nameable, postfix: String): DataWrapper.this.type
    Definition Classes
    Nameable
  137. def setCompositeName(nameable: Nameable, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  138. def setCompositeName(nameable: Nameable, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  139. def setCompositeName(nameable: Nameable): DataWrapper.this.type
    Definition Classes
    Nameable
  140. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): DataWrapper.this.type
    Definition Classes
    Nameable
  141. def setName(name: String, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  142. def setName(name: String, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  143. def setName(name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  144. def setNameAsWeak(): DataWrapper.this.type
    Definition Classes
    Nameable
  145. def setOutputAsReg(): DataWrapper.this.type

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

    Definition Classes
    Data
  146. def setPartialName(name: String, namePriority: Byte, owner: Any): DataWrapper.this.type
    Definition Classes
    Nameable
  147. def setPartialName(name: String, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  148. def setPartialName(name: String, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  149. def setPartialName(owner: Nameable, name: String, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  150. def setPartialName(owner: Nameable, name: String, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  151. def setPartialName(name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  152. def setPartialName(owner: Nameable, name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  153. def setPartialName(owner: Nameable): DataWrapper.this.type
    Definition Classes
    Nameable
  154. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  155. def setScalaLocated(source: ScalaLocated): DataWrapper.this.type
    Definition Classes
    ScalaLocated
  156. def setWeakName(name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  157. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  158. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  159. def toIo(): DataWrapper.this.type
    Definition Classes
    Data
  160. def toMuxInput[T <: Data](muxOutput: T): T
    Definition Classes
    Data
  161. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  162. def unfreeze(): DataWrapper.this.type
    Definition Classes
    DataWrapperData
  163. def unsetName(): DataWrapper.this.type
    Definition Classes
    Nameable
  164. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  165. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  166. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  167. def wrapNext(): DataWrapper.this.type
    Definition Classes
    Data

Deprecated Value Members

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

    (Since version ???) use setAsDirectionLess instead

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  3. def genIf(cond: Boolean): DataWrapper.this.type

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

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

Inherited from Data

Inherited from InComponent

Inherited from OverridedEqualsHashCode

Inherited from SpinalTagReady

Inherited from Assignable

Inherited from NameableByComponent

Inherited from Nameable

Inherited from OwnableRef

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from AnyRef

Inherited from Any

Ungrouped