CIRCT
20.0.0git
|
Public Member Functions | |
def | __init__ (self, BundlePort owner, cpp.ReadChannelPort cpp_port) |
object | read (self) |
Public Member Functions inherited from esiaccel.types.Port | |
def | __init__ (self, BundlePort owner, cpp.ChannelPort cpp_port) |
def | connect (self, Optional[int] buffer_size=None) |
def | disconnect (self) |
Additional Inherited Members | |
Public Attributes inherited from esiaccel.types.Port | |
owner | |
cpp_port | |
type | |
A unidirectional communication channel from the accelerator to the host.
def esiaccel.types.ReadPort.__init__ | ( | self, | |
BundlePort | owner, | ||
cpp.ReadChannelPort | cpp_port | ||
) |
Definition at line 344 of file types.py.
References esiaccel.types.Port.cpp_port, and esiaccel.types.BundlePort.cpp_port.
object esiaccel.types.ReadPort.read | ( | self | ) |
Read a typed message from the channel. Returns a deserialized object of a type defined by the port type.
Definition at line 348 of file types.py.
References esiaccel.types.Port.cpp_port, esiaccel.types.BundlePort.cpp_port, 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::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, EmittedExpr.type, and FunctionRewrite.type.