cocotb_benches.dau_asof_feature_chain_tb

Attributes

_QUOTES

_TRADES

Functions

_merge(quotes, trades)

_expected(quotes, trades, *[, tolerance])

chain_matches_align_then_derive_golden(dut)

chain_backpressure_both_sides(dut)

chain_with_tolerance(dut)

chain_exposes_the_match_count_at_terminal_status(dut)

chain_all_miss_still_closes_out(dut)

chain_propagates_an_asof_error(dut)

chain_propagates_an_error_after_prior_matches(dut)

_start(dut) → None

_run(dut, records, *[, ready_pattern, tolerance])

_decode(words) → dau_core.temporal.MarketFeatures

_send_records(dut, records) → None

_collect_output(dut, ready_pattern)

_accept_success_status(dut) → int

_s32(value) → int

_s64(value) → int

Module Contents

cocotb_benches.dau_asof_feature_chain_tb._QUOTES = [(570, 100, 10, 12), (570, 105, 11, 13), (570, 120, 9, 11), (571, 100, 50, 52), (571, 110, 51, 54)]
cocotb_benches.dau_asof_feature_chain_tb._TRADES = [(570, 99, 11, 5), (570, 100, 12, 3), (570, 107, 13, 2), (570, 130, 8, 1), (571, 105, 53, 7),...
cocotb_benches.dau_asof_feature_chain_tb._merge(quotes, trades)
cocotb_benches.dau_asof_feature_chain_tb._expected(quotes, trades, *, tolerance=None)
async cocotb_benches.dau_asof_feature_chain_tb.chain_matches_align_then_derive_golden(dut)
async cocotb_benches.dau_asof_feature_chain_tb.chain_backpressure_both_sides(dut)
async cocotb_benches.dau_asof_feature_chain_tb.chain_with_tolerance(dut)
async cocotb_benches.dau_asof_feature_chain_tb.chain_exposes_the_match_count_at_terminal_status(dut)
async cocotb_benches.dau_asof_feature_chain_tb.chain_all_miss_still_closes_out(dut)
async cocotb_benches.dau_asof_feature_chain_tb.chain_propagates_an_asof_error(dut)
async cocotb_benches.dau_asof_feature_chain_tb.chain_propagates_an_error_after_prior_matches(dut)
async cocotb_benches.dau_asof_feature_chain_tb._start(dut) → None
async cocotb_benches.dau_asof_feature_chain_tb._run(dut, records, *, ready_pattern=(1,), tolerance=None)
cocotb_benches.dau_asof_feature_chain_tb._decode(words) → dau_core.temporal.MarketFeatures
async cocotb_benches.dau_asof_feature_chain_tb._send_records(dut, records) → None
async cocotb_benches.dau_asof_feature_chain_tb._collect_output(dut, ready_pattern)
async cocotb_benches.dau_asof_feature_chain_tb._accept_success_status(dut) → int
cocotb_benches.dau_asof_feature_chain_tb._s32(value: int) → int
cocotb_benches.dau_asof_feature_chain_tb._s64(value: int) → int