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

Public Member Functions

 construct (ports)

Static Public Attributes

 clk = Clock()
 rst = Reset()

Detailed Description

Hardware-initiated call into the host via `CallService`.

The trigger is an MMIO write at offset ``0x10`` (whose write data forms
the ``payload``) so the driver can deterministically time when the
callback fires. The callback returns no payload (``Bits(0)`` is the void
encoding); the host-side handler increments a counter so the driver can
assert it actually ran.

Definition at line 134 of file test_codegen.py.

Member Function Documentation

◆ construct()

test_codegen.CallServiceCallback.construct ( ports)

Definition at line 148 of file test_codegen.py.

References wrap().

Member Data Documentation

◆ clk

test_codegen.CallServiceCallback.clk = Clock()
static

Definition at line 144 of file test_codegen.py.

◆ rst

test_codegen.CallServiceCallback.rst = Reset()
static

Definition at line 145 of file test_codegen.py.


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