Packages

p

spinal.lib

dsptool

package dsptool

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. dsptool
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class DoubleList(list: List[Double]) extends Product with Serializable
  2. case class FixData(raw: Double, q: QFormat, roundType: RoundType = getFixRound(), symmetric: Boolean = getFixSym()) extends Product with Serializable

    Fixnum

    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))
  3. case class IntList(list: List[Int]) extends Product with Serializable
  4. case class LongList(list: List[Long]) extends Product with Serializable

Value Members

  1. object DoubleList extends Serializable
  2. object FixOff
  3. object FixOn

    Usage:

    Usage:

    returns

    :FixData:-3.78533 FixOff
    Example:
    1. FixOff()
                 val a = FixData(-3.785333,SQ(8,4))
  4. object FixSwitch
    Attributes
    protected
  5. object IntList extends Serializable
  6. object LongList extends Serializable
  7. object fixDataTest
  8. object getFixSwitchState
  9. object toFixData

    IntToFixData

    IntToFixData

    returns

    FixData: -5.125, QFormat: Q(8,4,signed)

    toFixData(322111, SQ(8,4)) => FixData: -8.0, QFormat: Q(8,4,signed) toFixData(322111, UQ(8,4)) => FixData: 7.9375, QFormat: Q(8,4,unsigned) toFixData(-322111,SQ(8,4)) => FixData: -8.0, QFormat: Q(8,4,signed) toFixData(-322111,UQ(8,4)) => FixData: 0, QFormat: Q(8,4,unsigned) toFixData(-0x0f, SQ(8,4)) => FixData: -0.9375,QFormat: Q(8,4,signed)

    Example:
    1. val x = toFixData(0xFFAE,SQ(8,4))

Inherited from AnyRef

Inherited from Any

Ungrouped