Class

spinal.lib.dsptool

FixData

Related Doc: package dsptool

Permalink

case class FixData(raw: Double, q: QFormat, roundType: RoundType = getFixRound(), symmetric: Boolean = getFixSym()) extends Product with Serializable

Fixnum

returns

FixData: -3.8125, Quantized by QFormat: SQ(8,4)

x.bin => 11000011 x.oct => 103 x.hex => c3

Example:
  1. val x = FixData(-3.785333,SQ(8,4))
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FixData
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FixData(raw: Double, q: QFormat, roundType: RoundType = getFixRound(), symmetric: Boolean = getFixSym())

    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 *(right: FixData): FixData

    Permalink
  4. def +(right: FixData): FixData

    Permalink
  5. def -(right: FixData): FixData

    Permalink
  6. def <<(n: Int): FixData

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def >>(n: Int): FixData

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def asLong: Long

    Permalink
  11. def asLongPostive: Long

    Permalink
  12. def bin: String

    Permalink
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  14. def epsCeil(x: Double): Double

    Permalink
  15. def epsFloor(x: Double): Double

    Permalink
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def fixProcess(): Double

    Permalink
  18. def fixTo(newQ: QFormat): FixData

    Permalink
  19. def fixTo(newQ: QFormat, round: RoundType): FixData

    Permalink
  20. def fixTo(newQ: QFormat, round: RoundType, sym: Boolean): FixData

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def hex: String

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isNegative: Boolean

    Permalink
  25. def isSigned: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def oct: String

    Permalink
  30. val q: QFormat

    Permalink
  31. val raw: Double

    Permalink
  32. val roundType: RoundType

    Permalink
  33. val symmetric: Boolean

    Permalink
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    FixData → AnyRef → Any
  36. def unary_-: FixData

    Permalink
  37. val value: Double

    Permalink
  38. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped