|
CIRCT 23.0.0git
|


Public Member Functions | |
| construct (ports) | |
Static Public Attributes | |
| clk = Clock() | |
| rst = Reset() | |
Typed function with a multi-field argument struct. Exercises ``TypedFunction``'s emplace-style ``call(...)`` overload, which forwards its arguments into the generated arg struct's constructor so the C++ driver can call ``connected->call(a, b)`` instead of building the struct itself. The body computes ``a * b`` and returns it as ``ui32``.
Definition at line 44 of file test_codegen.py.
| test_codegen.TypedFuncMultiArg.construct | ( | ports | ) |
Definition at line 57 of file test_codegen.py.
References wrap().
|
static |
Definition at line 53 of file test_codegen.py.
Referenced by esiaccel.bsp.common.ESI_Manifest_ROM_Wrapper.build().
|
static |
Definition at line 54 of file test_codegen.py.