Packages

package math

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class Bcd(digitCount: Int) extends Bundle with Product with Serializable

    Binary-Coded Decimal (BCD) data type, where each decimal digit is stored in 4 bits.

    Binary-Coded Decimal (BCD) data type, where each decimal digit is stored in 4 bits.

    Example:
    1. val bcd = Bcd(4)                    // 4-digit BCD (0-9999)
      val converted = Bcd.fromUInt(myUInt) // Binary to BCD conversion
      val binary = bcd.toUInt             // BCD to binary conversion
      val sum = bcd1 + bcd2               // BCD addition
    See also

    BCD on Wikipedia

  2. class MixedDivider extends Component
  3. case class MixedDividerCmd(nWidth: Int, dWidth: Int) extends Bundle with Product with Serializable
  4. case class MixedDividerRsp(nWidth: Int, dWidth: Int) extends Bundle with Product with Serializable
  5. class SignedDivider extends Component
  6. case class SignedDividerCmd(nWidth: Int, dWidth: Int) extends Bundle with Product with Serializable
  7. case class SignedDividerRsp(nWidth: Int, dWidth: Int) extends Bundle with Product with Serializable
  8. class UnsignedDivider[T <: Data] extends Component
  9. case class UnsignedDividerCmd[T <: Data](nWidth: Int, dWidth: Int, contextType: T) extends Bundle with Product with Serializable
  10. case class UnsignedDividerRsp[T <: Data](nWidth: Int, dWidth: Int, contextType: T) extends Bundle with Product with Serializable

Value Members

  1. object Bcd extends Serializable
  2. object SIntMath

Ungrouped