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

Keywords
  • no keywords
  • infix
  • inline
  • transparent

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

Value members

Concrete methods

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

Concrete fields

Givens

Givens

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

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