Packages

trait Data extends ContextUser with NameableByComponent with Assignable with SpinalTagReady with GlobalDataUser with ScalaLocated with OwnableRef with OverridedEqualsHashCode with InComponent

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Data
  2. InComponent
  3. OverridedEqualsHashCode
  4. SpinalTagReady
  5. Assignable
  6. NameableByComponent
  7. Nameable
  8. OwnableRef
  9. ContextUser
  10. ScalaLocated
  11. GlobalDataUser
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Abstract Value Members

  1. abstract def asBits: Bits

    Cast data to Bits

  2. abstract def assignFromBits(bits: Bits, hi: Int, low: Int): Unit
  3. abstract def assignFromBits(bits: Bits): Unit
  4. abstract def flatten: Seq[BaseType]
  5. abstract def flattenLocalName: Seq[String]
  6. abstract def freeze(): Data.this.type
  7. abstract def getBitsWidth: Int

    Return the width of the data

  8. abstract def getZero: Data.this.type

    Create a data set to 0

  9. abstract def setAsComb(): Data.this.type

    Set baseType to Combinatorial

  10. abstract def setAsReg(): Data.this.type

    Set baseType to reg

  11. abstract def unfreeze(): Data.this.type

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. def ##(right: Data): Bits

    Concatenation between two data

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

  14. def allowOverride(): Data.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

  15. def allowPartialyAssigned(): Data.this.type

    Allow a register to be partially assigned

  16. def allowPruning(): Data.this.type
  17. def allowSimplifyIt(): Data.this.type
  18. def allowUnsetRegToAvoidLatch(): Data.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

  19. def as[T <: Data](dataType: HardType[T]): T
  20. def asData: Data
  21. def asInOut(): Data.this.type

    set a data as inout

  22. def asInput(): Data.this.type

    Set a data as input

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

    Set a data as output

  25. def assignDontCare(): Data.this.type
  26. def assignFormalRandom(kind: RandomExpKind): Unit
  27. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit
  28. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
  29. def clearAll(): Data.this.type
  30. def clone(): Data
    Definition Classes
    Data → AnyRef
  31. def component: Component
    Definition Classes
    ContextUser
  32. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  33. val compositeAssign: Assignable
    Definition Classes
    Assignable
  34. def copyDirectionOfImpl(that: Data): Data.this.type
  35. def dirString(): String
  36. def dontSimplifyIt(): Data.this.type
  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  39. def existsTag(cond: (SpinalTag) => Boolean): Boolean
    Definition Classes
    SpinalTagReady
  40. def filterTag(cond: (SpinalTag) => Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  41. def findTag(cond: (SpinalTag) => Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  42. def flattenForeach(body: (BaseType) => Unit): Unit
  43. def flip(): Data.this.type

    flip the direction of the data

  44. def foreachReflectableNameables(doThat: (Any) => Unit): Unit
    Definition Classes
    Nameable
  45. def foreachTag(body: (SpinalTag) => Unit): Unit
    Definition Classes
    SpinalTagReady
  46. def getAheadValue(): Data.this.type
  47. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  48. def getComponent(): Component
    Definition Classes
    DataInComponentNameableByComponent
  49. def getComponents(): Seq[Component]

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  50. def getDirection: IODirection
  51. def getDisplayName(): String
    Definition Classes
    Nameable
  52. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  53. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  54. def getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]
  55. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  56. def getName(): String
    Definition Classes
    NameableByComponentNameable
  57. def getPartialName(): String
    Definition Classes
    Nameable
  58. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  59. def getRealSource: Any
    Definition Classes
    Assignable
  60. def getRealSourceNoRec: Any
    Definition Classes
    DataAssignable
  61. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  62. def getRootParent: Data
  63. def getRtlPath(separator: String = "/"): String
  64. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  65. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  66. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  67. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  68. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  69. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  70. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  71. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  72. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  73. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
  74. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  75. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  76. def isAnalog: Boolean
  77. def isComb: Boolean
  78. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  79. def isDirectionLess: Boolean
  80. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  81. def isInOut: Boolean
  82. def isInput: Boolean
  83. def isInputOrInOut: Boolean
  84. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  85. def isNamed: Boolean
    Definition Classes
    NameableByComponentNameable
  86. def isOutput: Boolean
  87. def isOutputOrInOut: Boolean
  88. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  89. def isReg: Boolean
  90. def isRegOnAssign: Boolean
  91. def isUnnamed: Boolean
    Definition Classes
    Nameable
  92. val name: String
    Definition Classes
    Nameable
  93. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  94. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  95. def noBackendCombMerge(): Data.this.type

    Put the combinatorial logic driving this signal in a separate process

  96. def noCombLoopCheck(): Data.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

  97. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  98. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  99. def onEachAttributes(doIt: (Attribute) => Unit): Unit
    Definition Classes
    SpinalTagReady
  100. def overrideLocalName(name: String): Data.this.type
    Definition Classes
    Nameable
  101. val parent: Data
  102. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  103. def pull(propagateName: Boolean): Data.this.type
  104. def pull(): Data.this.type

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

  105. def purify(): Data.this.type
  106. def randBoot(u: Unit): Data.this.type

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

  107. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  108. def reflectNames(): Unit
    Definition Classes
    Nameable
  109. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): Data.this.type
  110. def removeDataAssignments(): Data.this.type
  111. def removeInitAssignments(): Data.this.type
  112. def removeTag(spinalTag: SpinalTag): Data.this.type
    Definition Classes
    SpinalTagReady
  113. def removeTags(tags: Iterable[SpinalTag]): Data.this.type
    Definition Classes
    SpinalTagReady
  114. def resized: Data.this.type

    Resized data regarding target

  115. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  116. def setAll(): Data.this.type
  117. def setAsAnalog(): Data.this.type
  118. def setAsDirectionLess(): Data.this.type

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

  119. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  120. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  121. def setCompositeName(nameable: Nameable, postfix: String): Data.this.type
    Definition Classes
    Nameable
  122. def setCompositeName(nameable: Nameable, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  123. def setCompositeName(nameable: Nameable, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  124. def setCompositeName(nameable: Nameable): Data.this.type
    Definition Classes
    Nameable
  125. def setLambdaName(isNameBody: => Boolean)(nameGen: => String): Data.this.type
    Definition Classes
    Nameable
  126. def setName(name: String, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  127. def setName(name: String, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  128. def setName(name: String): Data.this.type
    Definition Classes
    Nameable
  129. def setNameAsWeak(): Data.this.type
    Definition Classes
    Nameable
  130. def setPartialName(name: String, namePriority: Byte, owner: Any): Data.this.type
    Definition Classes
    Nameable
  131. def setPartialName(name: String, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  132. def setPartialName(name: String, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  133. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  134. def setPartialName(owner: Nameable, name: String, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  135. def setPartialName(name: String): Data.this.type
    Definition Classes
    Nameable
  136. def setPartialName(owner: Nameable, name: String): Data.this.type
    Definition Classes
    Nameable
  137. def setPartialName(owner: Nameable): Data.this.type
    Definition Classes
    Nameable
  138. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  139. def setScalaLocated(source: ScalaLocated): Data.this.type
    Definition Classes
    ScalaLocated
  140. def setWeakName(name: String): Data.this.type
    Definition Classes
    Nameable
  141. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  142. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  143. def toIo(): Data.this.type
  144. def toMuxInput[T <: Data](muxOutput: T): T
  145. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  146. def unsetName(): Data.this.type
    Definition Classes
    Nameable
  147. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  148. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  149. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  150. def wrapNext(): Data.this.type

Deprecated Value Members

  1. def asDirectionLess(): Data.this.type
    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): Data.this.type

    Generate this if condition is true

    Generate this if condition is true

    Annotations
    @deprecated
    Deprecated

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

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