CIRCT 20.0.0git
|
Public Member Functions | |
__init__ (self, name, input_ports=[], output_ports=[], *parameters=[], attributes={}, body_builder=None, loc=None, ip=None) | |
instantiate (self, *args, **kwargs) | |
type (self) | |
name (self) | |
is_external (self) | |
list[ParamDeclAttr] | parameters (self) |
body (self) | |
entry_block (self) | |
input_indices (self) | |
__getattr__ (self, name) | |
dict[str:Value] | inputs (self) |
dict[str:Type] | outputs (self) |
add_entry_block (self) | |
hw.HWModuleOp.__init__ | ( | self, | |
name, | |||
input_ports = [] , |
|||
output_ports = [] , |
|||
* | parameters = [] , |
||
attributes = {} , |
|||
body_builder = None , |
|||
loc = None , |
|||
ip = None |
|||
) |
hw.HWModuleOp.__getattr__ | ( | self, | |
name | |||
) |
Definition at line 357 of file hw.py.
References hw.HWModuleOp.entry_block(), and hw.HWModuleOp.input_indices().
hw.HWModuleOp.add_entry_block | ( | self | ) |
Definition at line 374 of file hw.py.
References circt::hw::PortConverterImpl.body, circt::hw::PortConversion.body, fsm.MachineOp.body, hw.HWModuleOp.body(), hw.TypeScopeOp.body(), ModuleState.body, hw.ModuleLike.is_external(), hw.HWModuleOp.is_external(), hw.HWModuleExternOp.is_external(), 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, hw.ModuleLike.type(), fsm.MachineOp.type(), hw.HWModuleOp.type(), hw.HWModuleExternOp.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.
hw.HWModuleOp.body | ( | self | ) |
Definition at line 341 of file hw.py.
References esi::services::MMIO.regions.
Referenced by esi.ESIPureModuleOp.add_entry_block(), handshake.FuncOp.add_entry_block(), and hw.HWModuleOp.add_entry_block().
hw.HWModuleOp.entry_block | ( | self | ) |
Definition at line 345 of file hw.py.
References esi::services::MMIO.regions.
Referenced by hw.HWModuleOp.__getattr__(), and hw.HWModuleOp.inputs().
hw.HWModuleOp.input_indices | ( | self | ) |
Definition at line 349 of file hw.py.
References 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, hw.ModuleLike.type(), fsm.MachineOp.type(), hw.HWModuleOp.type(), hw.HWModuleExternOp.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.
Referenced by hw.HWModuleOp.__getattr__(), and hw.HWModuleOp.inputs().
dict[str:Value] hw.HWModuleOp.inputs | ( | self | ) |
Definition at line 363 of file hw.py.
References hw.HWModuleOp.entry_block(), and hw.HWModuleOp.input_indices().
hw.HWModuleOp.is_external | ( | self | ) |
Definition at line 333 of file hw.py.
Referenced by hw.HWModuleOp.add_entry_block().
hw.HWModuleOp.name | ( | self | ) |
Definition at line 329 of file hw.py.
Referenced by inlineInputOnly().
dict[str:Type] hw.HWModuleOp.outputs | ( | self | ) |
Definition at line 369 of file hw.py.
References 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, hw.ModuleLike.type(), fsm.MachineOp.type(), hw.HWModuleOp.type(), hw.HWModuleExternOp.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.
hw.HWModuleOp.type | ( | self | ) |
Definition at line 325 of file hw.py.
Referenced by 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().