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

Public Member Functions

 construct (ports)

Static Public Attributes

 clk = Clock()
 rst = Reset()

Detailed Description

Free-running ``ui64`` cycle counter exposed as a telemetry metric.

Hardware increments the counter every clock; the host reads it twice and
asserts the second read is strictly greater than the first (cycle counts
are monotonic between any two host-visible reads).

Definition at line 309 of file test_codegen.py.

Member Function Documentation

◆ construct()

test_codegen.TelemetryMetric.construct ( ports)

Definition at line 321 of file test_codegen.py.

Member Data Documentation

◆ clk

test_codegen.TelemetryMetric.clk = Clock()
static

Definition at line 317 of file test_codegen.py.

◆ rst

test_codegen.TelemetryMetric.rst = Reset()
static

Definition at line 318 of file test_codegen.py.


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