DFEnum

dfhdl.compiler.ir.DFEnum
See theDFEnum companion object
final case class DFEnum(name: String, widthParam: Int, entries: ListMap[String, BigInt]) extends NamedDFType

Attributes

Companion
object
Graph
Supertypes
trait NamedDFType
trait NamedGlobal
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 isDataBubble(data: Data): Boolean
def width(using MemberGetSet): Int

Inherited methods

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

Attributes

Inherited from:
HasRefCompare
def getName(using getSet: MemberGetSet): String

Attributes

Inherited from:
NamedGlobal
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val getRefs: List[TypeRef]