CIRCT
20.0.0git
|
Public Member Functions | |
def | __init__ (self, name, initial_state, input_ports, output_ports, *attributes={}, loc=None, ip=None) |
def | type (self) |
def | instantiate (self, str name, loc=None, ip=None, **kwargs) |
def fsm.MachineOp.__init__ | ( | self, | |
name, | |||
initial_state, | |||
input_ports, | |||
output_ports, | |||
* | attributes = {} , |
||
loc = None , |
|||
ip = None |
|||
) |
Definition at line 22 of file fsm.py.
References fsm._get_or_add_single_block(), circt::hw::PortConverterImpl.body, circt::hw::PortConversion.body, hw.HWModuleOp.body(), hw.TypeScopeOp.body(), FIRRTLBundleField.type, FIRRTLClassElement.type, HWStructFieldInfo.type, HWModulePort.type, circt::HWArithToHWTypeConverter::ConvertedType.type, circt::arc::StateInfo.type, circt::calyx::PortInfo.type, circt::esi::ServicePortInfo.type, circt::esi::BundledChannel.type, circt::firrtl::PortInfo.type, circt::firrtl::ClassElement.type, circt::hw::ModulePort.type, circt::hw::detail::FieldInfo.type, circt::hw::detail::OffsetFieldInfo.type, circt::moore::StructLikeMember.type, circt::om::evaluator::ReferenceValue.type, circt::om::evaluator::AttributeValue.type, circt::om::evaluator::ListValue.type, circt::om::evaluator::MapValue.type, circt::om::evaluator::TupleValue.type, circt::rtg::DictEntry.type, circt::systemc::detail::PortInfo.type, fsm.MachineOp.type(), hw.ModuleLike.type(), Python.support.OpOperand.type(), esi::Constant.type, esi::ChannelAssignment.type, esi::ChannelPort.type, esiaccel.types.Port.type, ResetSignal.type, Property.type, NonHWField.type, FlatBundleFieldEntry.type, SetValue.type, BagValue.type, EmittedExpr.type, and FunctionRewrite.type.
def fsm.MachineOp.instantiate | ( | self, | |
str | name, | ||
loc = None , |
|||
ip = None , |
|||
** | kwargs | ||
) |
FSM Instantiation function
Definition at line 61 of file fsm.py.
References circt::calyx::PortInfo.attributes, FIRRTLBundleField.type, FIRRTLClassElement.type, HWStructFieldInfo.type, HWModulePort.type, circt::HWArithToHWTypeConverter::ConvertedType.type, circt::arc::StateInfo.type, circt::calyx::PortInfo.type, circt::esi::ServicePortInfo.type, circt::esi::BundledChannel.type, circt::firrtl::PortInfo.type, circt::firrtl::ClassElement.type, circt::hw::ModulePort.type, circt::hw::detail::FieldInfo.type, circt::hw::detail::OffsetFieldInfo.type, circt::moore::StructLikeMember.type, circt::om::evaluator::ReferenceValue.type, circt::om::evaluator::AttributeValue.type, circt::om::evaluator::ListValue.type, circt::om::evaluator::MapValue.type, circt::om::evaluator::TupleValue.type, circt::rtg::DictEntry.type, circt::systemc::detail::PortInfo.type, fsm.MachineOp.type(), hw.ModuleLike.type(), Python.support.OpOperand.type(), esi::Constant.type, esi::ChannelAssignment.type, esi::ChannelPort.type, esiaccel.types.Port.type, ResetSignal.type, Property.type, NonHWField.type, FlatBundleFieldEntry.type, SetValue.type, BagValue.type, EmittedExpr.type, and FunctionRewrite.type.
def fsm.MachineOp.type | ( | self | ) |
Definition at line 58 of file fsm.py.
References circt::calyx::PortInfo.attributes.
Referenced by fsm.MachineOp.__init__(), esiaccel.types.WritePort.__serialize_msg(), hw.HWModuleOp.add_entry_block(), esiaccel.types.Port.connect(), hw.HWModuleOp.input_indices(), fsm.MachineOp.instantiate(), hw.HWModuleOp.outputs(), and esiaccel.types.ReadPort.read().