Package

spinal.lib.experimental

math

Permalink

package math

Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    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

    Permalink

    Floating comparison result

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

    Permalink

    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

    Permalink

    Quad precision IEEE 754

  2. object Floating16

    Permalink

    Half precision IEEE 754

  3. object Floating32

    Permalink

    Single precision IEEE 754

  4. object Floating64

    Permalink

    Double precision IEEE 754

  5. object FloatingAbs

    Permalink

    Returns absolute value of the floating point number

  6. object FloatingCompare

    Permalink

    Floating Point number comparisons

  7. object FloatingToSInt

    Permalink

    Converts Floating to Signed integer

  8. object FloatingToUInt

    Permalink

    Converts floating to Unsigned integer

  9. object RecFloating128

    Permalink

    Quad precision recoded Floating

  10. object RecFloating16

    Permalink

    Half precision recoded Floating

  11. object RecFloating32

    Permalink

    Single precision recoded Floating

  12. object RecFloating64

    Permalink

    Double precision recoded Floating

Ungrouped