Packages

class UFix extends XFix[UFix, UInt]

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

Instance Constructors

  1. new UFix(maxExp: Int, bitCount: Int)

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. def *(that: UFix): UFix
  6. def +(that: UFix): UFix
  7. def -(that: UFix): UFix
  8. def :=(that: BigInt): Unit
  9. def :=(that: BigDecimal): Unit
  10. def :=(that: Float): Unit
  11. def :=(that: Long): Unit
  12. def :=(that: Int): Unit
  13. def <(that: UFix): Bool
  14. def <<(that: Int): UFix
  15. def <<|(that: Int): UFix
  16. def <=(that: UFix): Bool
  17. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def >(that: UFix): Bool
  19. def >=(that: BigDecimal): Bool
  20. def >=(that: UFix): Bool
  21. def >>(that: Int): UFix
  22. def >>|(that: Int): UFix
  23. def IFparent: Data
    Definition Classes
    Data
  24. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  25. def addAttribute(attribute: Attribute): UFix.this.type
    Definition Classes
    DataSpinalTagReady
  26. def addAttribute(name: String, value: Int): UFix.this.type
    Definition Classes
    SpinalTagReady
  27. def addAttribute(name: String, value: String): UFix.this.type
    Definition Classes
    SpinalTagReady
  28. def addAttribute(name: String): UFix.this.type
    Definition Classes
    SpinalTagReady
  29. def addTag[T <: SpinalTag](spinalTag: T): UFix.this.type
    Definition Classes
    MultiDataSpinalTagReady
  30. def addTags(h: SpinalTag, tail: SpinalTag*): UFix.this.type
    Definition Classes
    SpinalTagReady
  31. def addTags[T <: SpinalTag](tags: Iterable[T]): UFix.this.type
    Definition Classes
    SpinalTagReady
  32. def alignLsb(that: UFix): (UInt, UInt)
    Definition Classes
    XFix
  33. def allowDirectionLessIo(): UFix.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

    Definition Classes
    Data
  34. def allowOverride(): UFix.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

    Definition Classes
    Data
  35. def allowPartialyAssigned(): UFix.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  36. def allowPruning(): UFix.this.type
    Definition Classes
    Data
  37. def allowSimplifyIt(): UFix.this.type
    Definition Classes
    Data
  38. def allowUnsetRegToAvoidLatch(): UFix.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

    Definition Classes
    Data
  39. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  40. def asBits: Bits

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  41. def asData: Data
    Definition Classes
    Data
  42. def asInOut(): UFix.this.type

    set a data as inout

    set a data as inout

    Definition Classes
    MultiDataData
  43. def asInput(): UFix.this.type

    Set a data as input

    Set a data as input

    Definition Classes
    MultiDataData
  44. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  45. def asOutput(): UFix.this.type

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  46. def assignDontCare(): UFix.this.type
    Definition Classes
    Data
  47. def assignDontCareToUnasigned(): UFix.this.type
    Definition Classes
    Data
  48. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    MultiDataData
  49. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit
    Definition Classes
    Data
  50. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
    Definition Classes
    MultiDataData
  51. def assignFromBits(bits: Bits): Unit
    Definition Classes
    MultiDataData
  52. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  53. def assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Attributes
    protected
    Definition Classes
    XFixAssignable
  54. def assignUnassignedByName(that: MultiData): Unit
    Definition Classes
    MultiData
  55. def autoConnect(that: Data)(implicit loc: Location): Unit
    Definition Classes
    XFixMultiDataData
  56. val bitCount: Int
    Definition Classes
    XFix
  57. def clearAll(): UFix.this.type
    Definition Classes
    Data
  58. def clone(): UFix.this.type
    Definition Classes
    UFixData → AnyRef
  59. def component: Component
    Definition Classes
    ContextUser
  60. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  61. val compositeAssign: Assignable
    Definition Classes
    Assignable
  62. def copyDirectionOfImpl(that: Data): UFix.this.type
    Definition Classes
    MultiDataData
  63. def difLsb(that: UFix): Int
    Definition Classes
    XFix
  64. def dirString(): String
    Definition Classes
    Data
  65. def doAddSub(that: UFix, sub: Boolean): UFix
    Definition Classes
    XFix
  66. def doShiftLeft(that: Int): UFix
    Definition Classes
    XFix
  67. def doShiftLeftBorned(that: Int): UFix
    Definition Classes
    XFix
  68. def doShiftRight(that: Int): UFix
    Definition Classes
    XFix
  69. def doShiftRightBorned(that: Int): UFix
    Definition Classes
    XFix
  70. def doSmaller(that: UFix): Bool
    Definition Classes
    XFix
  71. def doSmallerEguals(that: UFix): Bool
    Definition Classes
    XFix
  72. def dontSimplifyIt(): UFix.this.type
    Definition Classes
    Data
  73. def elements: ArrayBuffer[(String, Data)]
    Definition Classes
    XFixMultiData
  74. def elementsString: String
    Definition Classes
    MultiData
  75. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  76. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  77. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  78. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  79. def find(name: String): Data
    Definition Classes
    MultiData
  80. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  81. def fixFactory(maxExp: ExpNumber, resolution: ExpNumber): UFix
    Definition Classes
    UFixXFix
  82. def fixFactory(maxExp: ExpNumber, bitCount: BitCount): UFix
    Definition Classes
    UFixXFix
  83. def fixFactory(maxExp: Int, bitCount: Int): UFix
    Definition Classes
    UFixXFix
  84. def flatten: Seq[BaseType]
    Definition Classes
    MultiDataData
  85. def flattenForeach(body: (BaseType) ⇒ Unit): Unit
    Definition Classes
    MultiDataData
  86. def flattenLocalName: Seq[String]
    Definition Classes
    MultiDataData
  87. def flip(): UFix.this.type

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  88. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  89. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  90. def fractionalPart: UFix
  91. def freeze(): UFix.this.type
    Definition Classes
    MultiDataData
  92. def getAheadValue(): UFix.this.type

    For a register, get the value it will have at the next clock, as a combinational signal.

    For a register, get the value it will have at the next clock, as a combinational signal.

    Definition Classes
    Data
  93. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

    Definition Classes
    MultiDataData
  94. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  95. def getComponent(): Component
    Definition Classes
    DataInComponentNameableByComponent
  96. def getComponents(): Seq[Component]

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  97. def getDirection: IODirection
    Definition Classes
    Data
  98. def getDisplayName(): String
    Definition Classes
    Nameable
  99. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  100. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  101. def getMuxType[M <: Data](list: TraversableOnce[M]): HardType[M]
    Definition Classes
    XFixData
  102. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  103. def getName(): String
    Definition Classes
    NameableByComponentNameable
  104. def getPartialName(): String
    Definition Classes
    Nameable
  105. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  106. def getRealSource: Any
    Definition Classes
    Assignable
  107. def getRealSourceNoRec: Any
    Definition Classes
    DataAssignable
  108. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  109. def getRootParent: Data
    Definition Classes
    Data
  110. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Data
  111. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  112. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  113. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  114. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  115. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  116. def getZero: UFix.this.type

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  117. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  118. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  119. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  120. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  121. def init(that: BigDecimal): UFix.this.type
  122. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  123. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  124. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  125. def isAnalog: Boolean
    Definition Classes
    Data
  126. def isComb: Boolean
    Definition Classes
    Data
  127. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  128. def isDirectionLess: Boolean
    Definition Classes
    Data
  129. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  130. def isInOut: Boolean
    Definition Classes
    Data
  131. def isInput: Boolean
    Definition Classes
    Data
  132. def isInputOrInOut: Boolean
    Definition Classes
    Data
  133. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  134. final def isNamed: Boolean
    Definition Classes
    Nameable
  135. def isOutput: Boolean
    Definition Classes
    Data
  136. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  137. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  138. def isReg: Boolean
    Definition Classes
    Data
  139. def isRegOnAssign: Boolean
    Definition Classes
    Data
  140. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  141. val maxExp: Int
    Definition Classes
    XFix
  142. def maxValue: BigDecimal
    Definition Classes
    UFixMinMaxDecimalProvider
  143. def minExp: Int
    Definition Classes
    UFixXFix
  144. def minValue: BigDecimal
    Definition Classes
    UFixMinMaxDecimalProvider
  145. val name: String
    Definition Classes
    Nameable
  146. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  147. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  148. def noBackendCombMerge(): UFix.this.type

    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
  149. def noCombLoopCheck(): UFix.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

    Definition Classes
    Data
  150. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  151. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  152. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  153. def overrideLocalName(name: String): UFix.this.type
    Definition Classes
    Nameable
  154. val parent: Data
    Definition Classes
    Data
  155. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  156. def pull(propagateName: Boolean): UFix.this.type
    Definition Classes
    Data
  157. def pull(): UFix.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
  158. def purify(): UFix.this.type
    Definition Classes
    Data
  159. def randBoot(u: Unit): UFix.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
  160. val raw: UInt
    Definition Classes
    XFix
  161. def rawFactory(maxExp: Int, bitCount: Int): UInt
    Definition Classes
    UFixXFix
  162. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  163. def reflectNames(): Unit
    Definition Classes
    Nameable
  164. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): UFix.this.type
    Definition Classes
    Data
  165. def removeDataAssignments(): UFix.this.type
    Definition Classes
    Data
  166. def removeInitAssignments(): UFix.this.type
    Definition Classes
    Data
  167. def removeTag(spinalTag: SpinalTag): UFix.this.type
    Definition Classes
    SpinalTagReady
  168. def removeTags(tags: Iterable[SpinalTag]): UFix.this.type
    Definition Classes
    SpinalTagReady
  169. def resized: UFix.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  170. def resolution: BigDecimal
    Definition Classes
    UFixXFix
  171. def rootIF(): Interface

    root interface

    root interface

    Definition Classes
    Data
  172. def rootIFList(): List[Interface]
    Definition Classes
    Data
  173. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
    Definition Classes
    Data
  174. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  175. def setAll(): UFix.this.type
    Definition Classes
    Data
  176. def setAsAnalog(): UFix.this.type
    Definition Classes
    Data
  177. def setAsComb(): UFix.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  178. def setAsDirectionLess(): UFix.this.type

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

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

    Definition Classes
    MultiDataData
  179. def setAsReg(): UFix.this.type

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  180. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): UFix.this.type
    Definition Classes
    Nameable
  181. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): UFix.this.type
    Definition Classes
    Nameable
  182. def setCompositeName(nameable: Nameable, postfix: String): UFix.this.type
    Definition Classes
    Nameable
  183. def setCompositeName(nameable: Nameable, namePriority: Byte): UFix.this.type
    Definition Classes
    Nameable
  184. def setCompositeName(nameable: Nameable, weak: Boolean): UFix.this.type
    Definition Classes
    Nameable
  185. def setCompositeName(nameable: Nameable): UFix.this.type
    Definition Classes
    Nameable
  186. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): UFix.this.type
    Definition Classes
    Nameable
  187. def setName(name: String, namePriority: Byte): UFix.this.type
    Definition Classes
    Nameable
  188. def setName(name: String, weak: Boolean): UFix.this.type
    Definition Classes
    Nameable
  189. def setName(name: String): UFix.this.type
    Definition Classes
    Nameable
  190. def setNameAsWeak(): UFix.this.type
    Definition Classes
    Nameable
  191. def setOutputAsReg(): UFix.this.type

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

    Definition Classes
    Data
  192. def setPartialName(name: String, namePriority: Byte, owner: Any): UFix.this.type
    Definition Classes
    Nameable
  193. def setPartialName(name: String, namePriority: Byte): UFix.this.type
    Definition Classes
    Nameable
  194. def setPartialName(name: String, weak: Boolean): UFix.this.type
    Definition Classes
    Nameable
  195. def setPartialName(owner: Nameable, name: String, namePriority: Byte): UFix.this.type
    Definition Classes
    Nameable
  196. def setPartialName(owner: Nameable, name: String, weak: Boolean): UFix.this.type
    Definition Classes
    Nameable
  197. def setPartialName(name: String): UFix.this.type
    Definition Classes
    Nameable
  198. def setPartialName(owner: Nameable, name: String): UFix.this.type
    Definition Classes
    Nameable
  199. def setPartialName(owner: Nameable): UFix.this.type
    Definition Classes
    Nameable
  200. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  201. def setScalaLocated(source: ScalaLocated): UFix.this.type
    Definition Classes
    ScalaLocated
  202. def setWeakName(name: String): UFix.this.type
    Definition Classes
    Nameable
  203. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  204. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  205. def toIo(): UFix.this.type
    Definition Classes
    Data
  206. def toMuxInput[M <: Data](muxOutput: M): M
    Definition Classes
    XFixData
  207. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  208. def toUInt: UInt
  209. def truncated(maxExp: ExpNumber, resolution: ExpNumber): UFix
    Definition Classes
    XFix
  210. def truncated(maxExp: ExpNumber, bitCount: BitCount): UFix
    Definition Classes
    XFix
  211. def truncated: UFix.this.type
    Definition Classes
    XFix
  212. def unfreeze(): UFix.this.type
    Definition Classes
    MultiDataData
  213. def unsetName(): UFix.this.type
    Definition Classes
    Nameable
  214. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  215. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  216. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  217. def wrapNext(): UFix.this.type
    Definition Classes
    Data
  218. def zipByName(that: MultiData, rec: ArrayBuffer[(BaseType, BaseType)] = ArrayBuffer()): ArrayBuffer[(BaseType, BaseType)]
    Definition Classes
    MultiData

Deprecated Value Members

  1. def asDirectionLess(): UFix.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
  3. def genIf(cond: Boolean): UFix.this.type

    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 XFix[UFix, UInt]

Inherited from MinMaxDecimalProvider

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