|
CIRCT 24.0.0git
|


Public Member Functions | |
| __init__ (self, HWModule owner, cpp.BundlePort cpp_port) | |
| connect (self, Callable[[Any], Any] cb) | |
| Public Member Functions inherited from esiaccel.types.BundlePort | |
| __new__ (cls, HWModule owner, cpp.BundlePort cpp_port) | |
| __init__ (self, HWModule owner, cpp.BundlePort cpp_port) | |
| WritePort | write_port (self, str channel_name) |
| ReadPort | read_port (self, str channel_name) |
Public Attributes | |
| arg_type = arg_port.type | |
| arg_window_type = arg_port.window_type | |
| result_type = result_port.type | |
| result_window_type = result_port.window_type | |
| bool | connected = False |
| Public Attributes inherited from esiaccel.types.BundlePort | |
| owner = owner | |
| cpp_port = 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 ) |
Definition at line 777 of file types.py.
References __init__(), and esiaccel.types.BundlePort.read_port().
Referenced by __init__().
| esiaccel.types.CallbackPort.connect | ( | self, | |
| Callable[[Any], Any] | cb ) |
Definition at line 787 of file types.py.
References arg_type, esiaccel.types.FunctionPort.arg_type, connect(), esi::Engine.connected, esi::services::ChannelService::FromHost.connected, esi::services::ChannelService::ToHost.connected, esi::services::FuncService::Function.connected, esi::WriteChannelPort.connected, connected, esiaccel.types.FunctionPort.connected, RpcServerReadPort.connected, esiaccel.types.BundlePort.cpp_port, esiaccel.types.Port.cpp_port, esiaccel.types.ReadPort.cpp_port, esiaccel.types.WritePort.cpp_port, result_type, esiaccel.types.FunctionPort.result_type, and esiaccel.types.MessageFuture.result_type.
Referenced by connect().
| esiaccel.types.CallbackPort.arg_type = arg_port.type |
| esiaccel.types.CallbackPort.arg_window_type = arg_port.window_type |
| bool esiaccel.types.CallbackPort.connected = False |
Definition at line 785 of file types.py.
Referenced by connect(), esiaccel.types.FromHostPort.connect(), esiaccel.types.MetricPort.connect(), and esiaccel.types.ToHostPort.connect().
| esiaccel.types.CallbackPort.result_type = result_port.type |
| esiaccel.types.CallbackPort.result_window_type = result_port.window_type |