CIRCT 21.0.0git
|
Public Member Functions | |
__init__ (self, HWModule owner, cpp.BundlePort cpp_port) | |
connect (self, Callable[[Any], Any] cb) | |
![]() | |
__new__ (cls, HWModule owner, cpp.BundlePort cpp_port) | |
WritePort | write_port (self, str channel_name) |
ReadPort | read_port (self, str channel_name) |
Public Attributes | |
arg_type | |
result_type | |
connected | |
![]() | |
owner | |
cpp_port | |
Callback ports are the inverse of function ports -- instead of calls to the accelerator, they get called from the accelerator. Specify the function which you'd like the accelerator to call when you call `connect`.
esiaccel.types.CallbackPort.__init__ | ( | self, | |
HWModule | owner, | ||
cpp.BundlePort | cpp_port | ||
) |
Reimplemented from esiaccel.types.BundlePort.
Definition at line 471 of file types.py.
References esiaccel.types.CallbackPort.__init__().
Referenced by esiaccel.types.CallbackPort.__init__().
esiaccel.types.CallbackPort.connect | ( | self, | |
Callable[[Any], Any] | cb | ||
) |
Definition at line 477 of file types.py.
References esiaccel.types.FunctionPort.arg_type, esiaccel.types.CallbackPort.arg_type, esiaccel.types.CallbackPort.connect(), esi::Engine.connected, esi::WriteChannelPort.connected, esiaccel.types.FunctionPort.connected, esiaccel.types.CallbackPort.connected, esiaccel.types.TelemetryPort.connected, esiaccel.types.Port.cpp_port, esiaccel.types.BundlePort.cpp_port, esiaccel.types.MessageFuture.result_type, esiaccel.types.FunctionPort.result_type, and esiaccel.types.CallbackPort.result_type.
Referenced by esiaccel.types.CallbackPort.connect().
esiaccel.types.CallbackPort.arg_type |
Definition at line 473 of file types.py.
Referenced by esiaccel.types.FunctionPort.call(), and esiaccel.types.CallbackPort.connect().
esiaccel.types.CallbackPort.connected |
Definition at line 475 of file types.py.
Referenced by esiaccel.types.FunctionPort.connect(), esiaccel.types.TelemetryPort.connect(), and esiaccel.types.CallbackPort.connect().
esiaccel.types.CallbackPort.result_type |
Definition at line 474 of file types.py.
Referenced by esiaccel.types.FunctionPort.call(), esiaccel.types.CallbackPort.connect(), and esiaccel.types.MessageFuture.result().