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

Public Member Functions

 construct (ports)

Static Public Attributes

 clk = Clock()
 rst = Reset()

Detailed Description

Typed function with a void argument (typed-result specialization).

The C++ driver invokes ``connected->call().get()`` and asserts the constant
token comes back. Hardware sends ``0xCAFEF00D`` on every call so a wrong-
byte-order bug in the result path fails distinguishably.

Definition at line 75 of file test_codegen.py.

Member Function Documentation

◆ construct()

test_codegen.TypedFuncVoidArg.construct ( ports)

Definition at line 87 of file test_codegen.py.

References wrap().

Member Data Documentation

◆ clk

test_codegen.TypedFuncVoidArg.clk = Clock()
static

Definition at line 83 of file test_codegen.py.

◆ rst

test_codegen.TypedFuncVoidArg.rst = Reset()
static

Definition at line 84 of file test_codegen.py.


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