Packages

case class UInt2D(xBitCount: BitCount, yBitCount: BitCount) extends Bundle with Product with Serializable

Define an UInt 2D point

xBitCount

width of the x point

yBitCount

width of the y point

Example:
  1. val positionOnScreen = Reg(UInt2D(log2Up(p.screenResX) bits, log2Up(p.screenResY) bits))
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UInt2D
  2. Serializable
  3. Product
  4. Equals
  5. Bundle
  6. ValCallbackRec
  7. ValCallback
  8. MultiData
  9. Data
  10. InComponent
  11. OverridedEqualsHashCode
  12. SpinalTagReady
  13. Assignable
  14. NameableByComponent
  15. Nameable
  16. OwnableRef
  17. ContextUser
  18. ScalaLocated
  19. GlobalDataUser
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UInt2D(xBitCount: BitCount, yBitCount: BitCount)

    xBitCount

    width of the x point

    yBitCount

    width of the y point

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Value Members

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

    Concatenation between two data

    Concatenation between two data

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

    Allow a data to be overrided

    Allow a data to be overrided

    Definition Classes
    Data
  15. def allowPartialyAssigned: UInt2D.this.type
    Definition Classes
    Data
  16. def allowPruning(): UInt2D.this.type
    Definition Classes
    Data
  17. def allowSimplifyIt(): UInt2D.this.type
    Definition Classes
    Data
  18. def allowUnsetRegToAvoidLatch: UInt2D.this.type
    Definition Classes
    Data
  19. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  20. def asBits: Bits

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  21. def asData: Data
    Definition Classes
    Data
  22. def asInOut(): UInt2D.this.type

    set a data as inout

    set a data as inout

    Definition Classes
    MultiDataData
  23. def asInput(): UInt2D.this.type

    Set a data as input

    Set a data as input

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

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  26. def assignAllByName(that: Bundle): Unit

    Assign the bundle with an other bundle by name

    Assign the bundle with an other bundle by name

    Definition Classes
    Bundle
  27. def assignDontCare(): UInt2D.this.type
    Definition Classes
    Data
  28. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    MultiDataData
  29. final def assignFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  30. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
    Definition Classes
    MultiDataData
  31. def assignFromBits(bits: Bits): Unit
    Definition Classes
    MultiDataData
  32. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  33. def assignSomeByName(that: Bundle): Unit

    Assign all possible signal fo the bundle with an other bundle by name

    Assign all possible signal fo the bundle with an other bundle by name

    Definition Classes
    Bundle
  34. def assignUnassignedByName(that: MultiData): Unit
    Definition Classes
    MultiData
  35. def bundleAssign(that: Bundle)(f: (Data, Data) => Unit): Unit
    Definition Classes
    Bundle
  36. def clone(): Bundle
    Definition Classes
    BundleData → AnyRef
  37. def component: Component
    Definition Classes
    ContextUser
  38. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef): Unit
    Definition Classes
    Assignable
  39. val compositeAssign: Assignable
    Definition Classes
    Assignable
  40. def copyDirectionOfImpl(that: Data): UInt2D.this.type
    Definition Classes
    MultiDataData
  41. def dirString(): String
    Definition Classes
    Data
  42. def dontSimplifyIt(): UInt2D.this.type
    Definition Classes
    Data
  43. def elements: ArrayBuffer[(String, Data)]
    Definition Classes
    BundleMultiData
  44. def elementsString: String
    Definition Classes
    MultiData
  45. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  47. def existsTag(cond: (SpinalTag) => Boolean): Boolean
    Definition Classes
    SpinalTagReady
  48. def filterTag(cond: (SpinalTag) => Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  49. def find(name: String): Data
    Definition Classes
    MultiData
  50. def findTag(cond: (SpinalTag) => Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  51. def flatten: Seq[BaseType]
    Definition Classes
    MultiDataData
  52. def flattenForeach(body: (BaseType) => Unit): Unit
    Definition Classes
    MultiDataData
  53. def flattenLocalName: Seq[String]
    Definition Classes
    MultiDataData
  54. def flip(): UInt2D.this.type

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  55. def foreachReflectableNameables(doThat: (Any) => Unit): Unit
    Definition Classes
    Nameable
  56. def foreachTag(body: (SpinalTag) => Unit): Unit
    Definition Classes
    SpinalTagReady
  57. def freeze(): UInt2D.this.type
    Definition Classes
    MultiDataData
  58. def genIf(cond: Boolean): UInt2D.this.type

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
  59. def getAheadValue(): UInt2D.this.type
    Definition Classes
    Data
  60. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

    Definition Classes
    MultiDataData
  61. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  62. def getComponent(): Component
    Definition Classes
    DataInComponentNameableByComponent
  63. def getComponents(): Seq[Component]

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  64. def getDirection: IODirection
    Definition Classes
    Data
  65. def getDisplayName(): String
    Definition Classes
    Nameable
  66. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  67. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  68. def getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]
    Definition Classes
    Data
  69. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  70. def getName(): String
    Definition Classes
    NameableByComponentNameable
  71. def getPartialName(): String
    Definition Classes
    Nameable
  72. def getRealSource: Any
    Definition Classes
    Assignable
  73. def getRealSourceNoRec: Any
    Definition Classes
    DataAssignable
  74. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  75. def getRootParent: Data
    Definition Classes
    Data
  76. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Data
  77. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  78. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  79. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  80. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  81. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  82. def getTypeString: String
    Definition Classes
    Bundle
  83. def getZero: UInt2D.this.type

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  84. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  85. var hardtype: HardType[_]
    Definition Classes
    Bundle
  86. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  87. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  88. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  89. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  90. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  91. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  92. def isAnalog: Boolean
    Definition Classes
    Data
  93. def isComb: Boolean
    Definition Classes
    Data
  94. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  95. def isDirectionLess: Boolean
    Definition Classes
    Data
  96. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  97. def isInOut: Boolean
    Definition Classes
    Data
  98. def isInput: Boolean
    Definition Classes
    Data
  99. def isInputOrInOut: Boolean
    Definition Classes
    Data
  100. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  101. def isNamed: Boolean
    Definition Classes
    NameableByComponentNameable
  102. def isOutput: Boolean
    Definition Classes
    Data
  103. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  104. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  105. def isReg: Boolean
    Definition Classes
    Data
  106. def isUnnamed: Boolean
    Definition Classes
    Nameable
  107. val name: String
    Definition Classes
    Nameable
  108. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  109. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  110. def noBackendCombMerge: UInt2D.this.type
    Definition Classes
    Data
  111. def noCombLoopCheck: UInt2D.this.type
    Definition Classes
    Data
  112. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  113. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  114. def onEachAttributes(doIt: (Attribute) => Unit): Unit
    Definition Classes
    SpinalTagReady
  115. def overrideLocalName(name: String): UInt2D.this.type
    Definition Classes
    Nameable
  116. val parent: Data
    Definition Classes
    Data
  117. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  118. def productElementNames: Iterator[String]
    Definition Classes
    Product
  119. def pull(propagateName: Boolean): UInt2D.this.type
    Definition Classes
    Data
  120. def pull(): UInt2D.this.type

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

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

    Definition Classes
    Data
  121. def purify(): UInt2D.this.type
    Definition Classes
    Data
  122. def randBoot(u: Unit): UInt2D.this.type

    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
  123. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  124. def reflectNames(): Unit
    Definition Classes
    Nameable
  125. def removeAssignments(): UInt2D.this.type
    Definition Classes
    Data
  126. def removeTag(spinalTag: SpinalTag): UInt2D.this.type
    Definition Classes
    SpinalTagReady
  127. def removeTags(tags: Iterable[SpinalTag]): UInt2D.this.type
    Definition Classes
    SpinalTagReady
  128. def resized: UInt2D.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  129. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  130. def setAsAnalog(): UInt2D.this.type
    Definition Classes
    Data
  131. def setAsComb(): UInt2D.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  132. def setAsDirectionLess(): UInt2D.this.type

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

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

    Definition Classes
    MultiDataData
  133. def setAsReg(): UInt2D.this.type

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  134. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): UInt2D.this.type
    Definition Classes
    Nameable
  135. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): UInt2D.this.type
    Definition Classes
    Nameable
  136. def setCompositeName(nameable: Nameable, postfix: String): UInt2D.this.type
    Definition Classes
    Nameable
  137. def setCompositeName(nameable: Nameable, namePriority: Byte): UInt2D.this.type
    Definition Classes
    Nameable
  138. def setCompositeName(nameable: Nameable, weak: Boolean): UInt2D.this.type
    Definition Classes
    Nameable
  139. def setCompositeName(nameable: Nameable): UInt2D.this.type
    Definition Classes
    Nameable
  140. def setName(name: String, namePriority: Byte): UInt2D.this.type
    Definition Classes
    Nameable
  141. def setName(name: String, weak: Boolean): UInt2D.this.type
    Definition Classes
    Nameable
  142. def setName(name: String): UInt2D.this.type
    Definition Classes
    Nameable
  143. def setNameAsWeak(): UInt2D.this.type
    Definition Classes
    Nameable
  144. def setPartialName(name: String, namePriority: Byte, owner: Any): UInt2D.this.type
    Definition Classes
    Nameable
  145. def setPartialName(name: String, namePriority: Byte): UInt2D.this.type
    Definition Classes
    Nameable
  146. def setPartialName(name: String, weak: Boolean): UInt2D.this.type
    Definition Classes
    Nameable
  147. def setPartialName(owner: Nameable, name: String, namePriority: Byte): UInt2D.this.type
    Definition Classes
    Nameable
  148. def setPartialName(owner: Nameable, name: String, weak: Boolean): UInt2D.this.type
    Definition Classes
    Nameable
  149. def setPartialName(name: String): UInt2D.this.type
    Definition Classes
    Nameable
  150. def setPartialName(owner: Nameable, name: String): UInt2D.this.type
    Definition Classes
    Nameable
  151. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  152. def setScalaLocated(source: ScalaLocated): UInt2D.this.type
    Definition Classes
    ScalaLocated
  153. def setWeakName(name: String): UInt2D.this.type
    Definition Classes
    Nameable
  154. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  155. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  156. def toIo(): UInt2D.this.type
    Definition Classes
    Data
  157. def toMuxInput[T <: Data](muxOutput: T): T
    Definition Classes
    Data
  158. def toString(): String
    Definition Classes
    BundleNameable → AnyRef → Any
  159. def unfreeze(): UInt2D.this.type
    Definition Classes
    MultiDataData
  160. def unsetName(): UInt2D.this.type
    Definition Classes
    Nameable
  161. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  162. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  163. def valCallbackRec(ref: Any, name: String): Unit
    Definition Classes
    BundleValCallbackRec
  164. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  165. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  166. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  167. def wrapNext(): UInt2D.this.type
    Definition Classes
    Data
  168. val x: UInt
  169. val xBitCount: BitCount
  170. val y: UInt
  171. val yBitCount: BitCount
  172. def zipByName(that: MultiData, rec: ArrayBuffer[(BaseType, BaseType)] = ArrayBuffer()): ArrayBuffer[(BaseType, BaseType)]
    Definition Classes
    MultiData

Deprecated Value Members

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Bundle

Inherited from ValCallbackRec

Inherited from ValCallback

Inherited from MultiData

Inherited from Data

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