|
CIRCT 22.0.0git
|
#include <FIRRTLTypes.h>

Public Member Functions | |
| ClassElement (StringAttr name, Type type, Direction direction) | |
| StringRef | getName () const |
| bool | isInput () const |
| Return true if this is a simple output-only element. | |
| bool | isOutput () const |
| Return true if this is a simple input-only element. | |
| bool | isInOut () const |
| Return true if this is an inout port. | |
| bool | operator== (const ClassElement &rhs) const |
| bool | operator!= (const ClassElement &rhs) const |
Public Attributes | |
| StringAttr | name |
| Type | type |
| Direction | direction |
Definition at line 339 of file FIRRTLTypes.h.
|
inline |
Definition at line 340 of file FIRRTLTypes.h.
|
inline |
Definition at line 347 of file FIRRTLTypes.h.
References name.
|
inline |
Return true if this is an inout port.
This will be true if the port contains either bi-directional signals or analog types. Non-HW types (e.g., ref types) are never considered InOut.
Definition at line 360 of file FIRRTLTypes.h.
References circt::firrtl::isTypeInOut(), and type.
Referenced by isInput(), and isOutput().
|
inline |
Return true if this is a simple output-only element.
If you want the direction of the port, use the direction field directly.
Definition at line 351 of file FIRRTLTypes.h.
References direction, circt::firrtl::In, and isInOut().
|
inline |
Return true if this is a simple input-only element.
If you want the direction of the port, use the direction field directly.
Definition at line 355 of file FIRRTLTypes.h.
References direction, isInOut(), and circt::firrtl::Out.
|
inline |
Definition at line 366 of file FIRRTLTypes.h.
|
inline |
Definition at line 362 of file FIRRTLTypes.h.
| Direction circt::firrtl::ClassElement::direction |
Definition at line 345 of file FIRRTLTypes.h.
Referenced by circt::firrtl::hash_value(), isInput(), isOutput(), and mlir::AttrTypeSubElementHandler< circt::firrtl::ClassElement >::replace().
| StringAttr circt::firrtl::ClassElement::name |
Definition at line 343 of file FIRRTLTypes.h.
Referenced by getName(), circt::firrtl::hash_value(), operator==(), and mlir::AttrTypeSubElementHandler< circt::firrtl::ClassElement >::walk().
| Type circt::firrtl::ClassElement::type |
Definition at line 344 of file FIRRTLTypes.h.
Referenced by esiaccel.types.WritePort::__serialize_msg(), hw.HWModuleOp::add_entry_block(), esiaccel.types.Port::connect(), circt::firrtl::hash_value(), hw.HWModuleOp::input_indices(), fsm.MachineOp::instantiate(), isInOut(), operator==(), hw.HWModuleOp::outputs(), esiaccel.types.ReadPort::read(), and mlir::AttrTypeSubElementHandler< circt::firrtl::ClassElement >::walk().