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. Protected

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 clearAll(): DataWrapper.this.type
    Definition Classes
    Data
  34. def clone(): Data
    Definition Classes
    Data → AnyRef
  35. def component: Component
    Definition Classes
    ContextUser
  36. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  37. val compositeAssign: Assignable
    Definition Classes
    Assignable
  38. def copyDirectionOfImpl(that: Data): DataWrapper.this.type
    Definition Classes
    Data
  39. def dirString(): String
    Definition Classes
    Data
  40. def dontSimplifyIt(): DataWrapper.this.type
    Definition Classes
    Data
  41. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  43. def existsTag(cond: (SpinalTag) => Boolean): Boolean
    Definition Classes
    SpinalTagReady
  44. def filterTag(cond: (SpinalTag) => Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  45. def findTag(cond: (SpinalTag) => Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  46. def flatten: Seq[BaseType]
    Definition Classes
    DataWrapperData
  47. def flattenForeach(body: (BaseType) => Unit): Unit
    Definition Classes
    Data
  48. def flattenLocalName: Seq[String]
    Definition Classes
    DataWrapperData
  49. def flip(): DataWrapper.this.type

    flip the direction of the data

    flip the direction of the data

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

    Return the width of the data

    Return the width of the data

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

    Get current component with all parents

    Get current component with all parents

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

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    DataWrapperData
  78. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  79. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  80. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  81. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  82. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  83. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  84. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  85. def isAnalog: Boolean
    Definition Classes
    Data
  86. def isComb: Boolean
    Definition Classes
    Data
  87. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  88. def isDirectionLess: Boolean
    Definition Classes
    Data
  89. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  90. def isInOut: Boolean
    Definition Classes
    Data
  91. def isInput: Boolean
    Definition Classes
    Data
  92. def isInputOrInOut: Boolean
    Definition Classes
    Data
  93. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  94. def isNamed: Boolean
    Definition Classes
    NameableByComponentNameable
  95. def isOutput: Boolean
    Definition Classes
    Data
  96. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  97. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  98. def isReg: Boolean
    Definition Classes
    Data
  99. def isRegOnAssign: Boolean
    Definition Classes
    Data
  100. def isUnnamed: Boolean
    Definition Classes
    Nameable
  101. val name: String
    Definition Classes
    Nameable
  102. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  103. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  104. 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
  105. 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
  106. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  107. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  108. def onEachAttributes(doIt: (Attribute) => Unit): Unit
    Definition Classes
    SpinalTagReady
  109. def overrideLocalName(name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  110. val parent: Data
    Definition Classes
    Data
  111. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  112. def pull(propagateName: Boolean): DataWrapper.this.type
    Definition Classes
    Data
  113. 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
  114. def purify(): DataWrapper.this.type
    Definition Classes
    Data
  115. 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
  116. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  117. def reflectNames(): Unit
    Definition Classes
    Nameable
  118. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): DataWrapper.this.type
    Definition Classes
    Data
  119. def removeDataAssignments(): DataWrapper.this.type
    Definition Classes
    Data
  120. def removeInitAssignments(): DataWrapper.this.type
    Definition Classes
    Data
  121. def removeTag(spinalTag: SpinalTag): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  122. def removeTags(tags: Iterable[SpinalTag]): DataWrapper.this.type
    Definition Classes
    SpinalTagReady
  123. def resized: DataWrapper.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  124. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  125. def setAll(): DataWrapper.this.type
    Definition Classes
    Data
  126. def setAsAnalog(): DataWrapper.this.type
    Definition Classes
    Data
  127. def setAsComb(): DataWrapper.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    DataWrapperData
  128. 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
  129. def setAsReg(): DataWrapper.this.type

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    DataWrapperData
  130. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  131. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  132. def setCompositeName(nameable: Nameable, postfix: String): DataWrapper.this.type
    Definition Classes
    Nameable
  133. def setCompositeName(nameable: Nameable, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  134. def setCompositeName(nameable: Nameable, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  135. def setCompositeName(nameable: Nameable): DataWrapper.this.type
    Definition Classes
    Nameable
  136. def setLambdaName(isNameBody: => Boolean)(nameGen: => String): DataWrapper.this.type
    Definition Classes
    Nameable
  137. def setName(name: String, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  138. def setName(name: String, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  139. def setName(name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  140. def setNameAsWeak(): DataWrapper.this.type
    Definition Classes
    Nameable
  141. def setPartialName(name: String, namePriority: Byte, owner: Any): DataWrapper.this.type
    Definition Classes
    Nameable
  142. def setPartialName(name: String, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  143. def setPartialName(name: String, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  144. def setPartialName(owner: Nameable, name: String, namePriority: Byte): DataWrapper.this.type
    Definition Classes
    Nameable
  145. def setPartialName(owner: Nameable, name: String, weak: Boolean): DataWrapper.this.type
    Definition Classes
    Nameable
  146. def setPartialName(name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  147. def setPartialName(owner: Nameable, name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  148. def setPartialName(owner: Nameable): DataWrapper.this.type
    Definition Classes
    Nameable
  149. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  150. def setScalaLocated(source: ScalaLocated): DataWrapper.this.type
    Definition Classes
    ScalaLocated
  151. def setWeakName(name: String): DataWrapper.this.type
    Definition Classes
    Nameable
  152. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  153. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  154. def toIo(): DataWrapper.this.type
    Definition Classes
    Data
  155. def toMuxInput[T <: Data](muxOutput: T): T
    Definition Classes
    Data
  156. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  157. def unfreeze(): DataWrapper.this.type
    Definition Classes
    DataWrapperData
  158. def unsetName(): DataWrapper.this.type
    Definition Classes
    Nameable
  159. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  160. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  161. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  162. 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 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