Width

dfhdl.core.Width$
See theWidth companion trait
object Width

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Width.type

Members list

Type members

Classlikes

object fromBooleanCompanion extends Width[Boolean.type]

Attributes

Supertypes
trait Width[Boolean.type]
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def getWidthMacro[T](using Quotes, Type[T]): Expr[Width[T]]

Concrete fields

Givens

Givens

given fromDFBits[W <: Int]: fromDFBits[W]
given fromDFBoolOrBit[T <: DFBoolOrBit]: fromDFBoolOrBit[T]
given fromDFDecimal[S <: Boolean, W <: Int, F <: Int]: fromDFDecimal[S, W, F]
transparent inline given given_Width_T[T]: Width[T]

Extensions

Extensions

extension (dfTpe: TypeRepr)(using quotes: Quotes)(dfTpe: TypeRepr)
def *(rhs: TypeRepr): TypeRepr
def +(rhs: TypeRepr): TypeRepr
def calcValWidth(onlyTokens: Boolean): TypeRepr
def calcWidth: TypeRepr
def max(rhs: TypeRepr): TypeRepr
def simplify: TypeRepr