FieldAccessor

chisel3.domain.FieldAccessor
final class FieldAccessor extends Dynamic

Dynamic accessor for domain fields.

This class uses Scala's Dynamic trait to enable syntax like field.fieldName. It should be created via the field method on a domain.Type instance.

Attributes

Source
Type.scala
Graph
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def selectDynamic(fieldName: String): Property[_]

Access a field of the domain, returning a Property of the appropriate type.

Access a field of the domain, returning a Property of the appropriate type.

Value parameters

fieldName

the name of the field to access

Attributes

Returns

a Property of the appropriate type based on the field's type

Source
Type.scala