Class/Object

spinal.core

HardMap

Related Docs: object HardMap | package core

Permalink

class HardMap extends MultiData

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

Instance Constructors

  1. new HardMap()

    Permalink

Type Members

  1. abstract type RefOwnerType

    Permalink
    Definition Classes
    OwnableRef

Value Members

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

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

    Permalink

    Concatenation between two data

    Concatenation between two data

    Definition Classes
    Data
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. def #*(count: Int): Bits

    Permalink
    Definition Classes
    Data
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    SpinalTagReady
  7. def add[T <: Data](key: NamedType[T]): Unit

    Permalink
  8. def addAttribute(attribute: Attribute): HardMap.this.type

    Permalink
    Definition Classes
    DataSpinalTagReady
  9. def addAttribute(name: String, value: Int): HardMap.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  10. def addAttribute(name: String, value: String): HardMap.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  11. def addAttribute(name: String): HardMap.this.type

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

    Permalink
    Definition Classes
    MultiDataSpinalTagReady
  13. def addTags(h: SpinalTag, tail: SpinalTag*): HardMap.this.type

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

    Permalink
    Definition Classes
    SpinalTagReady
  15. def allowDirectionLessIo(): HardMap.this.type

    Permalink

    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
  16. def allowOverride(): HardMap.this.type

    Permalink

    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
  17. def allowPartialyAssigned(): HardMap.this.type

    Permalink

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  18. def allowPruning(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  19. def allowSimplifyIt(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  20. def allowUnsetRegToAvoidLatch(): HardMap.this.type

    Permalink

    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
  21. def apply[T <: Data](key: NamedType[T]): T

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

    Permalink
    Definition Classes
    Data
  23. def asBits: Bits

    Permalink

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  24. def asData: Data

    Permalink
    Definition Classes
    Data
  25. def asInOut(): HardMap.this.type

    Permalink

    set a data as inout

    set a data as inout

    Definition Classes
    MultiDataData
  26. def asInput(): HardMap.this.type

    Permalink

    Set a data as input

    Set a data as input

    Definition Classes
    MultiDataData
  27. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  28. def asOutput(): HardMap.this.type

    Permalink

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  29. def assignDontCare(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  30. def assignDontCareToUnasigned(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  31. def assignFormalRandom(kind: RandomExpKind): Unit

    Permalink
    Definition Classes
    MultiDataData
  32. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit

    Permalink
    Definition Classes
    Data
  33. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit

    Permalink
    Definition Classes
    MultiDataData
  34. def assignFromBits(bits: Bits): Unit

    Permalink
    Definition Classes
    MultiDataData
  35. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit

    Permalink
    Definition Classes
    Data
  36. def assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    HardMapAssignable
  37. def assignUnassignedByName(that: MultiData): Unit

    Permalink
    Definition Classes
    MultiData
  38. def clearAll(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  39. def clone(): Data

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

    Permalink
    Definition Classes
    ContextUser
  41. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit

    Permalink
    Definition Classes
    Assignable
  42. var compositeAssign: Assignable

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

    Permalink
    Definition Classes
    MultiDataData
  44. def dirString(): String

    Permalink
    Definition Classes
    Data
  45. def dontSimplifyIt(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  46. def elements: ArrayBuffer[(String, Data)]

    Permalink
    Definition Classes
    HardMapMultiData
  47. var elementsCache: ArrayBuffer[(String, Data)]

    Permalink
  48. def elementsString: String

    Permalink
    Definition Classes
    MultiData
  49. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  53. def find(name: String): Data

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

    Permalink
    Definition Classes
    SpinalTagReady
  55. def flatten: Seq[BaseType]

    Permalink
    Definition Classes
    MultiDataData
  56. def flattenForeach(body: (BaseType) ⇒ Unit): Unit

    Permalink
    Definition Classes
    MultiDataData
  57. def flattenLocalName: Seq[String]

    Permalink
    Definition Classes
    MultiDataData
  58. def flip(): HardMap.this.type

    Permalink

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  59. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit

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

    Permalink
    Definition Classes
    SpinalTagReady
  61. def freeze(): HardMap.this.type

    Permalink
    Definition Classes
    MultiDataData
  62. def getAheadValue(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  63. def getBitsWidth: Int

    Permalink

    Return the width of the data

    Return the width of the data

    Definition Classes
    MultiDataData
  64. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  65. def getComponent(): Component

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

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  67. def getDirection: IODirection

    Permalink
    Definition Classes
    Data
  68. def getDisplayName(): String

    Permalink
    Definition Classes
    Nameable
  69. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  70. def getMode: Byte

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  71. def getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]

    Permalink
    Definition Classes
    Data
  72. def getName(default: String): String

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

    Permalink
    Definition Classes
    NameableByComponentNameable
  74. def getPartialName(): String

    Permalink
    Definition Classes
    Nameable
  75. def getPath(from: Component, to: Component): Seq[Component]

    Permalink
    Definition Classes
    NameableByComponent
  76. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  77. def getRealSourceNoRec: Any

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

    Permalink
    Definition Classes
    OwnableRef
  79. def getRootParent: Data

    Permalink
    Definition Classes
    Data
  80. def getRtlPath(separator: String = "/"): String

    Permalink
    Definition Classes
    Data
  81. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  82. def getScalaLocationShort: String

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  86. def getZero: HardMap.this.type

    Permalink

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  87. var globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  88. def hardMapAssign(that: HardMap)(f: (Data, Data) ⇒ Unit): Unit

    Permalink
  89. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean

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

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

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

    Permalink
    Definition Classes
    Data
  93. def instanceAttributes(language: Language): Iterable[Attribute]

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

    Permalink
    Definition Classes
    SpinalTagReady
  95. def isAnalog: Boolean

    Permalink
    Definition Classes
    Data
  96. def isComb: Boolean

    Permalink
    Definition Classes
    Data
  97. def isCompletelyUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  98. def isDirectionLess: Boolean

    Permalink
    Definition Classes
    Data
  99. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  100. def isInOut: Boolean

    Permalink
    Definition Classes
    Data
  101. def isInput: Boolean

    Permalink
    Definition Classes
    Data
  102. def isInputOrInOut: Boolean

    Permalink
    Definition Classes
    Data
  103. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  104. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  105. def isOutput: Boolean

    Permalink
    Definition Classes
    Data
  106. def isOutputOrInOut: Boolean

    Permalink
    Definition Classes
    Data
  107. def isPriorityApplicable(namePriority: Byte): Boolean

    Permalink
    Definition Classes
    Nameable
  108. def isReg: Boolean

    Permalink
    Definition Classes
    Data
  109. def isRegOnAssign: Boolean

    Permalink
    Definition Classes
    Data
  110. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  111. def keyToName(key: Any): String

    Permalink
  112. var name: String

    Permalink
    Definition Classes
    Nameable
  113. var nameableRef: Nameable

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

    Permalink
    Definition Classes
    AnyRef
  115. def noBackendCombMerge(): HardMap.this.type

    Permalink

    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
  116. def noCombLoopCheck(): HardMap.this.type

    Permalink

    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
  117. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  118. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    SpinalTagReady
  120. def overrideLocalName(name: String): HardMap.this.type

    Permalink
    Definition Classes
    Nameable
  121. var parent: Data

    Permalink
    Definition Classes
    Data
  122. var parentScope: ScopeStatement

    Permalink
    Definition Classes
    ContextUser
  123. def pull(propagateName: Boolean): HardMap.this.type

    Permalink
    Definition Classes
    Data
  124. def pull(): HardMap.this.type

    Permalink

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

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

    Definition Classes
    Data
  125. def purify(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  126. def randBoot(u: Unit): HardMap.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)

    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
  127. var refOwner: RefOwnerType

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

    Permalink
    Definition Classes
    Nameable
  129. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): HardMap.this.type

    Permalink
    Definition Classes
    Data
  130. def removeDataAssignments(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  131. def removeInitAssignments(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  132. def removeTag(spinalTag: SpinalTag): HardMap.this.type

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

    Permalink
    Definition Classes
    SpinalTagReady
  134. def resized: HardMap.this.type

    Permalink

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  135. def rootIF(): Interface

    Permalink

    root interface

    root interface

    Definition Classes
    Data
  136. def rootIFList(): List[Interface]

    Permalink
    Definition Classes
    Data
  137. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]

    Permalink
    Definition Classes
    Data
  138. var scalaTrace: Throwable

    Permalink
    Definition Classes
    ScalaLocated
  139. def setAll(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  140. def setAsAnalog(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  141. def setAsComb(): HardMap.this.type

    Permalink

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  142. def setAsDirectionLess(): HardMap.this.type

    Permalink

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

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

    Definition Classes
    MultiDataData
  143. def setAsReg(): HardMap.this.type

    Permalink

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  144. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): HardMap.this.type

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

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

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

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

    Permalink
    Definition Classes
    Nameable
  149. def setCompositeName(nameable: Nameable): HardMap.this.type

    Permalink
    Definition Classes
    Nameable
  150. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): HardMap.this.type

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

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

    Permalink
    Definition Classes
    Nameable
  153. def setName(name: String): HardMap.this.type

    Permalink
    Definition Classes
    Nameable
  154. def setNameAsWeak(): HardMap.this.type

    Permalink
    Definition Classes
    Nameable
  155. def setOutputAsReg(): HardMap.this.type

    Permalink

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

    Definition Classes
    Data
  156. def setPartialName(name: String, namePriority: Byte, owner: Any): HardMap.this.type

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

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

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

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

    Permalink
    Definition Classes
    Nameable
  161. def setPartialName(name: String): HardMap.this.type

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

    Permalink
    Definition Classes
    Nameable
  163. def setPartialName(owner: Nameable): HardMap.this.type

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

    Permalink
    Definition Classes
    OwnableRef
  165. def setScalaLocated(source: ScalaLocated): HardMap.this.type

    Permalink
    Definition Classes
    ScalaLocated
  166. def setWeakName(name: String): HardMap.this.type

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

    Permalink
    Definition Classes
    SpinalTagReady
  168. val storage: LinkedHashMap[NamedType[Data], Data]

    Permalink
  169. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  170. def toIo(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  171. def toMuxInput[T <: Data](muxOutput: T): T

    Permalink
    Definition Classes
    Data
  172. def toString(): String

    Permalink
    Definition Classes
    Nameable → AnyRef → Any
  173. def unfreeze(): HardMap.this.type

    Permalink
    Definition Classes
    MultiDataData
  174. def unsetName(): HardMap.this.type

    Permalink
    Definition Classes
    Nameable
  175. def update[T <: Data](key: NamedType[T], value: T): Unit

    Permalink
  176. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  179. def wrapNext(): HardMap.this.type

    Permalink
    Definition Classes
    Data
  180. def zipByName(that: MultiData, rec: ArrayBuffer[(BaseType, BaseType)] = ArrayBuffer()): ArrayBuffer[(BaseType, BaseType)]

    Permalink
    Definition Classes
    MultiData

Deprecated Value Members

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

    Permalink
    Definition Classes
    Data
    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.

  3. def genIf(cond: Boolean): HardMap.this.type

    Permalink

    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 MultiData

Inherited from Data

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