cocotb_benches.dau_wide_row_map_alu_tb

Wide-lane row map/ALU, golden-equal to map_row_fields.

Attributes

_MASK32

Functions

sustained_ingest_meets_registry_floor(dut)

random_ragged_rows_match_golden_under_backpressure(dut)

pads_pass_untouched_and_are_not_transformed(dut)

minus_one_source_fields_in_a_real_row_are_transformed(dut)

invalid_config_drains_and_reports_error(dut)

back_to_back_batches_relatch_config(dut)

_signed32(value) → int

_random_row(rng) → tuple[int, int, int, int]

_decode_row(bits) → tuple[int, int, int, int]

_decode_non_pad_rows(beats, slots) → list[tuple[int, int, int, int]]

_expected_beats(input_beats, slots, config) → list[int]

_all_pad_beat(slots) → int

_drive_config(dut, config) → None

_start(dut) → None

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

_collect_output(dut, ready_pattern, *, expect_beats) → list[int]

_assert_quiescent(dut) → None

_expect_error(dut, code) → None

Module Contents

cocotb_benches.dau_wide_row_map_alu_tb._MASK32 = 4294967295
async cocotb_benches.dau_wide_row_map_alu_tb.sustained_ingest_meets_registry_floor(dut)
async cocotb_benches.dau_wide_row_map_alu_tb.random_ragged_rows_match_golden_under_backpressure(dut)
async cocotb_benches.dau_wide_row_map_alu_tb.pads_pass_untouched_and_are_not_transformed(dut)
async cocotb_benches.dau_wide_row_map_alu_tb.minus_one_source_fields_in_a_real_row_are_transformed(dut)
async cocotb_benches.dau_wide_row_map_alu_tb.invalid_config_drains_and_reports_error(dut)
async cocotb_benches.dau_wide_row_map_alu_tb.back_to_back_batches_relatch_config(dut)
cocotb_benches.dau_wide_row_map_alu_tb._signed32(value: int) → int
cocotb_benches.dau_wide_row_map_alu_tb._random_row(rng: random.Random) → tuple[int, int, int, int]
cocotb_benches.dau_wide_row_map_alu_tb._decode_row(bits: int) → tuple[int, int, int, int]
cocotb_benches.dau_wide_row_map_alu_tb._decode_non_pad_rows(beats, slots: int) → list[tuple[int, int, int, int]]
cocotb_benches.dau_wide_row_map_alu_tb._expected_beats(input_beats, slots: int, config: dau_core.operators.RowMapConfig) → list[int]
cocotb_benches.dau_wide_row_map_alu_tb._all_pad_beat(slots: int) → int
cocotb_benches.dau_wide_row_map_alu_tb._drive_config(dut, config: dau_core.operators.RowMapConfig) → None
async cocotb_benches.dau_wide_row_map_alu_tb._start(dut) → None
async cocotb_benches.dau_wide_row_map_alu_tb._run(dut, rows, config: dau_core.operators.RowMapConfig, *, ready_pattern=(1,), input_beats=None)
async cocotb_benches.dau_wide_row_map_alu_tb._collect_output(dut, ready_pattern, *, expect_beats: int) → list[int]
async cocotb_benches.dau_wide_row_map_alu_tb._assert_quiescent(dut) → None
async cocotb_benches.dau_wide_row_map_alu_tb._expect_error(dut, code: int) → None