CIRCT
20.0.0git
|
A one-to-one representation with a YAML representation of a signal/field. More...
Public Member Functions | |
Field (IO &io, DescribedSignal &op) | |
Construct a Field from a DescribedSignal (an sv::InterfaceSignalOp with an optional description). More... | |
Field (IO &io) | |
A no-argument constructor is necessary to work with LLVM's YAML library. More... | |
DescribedSignal | denormalize (IO &) |
This cannot be denormalized back to an interface op. More... | |
Public Attributes | |
StringRef | name |
The name of the field. More... | |
std::optional< std::string > | description |
An optional, textual description of what the field is. More... | |
SmallVector< unsigned, 2 > | dimensions |
The dimensions of the field. More... | |
unsigned | width |
The width of the underlying type. More... | |
A one-to-one representation with a YAML representation of a signal/field.
Definition at line 168 of file GrandCentral.cpp.
|
inline |
Construct a Field
from a DescribedSignal
(an sv::InterfaceSignalOp
with an optional description).
Definition at line 183 of file GrandCentral.cpp.
References assert(), and llvm::yaml::stripComment().
|
inline |
A no-argument constructor is necessary to work with LLVM's YAML library.
Definition at line 225 of file GrandCentral.cpp.
|
inline |
This cannot be denormalized back to an interface op.
Definition at line 228 of file GrandCentral.cpp.
std::optional<std::string> llvm::yaml::MappingContextTraits< DescribedSignal, Context >::Field::description |
An optional, textual description of what the field is.
Definition at line 173 of file GrandCentral.cpp.
SmallVector<unsigned, 2> llvm::yaml::MappingContextTraits< DescribedSignal, Context >::Field::dimensions |
The dimensions of the field.
Definition at line 176 of file GrandCentral.cpp.
StringRef llvm::yaml::MappingContextTraits< DescribedSignal, Context >::Field::name |
The name of the field.
Definition at line 170 of file GrandCentral.cpp.
unsigned llvm::yaml::MappingContextTraits< DescribedSignal, Context >::Field::width |
The width of the underlying type.
Definition at line 179 of file GrandCentral.cpp.