cocotb_benches.dau_streaming_top_k_tb

Attributes

K

_ROWS

Functions

top_k_matches_golden(dut)

top_k_backpressure(dut)

top_k_ties_keep_earliest_arrival(dut)

top_k_signed_key_comparison(dut)

top_k_fewer_rows_than_k(dut)

top_k_random_streams(dut)

top_k_truncated_row_reports_stream_error(dut)

_start(dut) → None

_run(dut, rows, *[, ready_pattern])

_decode_row(w0, w1)

_send_rows(dut, rows) → None

_collect_output(dut, ready_pattern)

_accept_success_status(dut) → int

_expect_error(dut) → None

_signed32(value) → int

Module Contents

cocotb_benches.dau_streaming_top_k_tb.K
cocotb_benches.dau_streaming_top_k_tb._ROWS = [(30, 0, 100, 200), (90, 1, 101, 201), (10, 2, 102, 202), (70, 3, 103, 203), (50, 4, 104, 204),...
async cocotb_benches.dau_streaming_top_k_tb.top_k_matches_golden(dut)
async cocotb_benches.dau_streaming_top_k_tb.top_k_backpressure(dut)
async cocotb_benches.dau_streaming_top_k_tb.top_k_ties_keep_earliest_arrival(dut)
async cocotb_benches.dau_streaming_top_k_tb.top_k_signed_key_comparison(dut)
async cocotb_benches.dau_streaming_top_k_tb.top_k_fewer_rows_than_k(dut)
async cocotb_benches.dau_streaming_top_k_tb.top_k_random_streams(dut)
async cocotb_benches.dau_streaming_top_k_tb.top_k_truncated_row_reports_stream_error(dut)
async cocotb_benches.dau_streaming_top_k_tb._start(dut) → None
async cocotb_benches.dau_streaming_top_k_tb._run(dut, rows, *, ready_pattern=(1,))
cocotb_benches.dau_streaming_top_k_tb._decode_row(w0, w1)
async cocotb_benches.dau_streaming_top_k_tb._send_rows(dut, rows) → None
async cocotb_benches.dau_streaming_top_k_tb._collect_output(dut, ready_pattern)
async cocotb_benches.dau_streaming_top_k_tb._accept_success_status(dut) → int
async cocotb_benches.dau_streaming_top_k_tb._expect_error(dut) → None
cocotb_benches.dau_streaming_top_k_tb._signed32(value: int) → int