cocotb_benches.dau_wide_field_sum_aggregation_tb

Wide-lane field-sum terminal: SLOTS whole quad rows per beat, one beat per cycle, golden-equal to field_sum_rows. The all-ones 128-bit PAD row (ragged tails, upstream drop-by-pad) is neither summed nor counted; the record/close-out protocol is byte-identical to the 64-bit tile. The width-agnostic collect/status harness is shared with the 64-bit bench.

Attributes

_PAD_ROW

Functions

_slots(dut) → int

_row_bits(row) → int

_beats(rows, slots) → list[int]

_send_beats(dut, beats) → None

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

_random_rows(rng, count)

sustained_ingest_meets_registry_floor(dut)

wide_sums_match_the_64_bit_golden(dut)

pad_rows_are_neither_summed_nor_counted(dut)

all_ones_fields_still_sum_when_the_row_is_not_pad(dut)

a_trailing_all_pad_beat_closes_the_batch(dut)

backpressured_record_drain_is_stable(dut)

zero_mask_drains_and_reports_config_error(dut)

back_to_back_batches_relatch_the_mask(dut)

Module Contents

cocotb_benches.dau_wide_field_sum_aggregation_tb._PAD_ROW = 340282366920938463463374607431768211455
cocotb_benches.dau_wide_field_sum_aggregation_tb._slots(dut) → int
cocotb_benches.dau_wide_field_sum_aggregation_tb._row_bits(row) → int
cocotb_benches.dau_wide_field_sum_aggregation_tb._beats(rows, slots: int) → list[int]
async cocotb_benches.dau_wide_field_sum_aggregation_tb._send_beats(dut, beats) → None
async cocotb_benches.dau_wide_field_sum_aggregation_tb._run(dut, rows, *, field_mask: int, ready_pattern=(1,), beats=None)
cocotb_benches.dau_wide_field_sum_aggregation_tb._random_rows(rng: random.Random, count: int)
async cocotb_benches.dau_wide_field_sum_aggregation_tb.sustained_ingest_meets_registry_floor(dut)
async cocotb_benches.dau_wide_field_sum_aggregation_tb.wide_sums_match_the_64_bit_golden(dut)
async cocotb_benches.dau_wide_field_sum_aggregation_tb.pad_rows_are_neither_summed_nor_counted(dut)
async cocotb_benches.dau_wide_field_sum_aggregation_tb.all_ones_fields_still_sum_when_the_row_is_not_pad(dut)
async cocotb_benches.dau_wide_field_sum_aggregation_tb.a_trailing_all_pad_beat_closes_the_batch(dut)
async cocotb_benches.dau_wide_field_sum_aggregation_tb.backpressured_record_drain_is_stable(dut)
async cocotb_benches.dau_wide_field_sum_aggregation_tb.zero_mask_drains_and_reports_config_error(dut)
async cocotb_benches.dau_wide_field_sum_aggregation_tb.back_to_back_batches_relatch_the_mask(dut)