Object/Class

chisel3.core

FixedPoint

Related Docs: class FixedPoint | package core

Permalink

object FixedPoint

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FixedPoint
  2. AnyRef
  3. 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. def apply(value: BigInt, width: Width, binaryPoint: BinaryPoint): FixedPoint

    Permalink

    Create an FixedPoint port with specified width and binary position.

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

    Permalink

    Create an FixedPoint type or port with fixed width.

  6. def apply(): FixedPoint

    Permalink

    Create an FixedPoint type with inferred width.

  7. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. 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

  13. 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

  14. 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

  15. 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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. 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

  24. 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

  25. def toString(): String

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

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

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

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

Deprecated Value Members

  1. def apply(width: Int, binaryPoint: Int): FixedPoint

    Permalink

    Create an FixedPoint type or port with fixed width.

    Create an FixedPoint type or port with fixed width.

    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Use FixedPoint(width: Width, binaryPoint: BinaryPoint) example FixedPoint(16.W, 8.BP)

  2. def fromDouble(value: Double, dummy: PrivateType = PrivateObject, width: Int = 1, binaryPoint: Int = 0): 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

    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) use fromDouble(value: Double, width: Width, binaryPoint: BinaryPoint)

Inherited from AnyRef

Inherited from Any

Ungrouped