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 assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Attributes
    protected
    Definition Classes
    Assignable
  5. abstract def flatten: Seq[BaseType]
  6. abstract def flattenLocalName: Seq[String]
  7. abstract def freeze(): Data.this.type
  8. abstract def getBitsWidth: Int

    Return the width of the data

  9. abstract def getZero: Data.this.type

    Create a data set to 0

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

    Set baseType to Combinatorial

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

    Set baseType to reg

  12. 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(h: SpinalTag, tail: SpinalTag*): Data.this.type
    Definition Classes
    SpinalTagReady
  13. def addTags[T <: SpinalTag](tags: Iterable[T]): Data.this.type
    Definition Classes
    SpinalTagReady
  14. 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

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

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

    Allow a register to be partially assigned

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

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

    set a data as inout

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

    Set a data as input

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

    Set a data as output

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

    flip the direction of the data

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

    Get current component with all parents

    Get current component with all parents

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

    Put the combinatorial logic driving this signal in a separate process

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

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

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

  107. def purify(): Data.this.type
  108. 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)

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

    Resized data regarding target

  117. def rootIF(): Interface

    root interface

  118. def rootIFList(): List[Interface]
  119. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
  120. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  121. def setAll(): Data.this.type
  122. def setAsAnalog(): Data.this.type
  123. def setAsDirectionLess(): Data.this.type

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

  124. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  125. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  126. def setCompositeName(nameable: Nameable, postfix: String): Data.this.type
    Definition Classes
    Nameable
  127. def setCompositeName(nameable: Nameable, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  128. def setCompositeName(nameable: Nameable, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  129. def setCompositeName(nameable: Nameable): Data.this.type
    Definition Classes
    Nameable
  130. def setLambdaName(isNameBody: => Boolean)(nameGen: => String): Data.this.type
    Definition Classes
    Nameable
  131. def setName(name: String, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  132. def setName(name: String, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  133. def setName(name: String): Data.this.type
    Definition Classes
    Nameable
  134. def setNameAsWeak(): Data.this.type
    Definition Classes
    Nameable
  135. def setOutputAsReg(): Data.this.type

    Recursively set baseType to reg only for output

  136. def setPartialName(name: String, namePriority: Byte, owner: Any): Data.this.type
    Definition Classes
    Nameable
  137. def setPartialName(name: String, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  138. def setPartialName(name: String, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  139. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Data.this.type
    Definition Classes
    Nameable
  140. def setPartialName(owner: Nameable, name: String, weak: Boolean): Data.this.type
    Definition Classes
    Nameable
  141. def setPartialName(name: String): Data.this.type
    Definition Classes
    Nameable
  142. def setPartialName(owner: Nameable, name: String): Data.this.type
    Definition Classes
    Nameable
  143. def setPartialName(owner: Nameable): Data.this.type
    Definition Classes
    Nameable
  144. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  145. def setScalaLocated(source: ScalaLocated): Data.this.type
    Definition Classes
    ScalaLocated
  146. def setWeakName(name: String): Data.this.type
    Definition Classes
    Nameable
  147. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  148. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  149. def toIo(): Data.this.type
  150. def toMuxInput[T <: Data](muxOutput: T): T
  151. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  152. def unsetName(): Data.this.type
    Definition Classes
    Nameable
  153. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  154. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  155. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  156. 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

    (Since version 9)

  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