|
CIRCT 23.0.0git
|


Public Member Functions | |
| construct (ports) | |
Static Public Attributes | |
| num_entries = Constant(UInt(8), 3) | |
| clk = Clock() | |
| rst = Reset() | |
Module exposing an indexed array of typed-function ports. Instantiates ``num_entries`` ``FuncService`` ports under the same appid name ``call`` with indices 0..N-1 -- the codegen groups them into a single ``IndexedPorts<TypedFunction<...>>`` member, which the C++ driver iterates over (``connected->call[i]``). Each entry returns ``arg + (i+1)``, so the driver can verify it talked to the right index by sending the same arg to every entry and comparing replies.
Definition at line 331 of file test_codegen.py.
| test_codegen.IndexedFuncGroup.construct | ( | ports | ) |
Definition at line 348 of file test_codegen.py.
References wrap().
|
static |
Definition at line 344 of file test_codegen.py.
Referenced by esiaccel.bsp.common.ESI_Manifest_ROM_Wrapper.build().
|
static |
Definition at line 342 of file test_codegen.py.
|
static |
Definition at line 345 of file test_codegen.py.