Chisel

Dbl

Related Docs: object Dbl | package Chisel

class Dbl extends Bits with Num[Dbl]

A double precision floating point representation Create using Dbl

Source
FP.scala
Linear Supertypes
Num[Dbl], Bits, proc, Data, Node, nameable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Dbl
  2. Num
  3. Bits
  4. proc
  5. Data
  6. Node
  7. nameable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Dbl()

Type Members

  1. type T = Dbl

Value Members

  1. def !=(b: Dbl): Bool

  2. def !=(that: BitPat): Bool

    Definition Classes
    Bits
  3. def !=(b: Bits): Bool

    not equal to

    not equal to

    Definition Classes
    Bits
  4. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. def ##[T <: Data](right: T): Dbl.this.type

    Cat bits together to into a single data object with the width of both combined

    Cat bits together to into a single data object with the width of both combined

    Definition Classes
    BitsData
  6. def ##(b: Node): Node

    The cat operator to combine two values

    The cat operator to combine two values

    0x5 ## 0x3 => 0x53
    b

    Node to cat after

    returns

    a new node as the combination of both this node and b

    Definition Classes
    Node
  7. final def ##(): Int

    Definition Classes
    AnyRef → Any
  8. def %(b: Dbl): Dbl

    Definition Classes
    DblNum
  9. def %(b: Bits): Bits

    Definition Classes
    Bits
  10. def &(b: Bits): Dbl.this.type

    Bitwise and

    Bitwise and

    Definition Classes
    Bits
  11. def *(b: Dbl): Dbl

    Definition Classes
    DblNum
  12. def *(b: Bits): Bits

    Definition Classes
    Bits
  13. def +(b: Dbl): Dbl

    Definition Classes
    DblNum
  14. def +(b: Bits): Bits

    Definition Classes
    Bits
  15. def -(b: Dbl): Dbl

    Definition Classes
    DblNum
  16. def -(b: Bits): Bits

    Definition Classes
    Bits
  17. def /(b: Dbl): Dbl

    Definition Classes
    DblNum
  18. def /(b: Bits): Bits

    Definition Classes
    Bits
  19. def :=(that: Data): Unit

    Definition Classes
    Data
  20. def <(b: Dbl): Bool

    Definition Classes
    DblNum
  21. def <<(b: UInt): Dbl.this.type

    Shift left operation

    Shift left operation

    Definition Classes
    Bits
  22. def <=(b: Dbl): Bool

    Definition Classes
    DblNum
  23. def <>(src: Node): Unit

    Connect I/O of modules with the same name

    Connect I/O of modules with the same name

    src

    Node to attempt to connect to this instantiation

    Definition Classes
    BitsNode
  24. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  25. def ===(b: Dbl): Bool

  26. def ===(that: BitPat): Bool

    Definition Classes
    Bits
  27. def ===[T <: Data](right: T): Bool

    Definition Classes
    BitsData
  28. def >(b: Dbl): Bool

    Definition Classes
    DblNum
  29. def >=(b: Dbl): Bool

    Definition Classes
    DblNum
  30. def W0Wtransform(): Unit

    Eliminate any zero-width wires attached to this node

    Eliminate any zero-width wires attached to this node

    returns

    if the node was modified

    Definition Classes
    Node
  31. def ^(b: Bits): Dbl.this.type

    Bitwise xor

    Bitwise xor

    Definition Classes
    Bits
  32. def ^^(src: Node): Unit

    Definition Classes
    Node
  33. val _id: Int

    The unique id of this node

    The unique id of this node

    Definition Classes
    Node
  34. def _isComplementOf(x: Node): Boolean

    Definition Classes
    Node
  35. def acos: Dbl

  36. def andR(): Bool

    reduction and, and all bits together

    reduction and, and all bits together

    Definition Classes
    Bits
  37. final def apply(range: (Int, Int)): UInt

    Extract a range of bits, inclusive from hi to lo

    Extract a range of bits, inclusive from hi to lo

    Definition Classes
    Bits
  38. final def apply(hi: UInt, lo: UInt): UInt

    Extract a range of bits, inclusive from hi to lo

    Extract a range of bits, inclusive from hi to lo

    Definition Classes
    Bits
  39. final def apply(hi: Int, lo: Int): UInt

    Extract a range of bits, inclusive from hi to lo

    Extract a range of bits, inclusive from hi to lo

    myBits = 0x5, myBits(1,0) => 0x3
    Definition Classes
    Bits
  40. final def apply(bit: UInt): Bool

    Extract a single bit at position 'bit' as a Bool

    Extract a single bit at position 'bit' as a Bool

    Definition Classes
    Bits
  41. final def apply(bit: Int): Bool

    Extract a single Bool at index *bit*.

    Extract a single Bool at index *bit*.

    Definition Classes
    Bits
  42. def apply(name: String): Data

    Definition Classes
    BitsData
  43. def asDirectionless(): Dbl.this.type

    Set this Bits instantiation to be neither of INPUT or OUTPUT

    Set this Bits instantiation to be neither of INPUT or OUTPUT

    Definition Classes
    BitsData
  44. def asInput(): Dbl.this.type

    Set this Bits instatiation to be an INPUT

    Set this Bits instatiation to be an INPUT

    Definition Classes
    BitsData
  45. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  46. def asOutput(): Dbl.this.type

    Set this Bits instatiation to be an OUTPUT

    Set this Bits instatiation to be an OUTPUT

    returns

    this instance with its exact type.

    Definition Classes
    BitsData
  47. final def asTypeFor(node: Node): Dbl.this.type

    assigns this instance as the data type for *node*.

    assigns this instance as the data type for *node*.

    Attributes
    protected[Chisel]
    Definition Classes
    Bits
  48. def asin: Dbl

  49. def assign(src: Node): Unit

    Definition Classes
    BitsNode
  50. def atan: Dbl

  51. def bitSet(off: UInt, dat: UInt): Dbl.this.type

    Set bit 'off' in data dat

    Set bit 'off' in data dat

    off

    which bit to set

    dat

    A UInt in which to set the bit

    Definition Classes
    Bits
  52. def canCSE: Boolean

    Definition Classes
    Node
  53. def ceil: Dbl

  54. lazy val chiselName: String

    Definition Classes
    Node
  55. var clock: Option[Clock]

    The clock for this node

    The clock for this node

    Definition Classes
    Node
  56. def clone(): Dbl.this.type

    Definition Classes
    Data → AnyRef
  57. def cloneType(): Dbl.this.type

    Copy this instantiation of the Chisel Data type with all parameters such as width and I/O direction the same

    Copy this instantiation of the Chisel Data type with all parameters such as width and I/O direction the same

    Definition Classes
    BitsData
  58. def colonEquals(that: Bits): Unit

    Assignment operator

    Assignment operator

    Attributes
    protected
    Definition Classes
    DblBitsData
  59. def colonEquals[T <: Data](that: Iterable[T]): Unit

    Attributes
    protected
    Definition Classes
    Data
  60. def colonEquals(that: Bundle): Unit

    Attributes
    protected
    Definition Classes
    Data
  61. var comp: Option[proc]

    Definition Classes
    Data
  62. def component: Module

    Use the function componentOf instead

    Use the function componentOf instead

    Definition Classes
    Node
  63. def componentOf: Module

    Get the module that this node is a part of or the top module if not assigned yet

    Get the module that this node is a part of or the top module if not assigned yet

    returns

    The module that this node is a part of

    Definition Classes
    Node
  64. val consumers: LinkedHashSet[Node]

    nodes that consume one of my outputs

    nodes that consume one of my outputs

    Definition Classes
    Node
  65. def cos: Dbl

  66. def create(dir: IODirection, width: Int): Unit

    Definition Classes
    Bits
  67. def dblLitValue: Double

    Convert the node literal to a Double

    Convert the node literal to a Double

    Definition Classes
    Node
  68. def default: proc

    Attributes
    protected
    Definition Classes
    proc
  69. def defaultMissing: Boolean

    Attributes
    protected
    Definition Classes
    proc
  70. def defaultRequired: Boolean

    Definition Classes
    Bitsproc
  71. var dir: IODirection

    Definition Classes
    Bits
  72. def doProcAssign(src: Node, cond: Bool): Unit

    Attributes
    protected[Chisel]
    Definition Classes
    proc
  73. var driveRand: Boolean

    Definition Classes
    Node
  74. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  75. def equals(that: Any): Boolean

    Compare two nodes

    Compare two nodes

    that

    the node to compare with

    Definition Classes
    Node → AnyRef → Any
  76. def equalsForCSE(x: Node): Boolean

    Definition Classes
    Node
  77. def error(b: Bits): Bits

    Error shown when operation is not defined

    Error shown when operation is not defined

    Definition Classes
    Bits
    Exceptions thrown

    ChiselException if the operation is not defined

  78. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  79. def flatten: Array[(String, Bits)]

    Definition Classes
    BitsData
  80. def flip(): Dbl.this.type

    Change INPUT to OUTPUT and OUTPUT to INPUT

    Change INPUT to OUTPUT and OUTPUT to INPUT

    Definition Classes
    BitsData
  81. def floLitValue: Float

    Convert the node literal to a Float

    Convert the node literal to a Float

    Definition Classes
    Node
  82. def floor: Dbl

  83. def forceMatchingWidths: Unit

    Force the width of this nodes input to have the same width this if known if input node width is known force width of this node

    Force the width of this nodes input to have the same width this if known if input node width is known force width of this node

    Definition Classes
    BitsNode
  84. def fromBits(b: Bits): Dbl.this.type

    Definition Classes
    Data
  85. def fromInt(x: Int): Dbl.this.type

    Convert an Integer to Dbl representation

    Convert an Integer to Dbl representation

    Definition Classes
    DblBits
  86. def fromNode(n: Node): Dbl.this.type

    Convert a node to Dbl representation

    Convert a node to Dbl representation

    Definition Classes
    DblData
  87. def gen[T <: Bits](): T

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

    Definition Classes
    AnyRef → Any
  89. def getNode: Node

    returns

    The root node input

    Definition Classes
    BitsNode
  90. def getWidth(): Int

    returns

    the width or number of bits used by this node

    Definition Classes
    Node
    Exceptions thrown

    ChiselException if the width of the node is unknown

  91. def hashCode(): Int

    returns

    the unique hashCode for this node

    Definition Classes
    Node → AnyRef → Any
  92. def hashCodeForCSE: Int

    Definition Classes
    Node
  93. def illegalAssignment(that: Any): Unit

    Attributes
    protected
    Definition Classes
    Data
  94. def infer: Boolean

    Called while we're walking the graph inferring the width of nodes.

    Called while we're walking the graph inferring the width of nodes. We return true if we should continue to walk the graph, either because there's a node whose width we don't know, or because we updated a node's width.

    Definition Classes
    Node
  95. def init(n: String, w: Int, ins: Node*): Node

    Init the node and calculate its width and add inputs to the node

    Init the node and calculate its width and add inputs to the node

    n

    name of node

    w

    the bit width of the node

    ins

    Nodes that are inputs to this node

    Definition Classes
    Node
  96. def init(n: String, widthFunc: (⇒ Node) ⇒ Width, ins: Node*): Node

    Init the node and calculate its width and add inputs to the node

    Init the node and calculate its width and add inputs to the node

    n

    name of node

    widthFunc

    the function to use to calculate the width of the node

    ins

    Nodes that are inputs to this node

    Definition Classes
    Node
  97. def initOf(n: String, widthfunc: (⇒ Node) ⇒ Width, ins: Iterable[Node]): Node

    Init the node and calculate its width and add inputs to the node

    Init the node and calculate its width and add inputs to the node

    n

    name of node

    widthfunc

    the function to use to calculate the width of the node

    ins

    Nodes that are inputs to this node

    Definition Classes
    Node
  98. val inputs: ArrayBuffer[Node]

    The inputs that this node depends on

    The inputs that this node depends on

    Definition Classes
    Node
  99. def isDirectionless: Boolean

    returns

    this instantiation is neither of INPUT or OUTPUT

    Definition Classes
    BitsData
  100. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  101. def isIo: Boolean

    returns

    this node is an I/O Node for a module

    Definition Classes
    Node
  102. def isIo_=(isIo: Boolean): Unit

    Definition Classes
    Node
  103. final def isLit: Boolean

    This function determines if a node is a literal, a fixed value

    This function determines if a node is a literal, a fixed value

    Definition Classes
    Node
  104. def isReg: Boolean

    returns

    this node is a Register

    Definition Classes
    Node
  105. def isTopLevelIO: Boolean

    returns

    is this node I/O for the top level module

    Definition Classes
    Node
  106. var isTypeNode: Boolean

    Definition Classes
    Node
  107. def isTypeOnly: Boolean

    Chisel3 - type-only nodes (no data - no initialization or assignment) This is used to determine which nodes must be Wire() wrapped, and whether Wire() wrapping of the node is legal or not.

    Chisel3 - type-only nodes (no data - no initialization or assignment) This is used to determine which nodes must be Wire() wrapped, and whether Wire() wrapping of the node is legal or not.

    Definition Classes
    DataNode
  108. def isUsedByClockHi: Boolean

    Definition Classes
    Node
  109. def isWired: Boolean

    Definition Classes
    Data
  110. def isZeroWidth: Boolean

    returns

    this node has zero-width

    Definition Classes
    Node
  111. val line: StackTraceElement

    The trace information for chisel for this node

    The trace information for chisel for this node

    Definition Classes
    Node
  112. def litOf: Literal

    returns

    the literal value of a node

    Definition Classes
    Node
    Exceptions thrown

    ChiselException if there is no literal value available

  113. def litValue(default: BigInt = BigInt(-1)): BigInt

    returns

    the literal value of the node as a BigInt

    Bool(true).litValue() => BigInt(1)
    Definition Classes
    Node
  114. def log: Dbl

  115. def matchWidth(w: Width): Node

    Definition Classes
    BitsNode
  116. def max(b: Dbl): Dbl

    Definition Classes
    Num
  117. def maybeFlatten: Seq[Node]

    Deprecated: Do not use

    Deprecated: Do not use

    Definition Classes
    Node
  118. def min(b: Dbl): Dbl

    Definition Classes
    Num
  119. var modified: Boolean

    Definition Classes
    Node
  120. def muxes: Seq[Mux]

    Attributes
    protected[Chisel]
    Definition Classes
    proc
  121. var name: String

    Definition Classes
    nameable
  122. def nameIt(path: String, isNamingIo: Boolean): Unit

    name this node

    name this node

    Definition Classes
    DataNode
    Note

    use setName in Node rather than this directly

  123. var named: Boolean

    _named_ is used to indicates name was set explicitely and should not be overriden by a _nameIt_ generator.

    _named_ is used to indicates name was set explicitely and should not be overriden by a _nameIt_ generator.

    Definition Classes
    nameable
  124. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  125. def needWidth(): Int

    returns

    the bitWidth of the node

    Definition Classes
    Node
    Exceptions thrown

    ChiselException if the width is not yet defined

  126. final def newBinaryOp(right: Bits, opName: String): Dbl.this.type

    Attributes
    protected
    Definition Classes
    Bits
  127. final def newLogicalOp(right: Bits, opName: String): Bool

    Attributes
    protected
    Definition Classes
    Bits
  128. final def newReductionOp(opName: String): Bool

    Attributes
    protected
    Definition Classes
    Bits
  129. final def newUnaryOp(opName: String): Dbl.this.type

    Attributes
    protected
    Definition Classes
    Bits
  130. def next: Node

    Attributes
    protected[Chisel]
    Definition Classes
    proc
  131. def nextOpt: Option[Node]

    Attributes
    protected[Chisel]
    Definition Classes
    proc
  132. final def notify(): Unit

    Definition Classes
    AnyRef
  133. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  134. def orR(): Bool

    reduction or, or all bits together

    reduction or, or all bits together

    Definition Classes
    Bits
  135. def params: Parameters

    Definition Classes
    Data
  136. def pow(b: Dbl): Dbl

  137. def printTree(writer: PrintStream, depth: Int = 4, indent: String = ""): Unit

    Prints all members of a node and recursively its inputs up to a certain depth level This method is purely used for debugging

    Prints all members of a node and recursively its inputs up to a certain depth level This method is purely used for debugging

    Definition Classes
    Node
  138. def procAssign(src: Node): Unit

    Definition Classes
    Bitsproc
  139. var procAssigned: Boolean

    Attributes
    protected
    Definition Classes
    proc
  140. var prune: Boolean

    Definition Classes
    Node
  141. def replaceTree(newNode: Node): Unit

    Replace the subtree starting from this node with the indicated replacement

    Replace the subtree starting from this node with the indicated replacement

    newNode

    The node to start tree from

    Definition Classes
    Node
  142. def review(): Unit

    Review a node for optimization possibilities if its children have been updated

    Review a node for optimization possibilities if its children have been updated

    Definition Classes
    Node
  143. def round: Dbl

  144. def setDefault(src: Node): Unit

    Attributes
    protected
    Definition Classes
    proc
  145. def setIsTypeNode: Unit

    make this node a type node

    make this node a type node

    Definition Classes
    Data
  146. def setIsWired(value: Boolean): Unit

    Definition Classes
    Data
  147. def setName(n: String): Unit

    Set the name of a node when elaborated

    Set the name of a node when elaborated

    my.io.node.setName("MY_IO_NODE")
    n

    The name to set the node to

    Definition Classes
    Node
  148. def setWidth(w: Int): Unit

    Force the bit width of a node

    Force the bit width of a node

    w

    the bit width to force

    Definition Classes
    Node
  149. def sin: Dbl

  150. def sqrt: Dbl

  151. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  152. def tan: Dbl

  153. def toBits(): UInt

    returns

    This node as a UInt

    Definition Classes
    Node
  154. def toBool(): Bool

    Try to convert this data to a Bool

    Try to convert this data to a Bool

    Definition Classes
    Data
    Exceptions thrown

    ChiselException if the width is not 1

  155. def toBools: Vec[Bool]

    Split up this bits instantiation to a Vec of Bools

    Split up this bits instantiation to a Vec of Bools

    Definition Classes
    Bits
  156. lazy val toNode: Node

    returns

    This node

    Definition Classes
    DataNode
  157. def toSInt(): SInt

    Definition Classes
    DblBits
  158. def toString(): String

    Definition Classes
    Bits → AnyRef → Any
  159. def toUInt(): UInt

    Definition Classes
    DblBits
  160. def unary_-(): Dbl

    Definition Classes
    DblNum
  161. def unary_~(): Dbl.this.type

    invert all bits with ~

    invert all bits with ~

    Definition Classes
    Bits
  162. def usesInClockHi(i: Node): Boolean

    Definition Classes
    Node
  163. def verifyMuxes: Unit

    Attributes
    protected[Chisel]
    Definition Classes
    proc
  164. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  167. def xorR(): Bool

    reduction xor, xor all bits together

    reduction xor, xor all bits together

    Definition Classes
    Bits
  168. def |(b: Bits): Dbl.this.type

    Bitwise or

    Bitwise or

    Definition Classes
    Bits

Inherited from Num[Dbl]

Inherited from Bits

Inherited from proc

Inherited from Data

Inherited from Node

Inherited from nameable

Inherited from AnyRef

Inherited from Any

Ungrouped