DFDecimal

dfhdl.compiler.ir.DFDecimal
See theDFDecimal companion object
final case class DFDecimal(signed: Boolean, widthParamRef: IntParamRef, fractionWidth: Int, nativeType: NativeType) extends DFType

Attributes

Companion
object
Graph
Supertypes
trait DFType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

type Data = Option[BigInt]

Value members

Concrete methods

def bitsDataToData(data: (BitVector, BitVector))(using MemberGetSet): Data
def dataToBitsData(data: Data)(using MemberGetSet): (BitVector, BitVector)
def isDFInt32: Boolean
def isDataBubble(data: Data): Boolean
def magnitudeWidth(using MemberGetSet): Int
def width(using MemberGetSet): Int

Inherited methods

final def =~(that: DFType)(using MemberGetSet): Boolean

Attributes

Inherited from:
HasRefCompare
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val getRefs: List[TypeRef]