CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
test_codegen.IndexedFuncGroup Class Reference
Inheritance diagram for test_codegen.IndexedFuncGroup:
Inheritance graph
[legend]
Collaboration diagram for test_codegen.IndexedFuncGroup:
Collaboration graph
[legend]

Public Member Functions

 construct (ports)
 

Static Public Attributes

 num_entries = Constant(UInt(8), 3)
 
 clk = Clock()
 
 rst = Reset()
 

Detailed Description

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.

Member Function Documentation

◆ construct()

test_codegen.IndexedFuncGroup.construct (   ports)

Definition at line 348 of file test_codegen.py.

References wrap().

Member Data Documentation

◆ clk

test_codegen.IndexedFuncGroup.clk = Clock()
static

Definition at line 344 of file test_codegen.py.

Referenced by esiaccel.bsp.common.ESI_Manifest_ROM_Wrapper.build().

◆ num_entries

test_codegen.IndexedFuncGroup.num_entries = Constant(UInt(8), 3)
static

Definition at line 342 of file test_codegen.py.

◆ rst

test_codegen.IndexedFuncGroup.rst = Reset()
static

Definition at line 345 of file test_codegen.py.


The documentation for this class was generated from the following file: