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

Public Member Functions

 build (ports)
 

Static Public Attributes

 clk = Clock()
 
 rst = Reset()
 
 in_ = Input(Channel(UInt(32)))
 
 report = Output(Channel(UInt(32)))
 

Detailed Description

Drains the arbiter at full rate (`ready` tied high, so the host can never
backpressure it) and counts delivered beats over a fixed cycle window. Holds
the tally on its report channel once the window closes.

Draining in hardware is the point: the host-driven tests are rate-limited by
the cosim DPI, so they cannot observe sustained throughput at all.

Definition at line 316 of file channel_arbiter.py.

Member Function Documentation

◆ build()

channel_arbiter.ThroughputProbe.build (   ports)

Definition at line 330 of file channel_arbiter.py.

References wrap().

Member Data Documentation

◆ clk

channel_arbiter.ThroughputProbe.clk = Clock()
static

◆ in_

channel_arbiter.ThroughputProbe.in_ = Input(Channel(UInt(32)))
static

Definition at line 326 of file channel_arbiter.py.

◆ report

channel_arbiter.ThroughputProbe.report = Output(Channel(UInt(32)))
static

Definition at line 327 of file channel_arbiter.py.

◆ rst

channel_arbiter.ThroughputProbe.rst = Reset()
static

Definition at line 325 of file channel_arbiter.py.


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