Class/Object

fringe.templates.math

FixedPoint

Related Docs: object FixedPoint | package math

Permalink

class FixedPoint extends Bundle

Fixed point numbers *

Linear Supertypes
Bundle, Record, Aggregate, Data, HasId, InstanceId, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FixedPoint
  2. Bundle
  3. Record
  4. Aggregate
  5. Data
  6. HasId
  7. InstanceId
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FixedPoint(fmt: FixFormat)

    Permalink
  2. new FixedPoint(s: Boolean, d: Int, f: Int, litVal: Option[BigInt] = None)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def %(that: SInt): FixedPoint

    Permalink
  4. def %(that: UInt): FixedPoint

    Permalink
  5. def %(that: FixedPoint): FixedPoint

    Permalink

    Fixed point modulus with standard truncation and overflow.

  6. def &(that: SInt): FixedPoint

    Permalink
  7. def &(that: UInt): FixedPoint

    Permalink
  8. def &(that: FixedPoint): FixedPoint

    Permalink
  9. def *(that: SInt): FixedPoint

    Permalink
  10. def *(that: UInt): FixedPoint

    Permalink
  11. def *(that: FixedPoint): FixedPoint

    Permalink

    Fixed point multiplication with standard truncation and overflow.

  12. def +(that: SInt): FixedPoint

    Permalink
  13. def +(that: UInt): FixedPoint

    Permalink
  14. def +(that: FixedPoint): FixedPoint

    Permalink

    Fixed point addition with standard truncation and overflow.

  15. def -(that: SInt): FixedPoint

    Permalink
  16. def -(that: UInt): FixedPoint

    Permalink
  17. def -(that: FixedPoint): FixedPoint

    Permalink

    Fixed point subtraction with standard truncation and overflow.

  18. def /(that: SInt): FixedPoint

    Permalink
  19. def /(that: UInt): FixedPoint

    Permalink
  20. def /(that: FixedPoint): FixedPoint

    Permalink

    Fixed point division with standard truncation and overflow.

  21. final def :=(that: Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit

    Permalink
    Definition Classes
    Data
  22. def <(that: SInt): Bool

    Permalink
  23. def <(that: UInt): Bool

    Permalink
  24. def <(that: FixedPoint): Bool

    Permalink
  25. def <+>(that: FixedPoint): FixedPoint

    Permalink

    Fixed point addition with standard truncation and saturation on overflow.

  26. def <->(that: FixedPoint): FixedPoint

    Permalink

    Fixed point subtraction with standard truncation and saturation on overflow.

  27. def <<(shift: Int): FixedPoint

    Permalink
  28. def <=(that: SInt): Bool

    Permalink
  29. def <=(that: UInt): Bool

    Permalink
  30. def <=(that: FixedPoint): Bool

    Permalink
  31. final def <>(that: Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit

    Permalink
    Definition Classes
    Data
  32. def =/=(that: SInt): Bool

    Permalink
  33. def =/=(that: UInt): Bool

    Permalink
  34. def =/=(that: FixedPoint): Bool

    Permalink
  35. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  36. def ===(that: SInt): Bool

    Permalink
  37. def ===(that: UInt): Bool

    Permalink
  38. def ===(that: FixedPoint): Bool

    Permalink
  39. def >(that: SInt): Bool

    Permalink
  40. def >(that: UInt): Bool

    Permalink
  41. def >(that: FixedPoint): Bool

    Permalink
  42. def >=(that: SInt): Bool

    Permalink
  43. def >=(that: UInt): Bool

    Permalink
  44. def >=(that: FixedPoint): Bool

    Permalink
  45. def >>(shift: Int): FixedPoint

    Permalink
  46. def >>>(shift: Int): FixedPoint

    Permalink
  47. def ^(that: SInt): FixedPoint

    Permalink
  48. def ^(that: UInt): FixedPoint

    Permalink
  49. def ^(that: FixedPoint): FixedPoint

    Permalink
  50. def apply(bit: Int): Bool

    Permalink
  51. def apply(msb: Int, lsb: Int): UInt

    Permalink
  52. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  53. macro def asTypeOf[T <: Data](that: T): T

    Permalink
    Definition Classes
    Data
  54. final macro def asUInt(): UInt

    Permalink
    Definition Classes
    Data
  55. def binding_=(target: Binding): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Data
  56. def cast(dest: FixedPoint): Unit

    Permalink
  57. def ceil: FixedPoint

    Permalink

    Fixed point ceiling (round towards positive infinity).

  58. def className: String

    Permalink
    Definition Classes
    Bundle → Record
  59. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. def cloneType: FixedPoint.this.type

    Permalink
    Definition Classes
    FixedPoint → Bundle → Data
  61. def connect(rawop: Data)(implicit ctx: SourceInfo, opts: CompileOptions): Unit

    Permalink
    Definition Classes
    FixedPoint → Data
  62. val d: Int

    Permalink
  63. val debug_overflow: Bool

    Permalink
  64. def div(that: FixedPoint, delay: Option[Double], flow: Bool, rounding: RoundingMode = Truncate, saturating: OverflowMode = Wrapping): FixedPoint

    Permalink
  65. def do_asTypeOf[T <: Data](that: T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T

    Permalink
    Definition Classes
    Data
  66. def do_asUInt(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Aggregate → Data
  67. final lazy val elements: ListMap[String, Data]

    Permalink
    Definition Classes
    Bundle → Record
  68. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  69. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    HasId → AnyRef → Any
  70. val f: Int

    Permalink
  71. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  72. def floor: FixedPoint

    Permalink

    Fixed point floor (round towards negative infinity).

  73. lazy val fmt: FixFormat

    Permalink
  74. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  75. def getElements: Seq[Data]

    Permalink
    Definition Classes
    Record → Aggregate
  76. final def getWidth: Int

    Permalink
    Definition Classes
    Data
  77. def hashCode(): Int

    Permalink
    Definition Classes
    HasId → AnyRef → Any
  78. def instanceName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  79. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  80. def isLit(): Boolean

    Permalink
    Definition Classes
    Data
  81. def isNeg: Bool

    Permalink
  82. final def isWidthKnown: Boolean

    Permalink
    Definition Classes
    Data
  83. def litArg(): Option[LitArg]

    Permalink
    Definition Classes
    Data
  84. val litVal: Option[BigInt]

    Permalink
  85. def litValue(): BigInt

    Permalink
    Definition Classes
    Data
  86. def mod(that: FixedPoint, delay: Option[Double], flow: Bool): FixedPoint

    Permalink
  87. def msb: Bool

    Permalink
  88. def mul(that: FixedPoint, delay: Option[Double], flow: Bool, rounding: RoundingMode = Truncate, saturating: OverflowMode = Wrapping): FixedPoint

    Permalink
  89. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  90. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  91. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  92. val number: UInt

    Permalink
  93. def parentModName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  94. def parentPathName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  95. def pathName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  96. def r: UInt

    Permalink
  97. def raw: UInt

    Permalink
  98. def raw_dec: UInt

    Permalink
  99. def raw_frac: UInt

    Permalink
  100. def rd: UInt

    Permalink
  101. def reverse: UInt

    Permalink
  102. def rf: UInt

    Permalink
  103. val s: Boolean

    Permalink
  104. def sint: SInt

    Permalink
  105. def suggestName(name: ⇒ String): FixedPoint.this.type

    Permalink
    Definition Classes
    HasId
  106. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  107. def toFixed(num: FixedPoint): FixedPoint

    Permalink
  108. def toFixed(fmt: FixFormat): FixedPoint

    Permalink
  109. def toFloat(fmt: FltFormat): FloatingPoint

    Permalink
  110. def toPrintable: Printable

    Permalink
    Definition Classes
    Bundle → Record → Data
  111. def toSeq: Seq[FixedPoint]

    Permalink
  112. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  113. def uint: UInt

    Permalink
  114. def unary_-(): FixedPoint

    Permalink
  115. def unary_~(): FixedPoint

    Permalink
  116. def upcastSInt(fmt: FixFormat): SInt

    Permalink
  117. def upcastUInt(fmt: FixFormat): UInt

    Permalink
  118. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  119. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  121. final def widthOption: Option[Int]

    Permalink
    Definition Classes
    Data
  122. def |(that: SInt): FixedPoint

    Permalink
  123. def |(that: UInt): FixedPoint

    Permalink
  124. def |(that: FixedPoint): FixedPoint

    Permalink

Deprecated Value Members

  1. def toBits(implicit compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Best alternative, .asUInt()

Inherited from Bundle

Inherited from Record

Inherited from Aggregate

Inherited from Data

Inherited from HasId

Inherited from InstanceId

Inherited from AnyRef

Inherited from Any

Ungrouped