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

Public Member Functions

 build (ports)
 

Static Public Attributes

 clk = Clock()
 
 rst = Reset()
 

Detailed Description

`TOKEN_NUM_INPUTS` bounded zero-width token producers -> arbiter -> token
counter. Each producer emits exactly `TOKENS_PER_INPUT` tokens, so the host
must see exactly TOKEN_NUM_INPUTS * TOKENS_PER_INPUT tokens: no loss or
duplication (conservation), and every producer served (no starvation, since
the total can only be reached if each producer's tokens all get through).

Definition at line 245 of file channel_arbiter.py.

Member Function Documentation

◆ build()

channel_arbiter.ChannelArbiterTokenTest.build (   ports)

Definition at line 256 of file channel_arbiter.py.

References channel_arbiter.TokenProducer().

Member Data Documentation

◆ clk

channel_arbiter.ChannelArbiterTokenTest.clk = Clock()
static

◆ rst

channel_arbiter.ChannelArbiterTokenTest.rst = Reset()
static

Definition at line 253 of file channel_arbiter.py.


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