|
CIRCT 22.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) | |
| WritePort | write_port (self, str channel_name) |
| ReadPort | read_port (self, str channel_name) |
Public Attributes | |
| arg_type | |
| result_type | |
| connected | |
Public Attributes inherited from esiaccel.types.BundlePort | |
| 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 522 of file types.py.
References esiaccel.types.CallbackPort.__init__().
Referenced by esiaccel.types.CallbackPort.__init__(), synth.LongestPathCollection.drop_non_critical_paths(), and synth.LongestPathCollection.merge().
| esiaccel.types.CallbackPort.connect | ( | self, | |
| Callable[[Any], Any] | cb | ||
| ) |
Definition at line 528 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, esi::services::FuncService::Function.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 524 of file types.py.
Referenced by esiaccel.types.FunctionPort.call(), and esiaccel.types.CallbackPort.connect().
| esiaccel.types.CallbackPort.connected |
Definition at line 526 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 525 of file types.py.
Referenced by esiaccel.types.FunctionPort.call(), esiaccel.types.CallbackPort.connect(), and esiaccel.types.MessageFuture.result().