Object/Class

Chisel

Fixed

Related Docs: class Fixed | package Chisel

Permalink

object Fixed

Factory methods for Fixed

Source
Fixed.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Fixed
  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(dir: IODirection = null, width: Int = 1, fracWidth: Int = 1): Fixed

    Permalink

    Create a Fixed I/O Chisel.Node with specified width and fracWidth

    Create a Fixed I/O Chisel.Node with specified width and fracWidth

    dir

    Direction of I/O for the node, eg) INPUT or OUTPUT

    width

    the total number of bits to use in the representation

    fracWidth

    the integer fractional width to use

    returns

    A fixed node with the specified parameters

  5. def apply(x: BigInt, width: Int, fracWidth: Int): Fixed

    Permalink

    Create a Fixed Chisel.Node with specified width and fracWidth

    Create a Fixed Chisel.Node with specified width and fracWidth

    x

    An BigInt to use literally as the fixed point bits

    width

    the total number of bits to use in the representation

    fracWidth

    the integer fractional width to use

    returns

    A fixed node with the specified parameters

  6. def apply(x: Double, width: Int, fracWidth: Int): Fixed

    Permalink

    Create a Fixed Chisel.Node with specified width and fracWidth

    Create a Fixed Chisel.Node with specified width and fracWidth

    x

    An Double to convert to fixed point

    width

    the total number of bits to use in the representation

    fracWidth

    the integer fractional width to use in the conversion

    returns

    A fixed node with the specified parameters

  7. def apply(x: Float, width: Int, fracWidth: Int): Fixed

    Permalink

    Create a Fixed Chisel.Node with specified width and fracWidth

    Create a Fixed Chisel.Node with specified width and fracWidth

    x

    An Float to convert to fixed point

    width

    the total number of bits to use in the representation

    fracWidth

    the integer fractional width to use in the conversion

    returns

    A fixed node with the specified parameters

  8. def apply(x: Int, width: Int, fracWidth: Int): Fixed

    Permalink

    Create a Fixed Chisel.Node with specified width and fracWidth

    Create a Fixed Chisel.Node with specified width and fracWidth

    x

    An Int to convert to fixed point

    width

    the total number of bits to use in the representation

    fracWidth

    the integer fractional width to use in the conversion

    returns

    A fixed node with the specified parameters

  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. final def getClass(): Class[_]

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def toFixed(x: Int, fracWidth: Int): BigInt

    Permalink

    Convert an Int to fixed point with a specified fractional width

    Convert an Int to fixed point with a specified fractional width

    x

    Double to convert

    fracWidth

    the integer fractional width to use in the conversion

    returns

    A BigInt representing the bits in the fixed point

  22. def toFixed(x: Float, fracWidth: Int): BigInt

    Permalink

    Convert a Float to fixed point with a specified fractional width

    Convert a Float to fixed point with a specified fractional width

    x

    Float to convert

    fracWidth

    the integer fractional width to use in the conversion

    returns

    A BigInt representing the bits in the fixed point

  23. def toFixed(x: Double, fracWidth: Int): BigInt

    Permalink

    Convert a double to fixed point with a specified fractional width

    Convert a double to fixed point with a specified fractional width

    x

    Double to convert

    fracWidth

    the integer fractional width to use in the conversion

    returns

    A BigInt representing the bits in the fixed point

  24. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped