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

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.

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

◆ 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: