CIRCT 24.0.0git
Loading...
Searching...
No Matches
test_codegen.TypedFuncStruct Class Reference
Inheritance diagram for test_codegen.TypedFuncStruct:
Collaboration diagram for test_codegen.TypedFuncStruct:

Public Member Functions

 construct (ports)

Static Public Attributes

 clk = Clock()
 rst = Reset()

Detailed Description

Typed function: small struct -> small struct.

Returns ``{x = b+1, y = b}`` so the host can verify the arithmetic and
the order of struct fields end-to-end.

Definition at line 395 of file test_codegen.py.

Member Function Documentation

◆ construct()

test_codegen.TypedFuncStruct.construct ( ports)

Definition at line 406 of file test_codegen.py.

References wrap().

Member Data Documentation

◆ clk

test_codegen.TypedFuncStruct.clk = Clock()
static

Definition at line 402 of file test_codegen.py.

◆ rst

test_codegen.TypedFuncStruct.rst = Reset()
static

Definition at line 403 of file test_codegen.py.


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