Packages

class SFix extends XFix[SFix, SInt]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SFix
  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 SFix(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: SFix): SFix
  6. def +(that: SFix): SFix
  7. def -(that: SFix): SFix
  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: BigDecimal): Bool
  14. def <(that: SFix): Bool
  15. def <<(that: Int): SFix
  16. def <<|(that: Int): SFix
  17. def <=(that: BigDecimal): Bool
  18. def <=(that: SFix): Bool
  19. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def >(that: BigDecimal): Bool
  21. def >(that: SFix): Bool
  22. def >=(that: BigDecimal): Bool
  23. def >=(that: SFix): Bool
  24. def >>(that: Int): SFix
  25. def >>|(that: Int): SFix
  26. def IFparent: Data
    Definition Classes
    Data
  27. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  28. def addAttribute(attribute: Attribute): SFix.this.type
    Definition Classes
    DataSpinalTagReady
  29. def addAttribute(name: String, value: Int): SFix.this.type
    Definition Classes
    SpinalTagReady
  30. def addAttribute(name: String, value: String): SFix.this.type
    Definition Classes
    SpinalTagReady
  31. def addAttribute(name: String): SFix.this.type
    Definition Classes
    SpinalTagReady
  32. def addTag[T <: SpinalTag](spinalTag: T): SFix.this.type
    Definition Classes
    MultiDataSpinalTagReady
  33. def addTags(h: SpinalTag, tail: SpinalTag*): SFix.this.type
    Definition Classes
    SpinalTagReady
  34. def addTags[T <: SpinalTag](tags: Iterable[T]): SFix.this.type
    Definition Classes
    SpinalTagReady
  35. def alignLsb(that: SFix): (SInt, SInt)
    Definition Classes
    XFix
  36. def allowDirectionLessIo(): SFix.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
  37. def allowOverride(): SFix.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
  38. def allowPartialyAssigned(): SFix.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  39. def allowPruning(): SFix.this.type
    Definition Classes
    Data
  40. def allowSimplifyIt(): SFix.this.type
    Definition Classes
    Data
  41. def allowUnsetRegToAvoidLatch(): SFix.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
  42. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  43. def asBits: Bits

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  44. def asData: Data
    Definition Classes
    Data
  45. def asInOut(): SFix.this.type

    set a data as inout

    set a data as inout

    Definition Classes
    MultiDataData
  46. def asInput(): SFix.this.type

    Set a data as input

    Set a data as input

    Definition Classes
    MultiDataData
  47. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  48. def asOutput(): SFix.this.type

    Set a data as output

    Set a data as output

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

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  91. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  92. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  93. def freeze(): SFix.this.type
    Definition Classes
    MultiDataData
  94. def getAheadValue(): SFix.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
  95. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

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

    Get current component with all parents

    Get current component with all parents

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

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  119. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  120. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  121. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  122. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  123. def init(that: BigDecimal): SFix.this.type
  124. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  125. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  126. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  127. def isAnalog: Boolean
    Definition Classes
    Data
  128. def isComb: Boolean
    Definition Classes
    Data
  129. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  130. def isDirectionLess: Boolean
    Definition Classes
    Data
  131. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  132. def isInOut: Boolean
    Definition Classes
    Data
  133. def isInput: Boolean
    Definition Classes
    Data
  134. def isInputOrInOut: Boolean
    Definition Classes
    Data
  135. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  136. final def isNamed: Boolean
    Definition Classes
    Nameable
  137. def isOutput: Boolean
    Definition Classes
    Data
  138. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  139. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  140. def isReg: Boolean
    Definition Classes
    Data
  141. def isRegOnAssign: Boolean
    Definition Classes
    Data
  142. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  143. val maxExp: Int
    Definition Classes
    XFix
  144. def maxValue: BigDecimal
    Definition Classes
    SFixMinMaxDecimalProvider
  145. def minExp: Int
    Definition Classes
    SFixXFix
  146. def minValue: BigDecimal
    Definition Classes
    SFixMinMaxDecimalProvider
  147. val name: String
    Definition Classes
    Nameable
  148. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  149. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  150. def noBackendCombMerge(): SFix.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
  151. def noCombLoopCheck(): SFix.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
  152. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  153. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  154. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  155. def overrideLocalName(name: String): SFix.this.type
    Definition Classes
    Nameable
  156. val parent: Data
    Definition Classes
    Data
  157. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  158. def pull(propagateName: Boolean): SFix.this.type
    Definition Classes
    Data
  159. def pull(): SFix.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
  160. def purify(): SFix.this.type
    Definition Classes
    Data
  161. def randBoot(u: Unit): SFix.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
  162. val raw: SInt
    Definition Classes
    XFix
  163. def rawFactory(maxExp: Int, bitCount: Int): SInt
    Definition Classes
    SFixXFix
  164. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  165. def reflectNames(): Unit
    Definition Classes
    Nameable
  166. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): SFix.this.type
    Definition Classes
    Data
  167. def removeDataAssignments(): SFix.this.type
    Definition Classes
    Data
  168. def removeInitAssignments(): SFix.this.type
    Definition Classes
    Data
  169. def removeTag(spinalTag: SpinalTag): SFix.this.type
    Definition Classes
    SpinalTagReady
  170. def removeTags(tags: Iterable[SpinalTag]): SFix.this.type
    Definition Classes
    SpinalTagReady
  171. def resized: SFix.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  172. def resolution: BigDecimal
    Definition Classes
    SFixXFix
  173. def rootIF(): Interface

    root interface

    root interface

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

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  180. def setAsDirectionLess(): SFix.this.type

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

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

    Definition Classes
    MultiDataData
  181. def setAsReg(): SFix.this.type

    Set baseType to reg

    Set baseType to reg

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

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

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

Deprecated Value Members

  1. def asDirectionLess(): SFix.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): SFix.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[SFix, SInt]

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