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

Linear Supertypes
Known Subclasses
AhbLite3, AhbLite3Master, Apb3, ApbCmd, AsyncMemoryBus, AvalonMM, AvalonReadDmaCmd, Axi4, Axi4Ar, Axi4ArUnburstified, Axi4Arw, Axi4ArwUnburstified, Axi4Aw, Axi4AwUnburstified, Axi4Ax, Axi4AxUnburstified, Axi4B, Axi4R, Axi4ReadOnly, Axi4Shared, Axi4W, Axi4WriteOnly, AxiLite4, AxiLite4Ax, AxiLite4B, AxiLite4R, AxiLite4ReadOnly, AxiLite4SimpleReadDmaCmd, AxiLite4W, AxiLite4WriteOnly, BRAM, BaseType, BitVector, Bits, Bool, BoolEdges, BranchPredictorLine, Bundle, BundleCase, Cmd, Config, CoreDataBus, CoreDataCmd, CoreDecodeOutput, CoreExecute0Output, CoreExecute1Output, CoreFetchOutput, CoreInstructionBus, CoreInstructionCmd, CoreInstructionRsp, CoreWriteBack0Output, Ctrl, CtrlCmd, DataCacheCpuBus, DataCacheCpuCmd, DataCacheCpuRsp, DataCacheMemBus, DataCacheMemCmd, DataCacheMemRsp, DataWrapper, DebugExtensionBus, DebugExtensionCmd, DebugExtensionIo, DebugExtensionRsp, Floating, FloatingCompareResult, Flow, Fragment, I2c, I2cAddress, I2cSlaveBus, I2cSlaveCmd, I2cSlaveConfig, I2cSlaveIo, I2cSlaveRsp, InstructionCacheCpuBus, InstructionCacheCpuCmd, InstructionCacheCpuRsp, InstructionCacheFlushBus, InstructionCacheMemBus, InstructionCacheMemCmd, InstructionCacheMemRsp, InstructionCtrl, Jtag, LineInfo, LineInfo, Mem, MemCmd, MemReadPort, MemWriteCmd, MemWritePayload, MixedDividerCmd, MixedDividerRsp, MultiData, NoData, PinsecTimerCtrlExternal, PipelinedMemoryBus, PipelinedMemoryBusCmd, PipelinedMemoryBusRsp, ReadRetLinked, ReadableOpenDrain, RecFloating, Request, Rgb, Rsp, SFix, SFix2D, SInt, SblCmd, SblReadCmd, SblReadDmaCmd, SblReadRet, SblWriteCmd, SdramCtrlAxi4SharedContext, SdramCtrlBackendCmd, SdramCtrlBank, SdramCtrlBus, SdramCtrlCmd, SdramCtrlRsp, SdramInterface, SerialCheckerPhysical, SerialLinkRxToTx, SignedDividerCmd, SignedDividerRsp, Sio, SpiKind, SpiMaster, SpiMasterCmd, SpiMasterCtrlCmdData, SpiMasterCtrlCmdSs, SpiMasterCtrlConfig, SpiSlave, SpiSlaveCtrlIo, SpiXdrMaster, SpinalEnumCraft, Stream, SystemDebuggerMemBus, SystemDebuggerMemCmd, SystemDebuggerRemoteBus, SystemDebuggerRsp, TriState, TriStateArray, TriStateOutput, UFix, UFix2D, UInt, UInt2D, Uart, UartCtrlConfig, UartCtrlFrameConfig, UartCtrlIo, UnsignedDividerCmd, UnsignedDividerRsp, Vec, Vga, VgaTimings, VgaTimingsHV, VideoDmaMem, Wishbone, XFix, XdrOutput, XdrPin, XipBus
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Data
  2. SpinalTagReady
  3. Assignable
  4. NameableByComponent
  5. Nameable
  6. OwnableRef
  7. ContextUser
  8. ScalaLocated
  9. GlobalDataUser
  10. AnyRef
  11. 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: Set[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 allowPruning(): Data.this.type

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

    Permalink
  15. def allowUnsetRegToAvoidLatch: Data.this.type

    Permalink
  16. def asData: Data

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

    Permalink

    set a data as inout

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

    Permalink

    Set a data as input

  19. final def asInstanceOf[T0]: T0

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

    Permalink

    Set a data as output

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

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

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

    Permalink
  24. def clone(): Data

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

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

    Permalink
    Definition Classes
    Assignable
  27. var compositeAssign: Assignable

    Permalink
    Definition Classes
    Assignable
  28. def dirString(): String

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  34. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]

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

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

    Permalink

    flip the direction of the data

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

    Permalink
    Definition Classes
    Nameable
  39. def genIf(cond: Boolean): Data.this.type

    Permalink

    Generate this if condition is true

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

    Permalink
    Definition Classes
    AnyRef → Any
  41. def getComponent(): Component

    Permalink
    Definition Classes
    DataNameableByComponent
  42. def getComponents(): Seq[Component]

    Permalink

    Get current component with all parents

  43. def getDisplayName(): String

    Permalink
    Definition Classes
    Nameable
  44. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  45. def getMode: Byte

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

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

    Permalink
    Definition Classes
    Nameable
  48. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  49. def getRealSourceNoRec: Any

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

    Permalink
    Definition Classes
    OwnableRef
  51. def getRootParent: Data

    Permalink
  52. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  53. def getScalaLocationShort: String

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  56. def getTags(): Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  57. val globalData: GlobalData

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

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

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

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  64. def isAnalog: Boolean

    Permalink
  65. def isComb: Boolean

    Permalink
  66. def isDirectionLess: Boolean

    Permalink
  67. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  68. def isInOut: Boolean

    Permalink
  69. def isInput: Boolean

    Permalink
  70. def isInputOrInOut: Boolean

    Permalink
  71. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  72. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  73. def isOutput: Boolean

    Permalink
  74. def isOutputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Nameable
  76. def isReg: Boolean

    Permalink
  77. def isUnnamed: Boolean

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

    Permalink
  79. var name: String

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

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

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

    Permalink
  83. def noCombLoopCheck: Data.this.type

    Permalink
  84. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  85. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  86. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  87. var parent: Data

    Permalink
  88. var parentScope: ScopeStatement

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

    Permalink

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

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

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

    Permalink

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

  92. var refOwner: RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  93. def removeAssignments(): Data.this.type

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

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

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

    Permalink

    Resized data regarding target

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

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

    Permalink

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Nameable
  117. def spinalTags: Set[SpinalTag]

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

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

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

    Permalink
    Definition Classes
    Nameable
  121. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  122. final def wait(arg0: Long, arg1: Int): Unit

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

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

Deprecated Value Members

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

    Permalink
    Annotations
    @deprecated
    Deprecated

    use setAsDirectionLess instead

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