spinal.lib.experimental

math

package math

Visibility
  1. Public
  2. All

Type Members

  1. case class Floating(exponentSize: Int, mantissaSize: Int) extends Bundle with Product with Serializable

    Floating point value

    Floating point value

    exponentSize

    Size of the exponent field

    mantissaSize

    Size of the mantissa field with the implicit one not included

  2. case class FloatingCompareResult() extends Bundle with Product with Serializable

    Floating comparison result

  3. case class RecFloating(exponentSize: Int, mantissaSize: Int) extends Bundle with Product with Serializable

    Floating point value recoded using Berkeley encoding (see https://github.com/ucb-bar/berkeley-hardfloat)

    Floating point value recoded using Berkeley encoding (see https://github.com/ucb-bar/berkeley-hardfloat)

    exponentSize

    Recoded exponent size (1 bit wider than the IEEE754 equivalent float)

    mantissaSize

    Mantissa field size with the implicit one not included

Value Members

  1. object Floating128

    Quad precision IEEE 754

  2. object Floating16

    Half precision IEEE 754

  3. object Floating32

    Single precision IEEE 754

  4. object Floating64

    Double precision IEEE 754

  5. object FloatingAbs

    Returns absolute value of the floating point number

  6. object FloatingCompare

    Floating Point number comparisons

  7. object FloatingToSInt

    Converts Floating to Signed integer

  8. object FloatingToUInt

    Converts floating to Unsigned integer

  9. object RecFloating128

    Quad precision recoded Floating

  10. object RecFloating16

    Half precision recoded Floating

  11. object RecFloating32

    Single precision recoded Floating

  12. object RecFloating64

    Double precision recoded Floating

Ungrouped