Object/Class

chisel3.experimental

FixedPoint

Related Docs: class FixedPoint | package experimental

Permalink

object FixedPoint extends NumObject

Factory and convenience methods for the FixedPoint class IMPORTANT: The API provided here is experimental and may change in the future.

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Implicits

    Permalink
  5. val MaxBitsBigIntToBigDecimal: Int

    Permalink
    Definition Classes
    NumObject
  6. val MaxBitsBigIntToDouble: Int

    Permalink
    Definition Classes
    NumObject
  7. def apply(value: BigInt, width: Width, binaryPoint: BinaryPoint): FixedPoint

    Permalink

    Create an FixedPoint port with specified width and binary position.

  8. def apply(width: Width, binaryPoint: BinaryPoint): FixedPoint

    Permalink

    Create an FixedPoint type or port with fixed width.

  9. def apply(): FixedPoint

    Permalink

    Create an FixedPoint type with inferred width.

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fromBigDecimal(value: BigDecimal, width: Width, binaryPoint: BinaryPoint): FixedPoint

    Permalink

    Create an FixedPoint literal with inferred width from BigDecimal.

    Create an FixedPoint literal with inferred width from BigDecimal. Use PrivateObject to force users to specify width and binaryPoint by name

  16. def fromBigInt(value: BigInt, width: Int, binaryPoint: Int): FixedPoint

    Permalink

    Create an FixedPoint literal with inferred width from BigInt.

    Create an FixedPoint literal with inferred width from BigInt. Use PrivateObject to force users to specify width and binaryPoint by name

  17. def fromBigInt(value: BigInt, binaryPoint: BinaryPoint = 0.BP): FixedPoint

    Permalink

    Create an FixedPoint literal with inferred width from BigInt.

    Create an FixedPoint literal with inferred width from BigInt. Use PrivateObject to force users to specify width and binaryPoint by name

  18. def fromBigInt(value: BigInt, width: Width, binaryPoint: BinaryPoint): FixedPoint

    Permalink

    Create an FixedPoint literal with inferred width from BigInt.

    Create an FixedPoint literal with inferred width from BigInt. Use PrivateObject to force users to specify width and binaryPoint by name

  19. def fromDouble(value: Double, width: Width, binaryPoint: BinaryPoint): FixedPoint

    Permalink

    Create an FixedPoint literal with inferred width from Double.

    Create an FixedPoint literal with inferred width from Double. Use PrivateObject to force users to specify width and binaryPoint by name

  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toBigDecimal(value: BigInt, binaryPoint: BinaryPoint): BigDecimal

    Permalink

    converts a bigInt with the given binaryPoint into the BigDecimal representation

    converts a bigInt with the given binaryPoint into the BigDecimal representation

    value

    a bigint

    binaryPoint

    the implied binaryPoint of @i

    Definition Classes
    NumObject
  28. def toBigDecimal(value: BigInt, binaryPoint: Int): BigDecimal

    Permalink

    converts a bigInt with the given binaryPoint into the BigDecimal representation

    converts a bigInt with the given binaryPoint into the BigDecimal representation

    value

    a bigint

    binaryPoint

    the implied binaryPoint of @i

    Definition Classes
    NumObject
  29. def toBigInt(value: BigDecimal, binaryPoint: BinaryPoint): BigInt

    Permalink

    How to create a bigint from a big decimal with a specific binaryPoint

    How to create a bigint from a big decimal with a specific binaryPoint

    value

    a BigDecimal value

    binaryPoint

    a binaryPoint that you would like to use

    Definition Classes
    NumObject
  30. def toBigInt(x: BigDecimal, binaryPoint: Int): BigInt

    Permalink

    How to create a bigint from a big decimal with a specific binaryPoint (int)

    How to create a bigint from a big decimal with a specific binaryPoint (int)

    x

    a BigDecimal value

    binaryPoint

    a binaryPoint that you would like to use

    Definition Classes
    NumObject
  31. def toBigInt(x: Double, binaryPoint: BinaryPoint): BigInt

    Permalink

    How to create a bigint from a big decimal with a specific binaryPoint

    How to create a bigint from a big decimal with a specific binaryPoint

    x

    a BigDecimal value

    binaryPoint

    a binaryPoint that you would like to use

    Definition Classes
    NumObject
  32. def toBigInt(x: Double, binaryPoint: Int): BigInt

    Permalink

    How to create a bigint from a double with a specific binaryPoint

    How to create a bigint from a double with a specific binaryPoint

    x

    a double value

    binaryPoint

    a binaryPoint that you would like to use

    Definition Classes
    NumObject
  33. def toDouble(value: BigInt, binaryPoint: BinaryPoint): Double

    Permalink

    converts a bigInt with the given binaryPoint into the double representation

    converts a bigInt with the given binaryPoint into the double representation

    value

    a bigint

    binaryPoint

    the implied binaryPoint of @i

    Definition Classes
    NumObject
  34. def toDouble(i: BigInt, binaryPoint: Int): Double

    Permalink

    converts a bigInt with the given binaryPoint into the double representation

    converts a bigInt with the given binaryPoint into the double representation

    i

    a bigint

    binaryPoint

    the implied binaryPoint of @i

    Definition Classes
    NumObject
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NumObject

Inherited from AnyRef

Inherited from Any

Ungrouped