CIRCT 22.0.0git
Loading...
Searching...
No Matches
Public Member Functions | List of all members
esiaccel.types.ReadPort Class Reference
Inheritance diagram for esiaccel.types.ReadPort:
Inheritance graph
[legend]
Collaboration diagram for esiaccel.types.ReadPort:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, BundlePort owner, cpp.ReadChannelPort cpp_port)
 
object read (self)
 
- Public Member Functions inherited from esiaccel.types.Port
 connect (self, Optional[int] buffer_size=None)
 
 disconnect (self)
 

Additional Inherited Members

- Public Attributes inherited from esiaccel.types.Port
 owner
 
 cpp_port
 
 type
 

Detailed Description

A unidirectional communication channel from the accelerator to the host.

Definition at line 382 of file types.py.

Constructor & Destructor Documentation

◆ __init__()

esiaccel.types.ReadPort.__init__ (   self,
BundlePort  owner,
cpp.ReadChannelPort  cpp_port 
)

Member Function Documentation

◆ read()

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 389 of file types.py.

References esiaccel.types.Port.cpp_port, esiaccel.types.BundlePort.cpp_port, esiaccel.types.ReadPort.read(), FIRRTLBundleField.type, FIRRTLClassElement.type, HWStructFieldInfo.type, HWUnionFieldInfo.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::rtg::DictEntry.type, circt::systemc::detail::PortInfo.type, hw.ModuleLike.type(), fsm.MachineOp.type(), hw.HWModuleOp.type(), hw.HWModuleExternOp.type(), sv.SVVerbatimModuleOp.type(), Python.support.OpOperand.type(), esi::backends::cosim::RpcClient::ChannelDesc.type, esi::Constant.type, esi::ChannelAssignment.type, esi::ChannelPort.type, esi::BundlePort.type, esiaccel.types.Port.type, ResetSignal.type, Property.type, NonHWField.type, FlatBundleFieldEntry.type, Def.type, SetStorage.type, BagStorage.type, ArrayStorage.type, ImmediateSliceStorage.type, IdentityValue.type, EmittedExpr.type, and FunctionRewrite.type.

Referenced by esiaccel.types.ReadPort.read().


The documentation for this class was generated from the following file: