PropertyType

chisel3.properties.PropertyType
sealed trait PropertyType[T]

PropertyType defines a typeclass for valid Property types.

Typeclass instances will be defined for Scala types that can be used as properties. This includes builtin Scala types as well as types defined in Chisel.

Attributes

Source
Property.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Type

The property type coreesponding to T. This is the type parameter of the property returned by Property.apply

The property type coreesponding to T. This is the type parameter of the property returned by Property.apply

Attributes

Source
Property.scala
type Underlying

Internal representation of T. This is the value that gets stored and bound in PropertyLit values

Internal representation of T. This is the value that gets stored and bound in PropertyLit values

Attributes

Source
Property.scala

Value members

Abstract methods

def convert(value: Underlying, ctx: Component, info: SourceInfo): Expression

Get convert from the underlying representation to firrtl expression

Get convert from the underlying representation to firrtl expression

Attributes

Source
Property.scala
def convertUnderlying(value: T, info: SourceInfo): Underlying

Get convert from the raw type T to this type's internal, underlying representation

Get convert from the raw type T to this type's internal, underlying representation

Attributes

Source
Property.scala

Get the IR PropertyType for this PropertyType.

Get the IR PropertyType for this PropertyType.

Attributes

Source
Property.scala