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
  5. def apply(dir: Direction, width: Width, binaryPoint: BinaryPoint): FixedPoint

    Permalink

    Create an FixedPoint port with specified width and binary position.

  6. def apply(dir: Direction): FixedPoint

    Permalink

    Create an FixedPoint port with inferred width.

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

    Permalink

    Create an FixedPoint type or port with fixed width.

  8. def apply(): FixedPoint

    Permalink

    Create an FixedPoint type with inferred width.

  9. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  27. def toString(): String

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. 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