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 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 RecFloating128

    Quad precision recoded Floating

  6. object RecFloating16

    Half precision recoded Floating

  7. object RecFloating32

    Single precision recoded Floating

  8. object RecFloating64

    Double precision recoded Floating

Ungrouped