Trait/Object

spinal.core

Data

Related Docs: object Data | package core

Permalink

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

Linear Supertypes
Known Subclasses
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. All

Type Members

  1. abstract type RefOwnerType

    Permalink
    Definition Classes
    OwnableRef

Abstract Value Members

  1. abstract def asBits: Bits

    Permalink

    Cast data to Bits

  2. abstract def assignFromBits(bits: Bits, hi: Int, low: Int): Unit

    Permalink
  3. abstract def assignFromBits(bits: Bits): Unit

    Permalink
  4. abstract def flatten: Seq[BaseType]

    Permalink
  5. abstract def flattenLocalName: Seq[String]

    Permalink
  6. abstract def getBitsWidth: Int

    Permalink

    Return the width of the data

  7. abstract def getZero: Data.this.type

    Permalink

    Create a data set to 0

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

    Permalink

    Set baseType to Combinatorial

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

    Permalink

    Set baseType to reg

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. def ##(right: Data): Bits

    Permalink

    Concatenation between two data

  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. var _spinalTags: LinkedHashSet[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  6. def addAttribute(attribute: Attribute): Data.this.type

    Permalink
    Definition Classes
    DataSpinalTagReady
  7. def addAttribute(name: String, value: String): Data.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  8. def addAttribute(name: String): Data.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  9. def addTag[T <: SpinalTag](spinalTag: T): Data.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  10. def addTags[T <: SpinalTag](tags: Iterable[T]): Data.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  11. def allowDirectionLessIo: Data.this.type

    Permalink
  12. def allowOverride: Data.this.type

    Permalink

    Allow a data to be overrided

  13. def allowPartialyAssigned: Data.this.type

    Permalink
  14. def allowPruning(): Data.this.type

    Permalink
  15. def allowSimplifyIt(): Data.this.type

    Permalink
  16. def allowUnsetRegToAvoidLatch: Data.this.type

    Permalink
  17. def as[T <: Data](dataType: HardType[T]): T

    Permalink
  18. def asData: Data

    Permalink
  19. def asInOut(): Data.this.type

    Permalink

    set a data as inout

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

    Permalink

    Set a data as input

  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. def asOutput(): Data.this.type

    Permalink

    Set a data as output

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

    Permalink
  24. final def assignFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
  25. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit

    Permalink
  26. def clone(): Data

    Permalink
    Definition Classes
    Data → AnyRef
  27. def component: Component

    Permalink
    Definition Classes
    ContextUser
  28. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef): Unit

    Permalink
    Definition Classes
    Assignable
  29. var compositeAssign: Assignable

    Permalink
    Definition Classes
    Assignable
  30. def copyDirectionOfImpl(that: Data): Data.this.type

    Permalink
  31. def dirString(): String

    Permalink
  32. def dontSimplifyIt(): Data.this.type

    Permalink
  33. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  35. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  36. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  37. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  38. def flattenForeach(body: (BaseType) ⇒ Unit): Unit

    Permalink
  39. def flip(): Data.this.type

    Permalink

    flip the direction of the data

  40. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Nameable
  41. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  42. def genIf(cond: Boolean): Data.this.type

    Permalink

    Generate this if condition is true

  43. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  44. def getComponent(): Component

    Permalink
    Definition Classes
    DataInComponentNameableByComponent
  45. def getComponents(): Seq[Component]

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  46. def getDirection: IODirection

    Permalink
  47. def getDisplayName(): String

    Permalink
    Definition Classes
    Nameable
  48. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  49. def getMode: Byte

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  50. def getName(default: String): String

    Permalink
    Definition Classes
    NameableByComponentNameable
  51. def getName(): String

    Permalink
    Definition Classes
    Nameable
  52. def getPartialName(): String

    Permalink
    Definition Classes
    Nameable
  53. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  54. def getRealSourceNoRec: Any

    Permalink
    Definition Classes
    DataAssignable
  55. def getRefOwnersChain(): List[Any]

    Permalink
    Definition Classes
    OwnableRef
  56. def getRootParent: Data

    Permalink
  57. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  58. def getScalaLocationShort: String

    Permalink
    Definition Classes
    ScalaLocated
  59. def getScalaTrace(): Throwable

    Permalink
    Definition Classes
    ScalaLocated
  60. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]

    Permalink
    Definition Classes
    SpinalTagReady
  61. def getTags(): LinkedHashSet[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  62. val globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  63. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  64. def hasTag(spinalTag: SpinalTag): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  65. def hashCode(): Int

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  66. final def initFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
  67. def instanceAttributes(language: Language): Iterable[Attribute]

    Permalink
    Definition Classes
    SpinalTagReady
  68. def instanceAttributes: Iterable[Attribute]

    Permalink
    Definition Classes
    SpinalTagReady
  69. def isAnalog: Boolean

    Permalink
  70. def isComb: Boolean

    Permalink
  71. def isDirectionLess: Boolean

    Permalink
  72. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  73. def isInOut: Boolean

    Permalink
  74. def isInput: Boolean

    Permalink
  75. def isInputOrInOut: Boolean

    Permalink
  76. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  77. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  78. def isOutput: Boolean

    Permalink
  79. def isOutputOrInOut: Boolean

    Permalink
  80. def isPriorityApplicable(namePriority: Byte): Boolean

    Permalink
    Definition Classes
    Nameable
  81. def isReg: Boolean

    Permalink
  82. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  83. def keep(): Data.this.type

    Permalink
  84. var name: String

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  85. var nameableRef: Nameable

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  86. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  87. def noBackendCombMerge: Data.this.type

    Permalink
  88. def noCombLoopCheck: Data.this.type

    Permalink
  89. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  90. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  91. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  92. def overrideLocalName(name: String): Data.this.type

    Permalink
    Definition Classes
    Nameable
  93. var parent: Data

    Permalink
  94. var parentScope: ScopeStatement

    Permalink
    Definition Classes
    ContextUser
  95. def pull(): Data.this.type

    Permalink

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

  96. def purify(): Data.this.type

    Permalink
  97. def randBoot(): Data.this.type

    Permalink

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

  98. var refOwner: RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  99. def reflectNames(): Unit

    Permalink
    Definition Classes
    Nameable
  100. def removeAssignments(): Data.this.type

    Permalink
  101. def removeTag(spinalTag: SpinalTag): Data.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  102. def removeTags(tags: Iterable[SpinalTag]): Data.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  103. def resized: Data.this.type

    Permalink

    Resized data regarding target

  104. def setAsAnalog(): Data.this.type

    Permalink
  105. def setAsDirectionLess(): Data.this.type

    Permalink

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

  106. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Data.this.type

    Permalink
    Definition Classes
    Nameable
  107. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Data.this.type

    Permalink
    Definition Classes
    Nameable
  108. def setCompositeName(nameable: Nameable, postfix: String): Data.this.type

    Permalink
    Definition Classes
    Nameable
  109. def setCompositeName(nameable: Nameable, namePriority: Byte): Data.this.type

    Permalink
    Definition Classes
    Nameable
  110. def setCompositeName(nameable: Nameable, weak: Boolean): Data.this.type

    Permalink
    Definition Classes
    Nameable
  111. def setCompositeName(nameable: Nameable): Data.this.type

    Permalink
    Definition Classes
    Nameable
  112. def setName(name: String, namePriority: Byte): Data.this.type

    Permalink
    Definition Classes
    Nameable
  113. def setName(name: String, weak: Boolean): Data.this.type

    Permalink
    Definition Classes
    Nameable
  114. def setName(name: String): Data.this.type

    Permalink
    Definition Classes
    Nameable
  115. def setNameAsWeak(): Data.this.type

    Permalink
    Definition Classes
    Nameable
  116. def setPartialName(name: String, namePriority: Byte): Data.this.type

    Permalink
    Definition Classes
    Nameable
  117. def setPartialName(name: String, weak: Boolean): Data.this.type

    Permalink
    Definition Classes
    Nameable
  118. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Data.this.type

    Permalink
    Definition Classes
    Nameable
  119. def setPartialName(owner: Nameable, name: String, weak: Boolean): Data.this.type

    Permalink
    Definition Classes
    Nameable
  120. def setPartialName(name: String): Data.this.type

    Permalink
    Definition Classes
    Nameable
  121. def setPartialName(owner: Nameable, name: String): Data.this.type

    Permalink
    Definition Classes
    Nameable
  122. def setRefOwner(that: Any): Unit

    Permalink
    Definition Classes
    OwnableRef
  123. def setScalaLocated(source: ScalaLocated): Data.this.type

    Permalink
    Definition Classes
    ScalaLocated
  124. def setWeakName(name: String): Data.this.type

    Permalink
    Definition Classes
    Nameable
  125. def spinalTags: LinkedHashSet[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  126. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  127. def toString(): String

    Permalink
    Definition Classes
    Nameable → AnyRef → Any
  128. def unsetName(): Data.this.type

    Permalink
    Definition Classes
    Nameable
  129. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  130. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  131. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def asDirectionLess(): Data.this.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version ???) use setAsDirectionLess instead

  2. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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