dfhdl.core.DFVal
See theDFVal companion class
object DFVal
Attributes
Members list
Type members
Classlikes
trait CompareLP
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Compare
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
trait DFDomainOnly
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
object DesignParam
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DesignParam.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
object InitTupleValues
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
InitTupleValues.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object InitValue
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object OrTupleOrStruct
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
OrTupleOrStruct.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
trait RTDomainOnly
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
trait TCConvLP
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object TCConv
object TC_Or_OPEN_Or_Resource
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Inherited types
Attributes
- Inherited from:
- DFValLP (hidden)
Value members
Concrete methods
def equalityMacro[T <: DFTypeAny, M <: ModifierAny, R, Op <: Op](dfVal: Expr[DFVal[T, M]], arg: Expr[R])(dfc: Expr[DFC])(using Quotes, Type[T], Type[M], Type[R], Type[Op]): Expr[DFValTP[DFBool, Any]]
Givens
Givens
given given_CanEqual_Boolean_DFVal[T <: DFTypeAny, M <: ModifierAny]: CanEqual[Boolean, DFVal[T, M]]
given given_CanEqual_DFEncoding_DFVal[T <: DFTypeAny, M <: ModifierAny]: CanEqual[DFEncoding, DFVal[T, M]]
given given_ConstCheck_P[P](using x$1: AssertGiven[P =:= CONST, "Only a DFHDL constant is convertible to a Scala value, but this DFHDL value is not a constant."]): given_ConstCheck_P[P]
given given_DFDomainOnly(using domain: DomainType)(using x$2: AssertGiven[domain.type <:< DF, "This construct is only available in a dataflow domain."]): given_DFDomainOnly
given given_InitCheck_I[I](using initializableOnly: AssertGiven[I =:= Initializable, "Can only initialize a DFHDL port or variable that are not already initialized."]): given_InitCheck_I[I]
given given_PrevInitCheck_I[I](using x$1: AssertGiven[I =:= Initialized, "Value must be an initialized declaration or `.prev` must have an initialization argument.\nE.g.: `x.prev(step, init)`.\nIt\'s possible to apply a bubble initialization with `init = ?`"]): given_PrevInitCheck_I[I]
given given_RTDomainOnly(using domain: DomainType)(using x$2: AssertGiven[domain.type <:< RT, "This construct is only available in a register-transfer domain."]): given_RTDomainOnly
given given_RegInitCheck_I[I](using x$1: AssertGiven[I =:= Initialized, "Value must be an initialized declaration or `.reg` must have an initialization argument.\nE.g.: `x.reg(step, init)`.\nIt\'s possible to apply an unknown initialization with `init = ?`"]): given_RegInitCheck_I[I]
Inherited givens
Attributes
- Inherited from:
- DFValLP (hidden)
Attributes
- Inherited from:
- DFValLP (hidden)
given DFRateToRateNumberConfigN(using dfc: DFCG): Conversion[DFConstOf[DFTime | DFFreq], ConfigN[RateNumber]]
Attributes
- Inherited from:
- DFValLP (hidden)
given DFUnitValConversion[R <: CommonR | Unit | NonEmptyTuple](using dfc: DFC): Conversion[R, DFValOf[DFUnit]]
Attributes
- Inherited from:
- DFValLP (hidden)
Extensions
Extensions
extension [T <: DFTypeAny, M <: ModifierAny](dfVal: DFVal[T, M])
infix def tag[CT <: DFTag](condCustomTag: Conditional[CT])(using evidence$1: ClassTag[CT], dfc: DFC): DFVal[T, M]
extension [T <: NonEmptyTuple, A, C, I, P](dfVal: DFVal[DFTuple[T], Modifier[A, C, I, P]])
infix def init(initValues: InitTupleValues[T])(using DFC, InitCheck[I]): DFVal[DFTuple[T], Modifier[A, C, Initialized, P]]
Implicits
Implicits
Inherited implicits
implicit transparent inline def DFBitValConversion[P <: Boolean, R <: CommonR | Int | Boolean](inline from: R)(using dfc: DFCG): DFValTP[DFBit, ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
implicit transparent inline def DFBitsValConversion[W <: IntP, P <: Boolean, R <: CommonR | SameElementsVector[_] | NonEmptyTuple](inline from: R)(using dfc: DFCG): DFValTP[DFBits[W], ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
implicit transparent inline def DFBoolValConversion[P <: Boolean, R <: CommonR | Int | Boolean](inline from: R)(using dfc: DFCG): DFValTP[DFBool, ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
implicit transparent inline def DFDoubleValConversion[P <: Boolean, R <: CommonR | Double](inline from: R)(using dfc: DFCG): DFValTP[DFDouble, ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
implicit transparent inline def DFEnumValConversion[E <: DFEncoding, P <: Boolean, R <: CommonR | E](inline from: R)(using dfc: DFCG): DFValTP[DFEnum[E], ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
implicit transparent inline def DFOpaqueValConversion[TFE <: Abstract, P <: Boolean, R <: CommonR](inline from: R)(using dfc: DFCG): DFValTP[DFOpaque[TFE], ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
implicit transparent inline def DFStringValConversion[P <: Boolean, R <: CommonR | String](inline from: R)(using dfc: DFCG): DFValTP[DFString, ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
Attributes
- Inherited from:
- DFValLP (hidden)
implicit transparent inline def DFTupleValConversion[T <: NonEmptyTuple, P <: Boolean, R <: CommonR | NonEmptyTuple](inline from: R)(using dfc: DFCG): DFValTP[DFTuple[T], ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
implicit transparent inline def DFVectorValConversion[T <: DFTypeAny, D <: IntP, P <: Boolean, R <: CommonR | Iterable[_] | SameElementsVector[_]](inline from: R)(using dfc: DFCG): DFValTP[DFVector[T, Tuple1[D]], ISCONST[P]]
Attributes
- Inherited from:
- DFValLP (hidden)
Exports
Defined exports
export evConnectPort[T <: DFTypeAny, C, M <: Modifier[Any, C, Any, Any], L <: DFVal[T, M], R](using skipResource: NotGiven[R <:< Resource], connectableOnly: ConnectableOnly2[C], tc: TC_Or_OPEN_Or_Resource[T, R])
Exported from ConnectOps
Exported from Ops
export evOpApplyDFTuple[T <: NonEmptyTuple, M <: ModifierAny, L <: DFVal[DFTuple[T], M], I <: Int](using check: Check[I, Size[T]], size: ValueOf[Size[T]])
Exported from Ops
export evOpApplyDFVector[T <: DFTypeAny, D1 <: IntP, M <: ModifierAny, L <: DFVal[DFVector[T, Tuple1[D1]], M], R](using ub: UBArg[D1, R])
Exported from Ops
Exported from Ops
export evOpApplyRangeDFVector[T <: DFTypeAny, D1 <: IntP, M <: ModifierAny, L <: DFVal[DFVector[T, Tuple1[D1]], M], LO <: IntP, HI <: IntP](using checkLow: CheckNUB[LO, D1], checkHigh: CheckNUB[HI, D1], checkHiLo: CheckNUB[HI, LO])
Exported from Ops
Exported from Ops
export evOpArithDFPhysical[Op <: +.type | -.type | *.type | /.type, U <: PhysicalNumber, LP, L <: DFValTP[DFPhysical[U], LP], R, RU <: PhysicalNumber, RP, OU <: PhysicalNumber](using tcR: Aux[R, RU, RP], tcOp: Aux[Op, U, RU, OU], op: ValueOf[Op])
Exported from Ops
Exported from Ops
export evOpArithIntDFInt32[Op <: ArithOp, L <: Int, RP, R <: DFValTP[DFInt32, RP]](using op: ValueOf[Op])
Exported from Ops
Inherited defined exports
Exported from Ops
Attributes
- Inherited from:
- DFValLP (hidden)
In this article