Width

dfhdl.core.Width
See theWidth companion trait
object Width extends WidthLP

Attributes

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

Members list

Type members

Classlikes

object Success extends Width[Any]

Attributes

Supertypes
trait Width[Any]
class Object
trait Matchable
class Any
Self type
Success.type
object fromBooleanCompanion extends Width[Boolean.type]

Attributes

Supertypes
trait Width[Boolean.type]
class Object
trait Matchable
class Any
Self type
object fromDFDouble extends Width[DFDouble]

Attributes

Supertypes
trait Width[DFDouble]
class Object
trait Matchable
class Any
Self type
object fromDoubleCompanion extends Width[Double.type]

Attributes

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

Types

type Aux[T, O <: IntP] = Width[T] { type Out = O; }
type AuxI[T, O <: Int] = Width[T] { type OutI = O; }

Value members

Concrete methods

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

Concrete fields

Givens

Givens

given fromDFBitsInt[W <: Int]: fromDFBitsInt[W]
given fromDFBoolOrBit[T <: DFBoolOrBit]: fromDFBoolOrBit[T]
given fromDFDecimalInt[S <: Boolean, W <: Int, F <: Int, N <: NativeType]: fromDFDecimalInt[S, W, F, N]
transparent inline given given_Width_T[T]: Width[T]

Inherited givens

given fromDFBitsIntP[W <: IntP]: fromDFBitsIntP[W]

Attributes

Inherited from:
WidthLP
given fromDFDecimalIntP[S <: Boolean, W <: IntP, F <: Int, N <: NativeType]: fromDFDecimalIntP[S, W, F, N]

Attributes

Inherited from:
WidthLP

Extensions

Extensions

extension (using quotes: Quotes)(dfTpe: quotes.reflect.TypeRepr)
def *(rhs: quotes.reflect.TypeRepr): quotes.reflect.TypeRepr
def +(rhs: quotes.reflect.TypeRepr): quotes.reflect.TypeRepr
def calcValWidth: quotes.reflect.TypeRepr
def calcWidth: quotes.reflect.TypeRepr
infix def max(rhs: quotes.reflect.TypeRepr): quotes.reflect.TypeRepr
def simplify: quotes.reflect.TypeRepr