|
CIRCT 24.0.0git
|


Public Member Functions | |
| __init__ (self, HWModule owner, cpp.BundlePort cpp_port) | |
| connect (self) | |
| Future | call (self, *Any args, **Any kwargs) |
| Future | __call__ (self, *Any args, **Any kwds) |
| 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 | |
A pair of channels which carry the input and output of a function.
| esiaccel.types.FunctionPort.__init__ | ( | self, | |
| HWModule | owner, | ||
| cpp.BundlePort | cpp_port ) |
Definition at line 730 of file types.py.
References __init__(), and esiaccel.types.BundlePort.write_port().
Referenced by __init__().
| Future esiaccel.types.FunctionPort.__call__ | ( | self, | |
| *Any | args, | ||
| **Any | kwds ) |
Definition at line 768 of file types.py.
References circt::ImportVerilog::Context::PendingMonitor.call, esi::backends::cosim::RpcClient::Impl.call(), esi::services::FuncService::Function.call(), esi::TypedFunction< ArgT, ResultT, SkipTypeCheck >.call(), esi::TypedFunction< ArgT, ResultT, SkipTypeCheck >.call(), esi::TypedFunction< ArgT, void, SkipTypeCheck >.call(), esi::TypedFunction< ArgT, void, SkipTypeCheck >.call(), esi::TypedFunction< void, ResultT, SkipTypeCheck >.call(), esi::TypedFunction< void, void, SkipTypeCheck >.call(), call(), FunctionCallFrame.call, and OutlinedArc.call.
| Future esiaccel.types.FunctionPort.call | ( | self, | |
| *Any | args, | ||
| **Any | kwargs ) |
Call the function with the given argument and returns a future of the result.
Definition at line 744 of file types.py.
References arg_type, call(), esiaccel.types.BundlePort.cpp_port, esiaccel.types.Port.cpp_port, esiaccel.types.ReadPort.cpp_port, esiaccel.types.WritePort.cpp_port, result_type, and esiaccel.types.MessageFuture.result_type.
Referenced by __call__(), and call().
| esiaccel.types.FunctionPort.connect | ( | self | ) |
Definition at line 740 of file types.py.
References connect(), esi::Engine.connected, esi::services::ChannelService::FromHost.connected, esi::services::ChannelService::ToHost.connected, esi::services::FuncService::Function.connected, esi::WriteChannelPort.connected, connected, RpcServerReadPort.connected, esiaccel.types.BundlePort.cpp_port, esiaccel.types.Port.cpp_port, esiaccel.types.ReadPort.cpp_port, and esiaccel.types.WritePort.cpp_port.
Referenced by connect().
| esiaccel.types.FunctionPort.arg_type = arg_port.type |
Definition at line 733 of file types.py.
Referenced by call(), and esiaccel.types.CallbackPort.connect().
| esiaccel.types.FunctionPort.arg_window_type = arg_port.window_type |
| bool esiaccel.types.FunctionPort.connected = False |
Definition at line 738 of file types.py.
Referenced by esiaccel.types.CallbackPort.connect(), esiaccel.types.FromHostPort.connect(), connect(), esiaccel.types.MetricPort.connect(), and esiaccel.types.ToHostPort.connect().
| esiaccel.types.FunctionPort.result_type = result_port.type |
Definition at line 736 of file types.py.
Referenced by call(), and esiaccel.types.CallbackPort.connect().
| esiaccel.types.FunctionPort.result_window_type = result_port.window_type |