ExplicitWidth

dfhdl.core.DFEncoding.ExplicitWidth
sealed trait ExplicitWidth[W <: Int & Singleton] extends DFEncoding

Attributes

Graph
Supertypes
class DFEncoding
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Manual[W]
class Toggle

Members list

Value members

Inherited methods

def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product

Inherited and Abstract methods

def bigIntValue: BigInt

Attributes

Inherited from:
DFEncoding
def calcWidth(entryCount: Int): Int

Attributes

Inherited from:
DFEncoding
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def encode(idx: Int): BigInt

Attributes

Inherited from:
DFEncoding
def ordinal: Int

A number uniquely identifying a case of an enum

A number uniquely identifying a case of an enum

Attributes

Inherited from:
Enum
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Abstract fields

val width: W