Packages

abstract class XFix[T <: XFix[T, R], R <: BitVector with Num[R]] extends MultiData with MinMaxDecimalProvider

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

Instance Constructors

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

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Abstract Value Members

  1. abstract def fixFactory(maxExp: ExpNumber, resolution: ExpNumber): T
  2. abstract def fixFactory(maxExp: ExpNumber, bitCount: BitCount): T
  3. abstract def fixFactory(exp: Int, bitCount: Int): T
  4. abstract def maxValue: BigDecimal
    Definition Classes
    MinMaxDecimalProvider
  5. abstract def minExp: Int
  6. abstract def minValue: BigDecimal
    Definition Classes
    MinMaxDecimalProvider
  7. abstract def rawFactory(exp: Int, bitCount: Int): R
  8. abstract def resolution: BigDecimal

Concrete 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. def IFparent: Data
    Definition Classes
    Data
  7. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  8. def addAttribute(attribute: Attribute): XFix.this.type
    Definition Classes
    DataSpinalTagReady
  9. def addAttribute(name: String, value: Int): XFix.this.type
    Definition Classes
    SpinalTagReady
  10. def addAttribute(name: String, value: String): XFix.this.type
    Definition Classes
    SpinalTagReady
  11. def addAttribute(name: String): XFix.this.type
    Definition Classes
    SpinalTagReady
  12. def addTag[T <: SpinalTag](spinalTag: T): XFix.this.type
    Definition Classes
    MultiDataSpinalTagReady
  13. def addTags(h: SpinalTag, tail: SpinalTag*): XFix.this.type
    Definition Classes
    SpinalTagReady
  14. def addTags[T <: SpinalTag](tags: Iterable[T]): XFix.this.type
    Definition Classes
    SpinalTagReady
  15. def alignLsb(that: T): (R, R)
  16. def allowDirectionLessIo(): XFix.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
  17. def allowOverride(): XFix.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
  18. def allowPartialyAssigned(): XFix.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  19. def allowPruning(): XFix.this.type
    Definition Classes
    Data
  20. def allowSimplifyIt(): XFix.this.type
    Definition Classes
    Data
  21. def allowUnsetRegToAvoidLatch(): XFix.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
  22. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  23. def asBits: Bits

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  24. def asData: Data
    Definition Classes
    Data
  25. def asInOut(): XFix.this.type

    set a data as inout

    set a data as inout

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

    Set a data as input

    Set a data as input

    Definition Classes
    MultiDataData
  27. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  28. def asOutput(): XFix.this.type

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  29. def assignDontCare(): XFix.this.type
    Definition Classes
    Data
  30. def assignDontCareToUnasigned(): XFix.this.type
    Definition Classes
    Data
  31. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    MultiDataData
  32. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit
    Definition Classes
    Data
  33. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
    Definition Classes
    MultiDataData
  34. def assignFromBits(bits: Bits): Unit
    Definition Classes
    MultiDataData
  35. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  36. def assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Attributes
    protected
    Definition Classes
    XFixAssignable
  37. def assignUnassignedByName(that: MultiData): Unit
    Definition Classes
    MultiData
  38. def autoConnect(that: Data)(implicit loc: Location): Unit
    Definition Classes
    XFixMultiDataData
  39. val bitCount: Int
  40. def clearAll(): XFix.this.type
    Definition Classes
    Data
  41. def clone(): Data
    Definition Classes
    Data → AnyRef
  42. def component: Component
    Definition Classes
    ContextUser
  43. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  44. val compositeAssign: Assignable
    Definition Classes
    Assignable
  45. def copyDirectionOfImpl(that: Data): XFix.this.type
    Definition Classes
    MultiDataData
  46. def difLsb(that: T): Int
  47. def dirString(): String
    Definition Classes
    Data
  48. def doAddSub(that: T, sub: Boolean): T
  49. def doShiftLeft(that: Int): T
  50. def doShiftLeftBorned(that: Int): T
  51. def doShiftRight(that: Int): T
  52. def doShiftRightBorned(that: Int): T
  53. def doSmaller(that: T): Bool
  54. def doSmallerEguals(that: T): Bool
  55. def dontSimplifyIt(): XFix.this.type
    Definition Classes
    Data
  56. def elements: ArrayBuffer[(String, Data)]
    Definition Classes
    XFixMultiData
  57. def elementsString: String
    Definition Classes
    MultiData
  58. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  60. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  61. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  62. def find(name: String): Data
    Definition Classes
    MultiData
  63. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  64. def flatten: Seq[BaseType]
    Definition Classes
    MultiDataData
  65. def flattenForeach(body: (BaseType) ⇒ Unit): Unit
    Definition Classes
    MultiDataData
  66. def flattenLocalName: Seq[String]
    Definition Classes
    MultiDataData
  67. def flip(): XFix.this.type

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  68. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  69. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  70. def freeze(): XFix.this.type
    Definition Classes
    MultiDataData
  71. def getAheadValue(): XFix.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
  72. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

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

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  76. def getDirection: IODirection
    Definition Classes
    Data
  77. def getDisplayName(): String
    Definition Classes
    Nameable
  78. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  79. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  80. def getMuxType[M <: Data](list: TraversableOnce[M]): HardType[M]
    Definition Classes
    XFixData
  81. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  82. def getName(): String
    Definition Classes
    NameableByComponentNameable
  83. def getPartialName(): String
    Definition Classes
    Nameable
  84. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  85. def getRealSource: Any
    Definition Classes
    Assignable
  86. def getRealSourceNoRec: Any
    Definition Classes
    DataAssignable
  87. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  88. def getRootParent: Data
    Definition Classes
    Data
  89. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Data
  90. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  91. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  92. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  93. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  94. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  95. def getZero: XFix.this.type

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  96. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  97. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  98. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  99. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  100. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  101. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  102. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  103. def isAnalog: Boolean
    Definition Classes
    Data
  104. def isComb: Boolean
    Definition Classes
    Data
  105. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  106. def isDirectionLess: Boolean
    Definition Classes
    Data
  107. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  108. def isInOut: Boolean
    Definition Classes
    Data
  109. def isInput: Boolean
    Definition Classes
    Data
  110. def isInputOrInOut: Boolean
    Definition Classes
    Data
  111. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  112. final def isNamed: Boolean
    Definition Classes
    Nameable
  113. def isOutput: Boolean
    Definition Classes
    Data
  114. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  115. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  116. def isReg: Boolean
    Definition Classes
    Data
  117. def isRegOnAssign: Boolean
    Definition Classes
    Data
  118. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  119. val maxExp: Int
  120. val name: String
    Definition Classes
    Nameable
  121. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  122. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  123. def noBackendCombMerge(): XFix.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
  124. def noCombLoopCheck(): XFix.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
  125. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  126. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  127. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  128. def overrideLocalName(name: String): XFix.this.type
    Definition Classes
    Nameable
  129. val parent: Data
    Definition Classes
    Data
  130. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  131. def pull(propagateName: Boolean): XFix.this.type
    Definition Classes
    Data
  132. def pull(): XFix.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
  133. def purify(): XFix.this.type
    Definition Classes
    Data
  134. def randBoot(u: Unit): XFix.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
  135. val raw: R
  136. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  137. def reflectNames(): Unit
    Definition Classes
    Nameable
  138. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): XFix.this.type
    Definition Classes
    Data
  139. def removeDataAssignments(): XFix.this.type
    Definition Classes
    Data
  140. def removeInitAssignments(): XFix.this.type
    Definition Classes
    Data
  141. def removeTag(spinalTag: SpinalTag): XFix.this.type
    Definition Classes
    SpinalTagReady
  142. def removeTags(tags: Iterable[SpinalTag]): XFix.this.type
    Definition Classes
    SpinalTagReady
  143. def resized: XFix.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  144. def rootIF(): Interface

    root interface

    root interface

    Definition Classes
    Data
  145. def rootIFList(): List[Interface]
    Definition Classes
    Data
  146. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
    Definition Classes
    Data
  147. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  148. def setAll(): XFix.this.type
    Definition Classes
    Data
  149. def setAsAnalog(): XFix.this.type
    Definition Classes
    Data
  150. def setAsComb(): XFix.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  151. def setAsDirectionLess(): XFix.this.type

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

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

    Definition Classes
    MultiDataData
  152. def setAsReg(): XFix.this.type

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  153. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): XFix.this.type
    Definition Classes
    Nameable
  154. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): XFix.this.type
    Definition Classes
    Nameable
  155. def setCompositeName(nameable: Nameable, postfix: String): XFix.this.type
    Definition Classes
    Nameable
  156. def setCompositeName(nameable: Nameable, namePriority: Byte): XFix.this.type
    Definition Classes
    Nameable
  157. def setCompositeName(nameable: Nameable, weak: Boolean): XFix.this.type
    Definition Classes
    Nameable
  158. def setCompositeName(nameable: Nameable): XFix.this.type
    Definition Classes
    Nameable
  159. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): XFix.this.type
    Definition Classes
    Nameable
  160. def setName(name: String, namePriority: Byte): XFix.this.type
    Definition Classes
    Nameable
  161. def setName(name: String, weak: Boolean): XFix.this.type
    Definition Classes
    Nameable
  162. def setName(name: String): XFix.this.type
    Definition Classes
    Nameable
  163. def setNameAsWeak(): XFix.this.type
    Definition Classes
    Nameable
  164. def setOutputAsReg(): XFix.this.type

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

    Definition Classes
    Data
  165. def setPartialName(name: String, namePriority: Byte, owner: Any): XFix.this.type
    Definition Classes
    Nameable
  166. def setPartialName(name: String, namePriority: Byte): XFix.this.type
    Definition Classes
    Nameable
  167. def setPartialName(name: String, weak: Boolean): XFix.this.type
    Definition Classes
    Nameable
  168. def setPartialName(owner: Nameable, name: String, namePriority: Byte): XFix.this.type
    Definition Classes
    Nameable
  169. def setPartialName(owner: Nameable, name: String, weak: Boolean): XFix.this.type
    Definition Classes
    Nameable
  170. def setPartialName(name: String): XFix.this.type
    Definition Classes
    Nameable
  171. def setPartialName(owner: Nameable, name: String): XFix.this.type
    Definition Classes
    Nameable
  172. def setPartialName(owner: Nameable): XFix.this.type
    Definition Classes
    Nameable
  173. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  174. def setScalaLocated(source: ScalaLocated): XFix.this.type
    Definition Classes
    ScalaLocated
  175. def setWeakName(name: String): XFix.this.type
    Definition Classes
    Nameable
  176. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  177. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  178. def toIo(): XFix.this.type
    Definition Classes
    Data
  179. def toMuxInput[M <: Data](muxOutput: M): M
    Definition Classes
    XFixData
  180. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  181. def truncated(maxExp: ExpNumber, resolution: ExpNumber): T
  182. def truncated(maxExp: ExpNumber, bitCount: BitCount): T
  183. def truncated: XFix.this.type
  184. def unfreeze(): XFix.this.type
    Definition Classes
    MultiDataData
  185. def unsetName(): XFix.this.type
    Definition Classes
    Nameable
  186. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  187. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  188. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  189. def wrapNext(): XFix.this.type
    Definition Classes
    Data
  190. def zipByName(that: MultiData, rec: ArrayBuffer[(BaseType, BaseType)] = ArrayBuffer()): ArrayBuffer[(BaseType, BaseType)]
    Definition Classes
    MultiData

Deprecated Value Members

  1. def asDirectionLess(): XFix.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): XFix.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 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