test_xdma_poc_script

Attributes

SCRIPT_PATH

REGISTER_WINDOW_OFFSET

REGISTER_WINDOW_BYTES

poc

Functions

load_poc_module()

write_composition_register_image(user_path, *[, ...]) → None

BAR image of a composition top: the identity fallthrough reads all-ones

test_health_offsets_are_mapped_contract_registers_inside_the_window() → None

test_bar_health_passes_on_composition_top_register_image(...) → None

test_bar_health_offsets_follow_a_non_default_register_window(...) → None

test_bar_health_still_surfaces_all_ones_on_a_mapped_register(...) → None

Module Contents

test_xdma_poc_script.SCRIPT_PATH
test_xdma_poc_script.REGISTER_WINDOW_OFFSET = 4096
test_xdma_poc_script.REGISTER_WINDOW_BYTES = 4096
test_xdma_poc_script.load_poc_module()
test_xdma_poc_script.poc = None
test_xdma_poc_script.write_composition_register_image(user_path: pathlib.Path, *, operator_bitmap: int = 30, register_window_offset: int = REGISTER_WINDOW_OFFSET) → None

BAR image of a composition top: the identity fallthrough reads all-ones everywhere except the mapped window-relative contract registers.

test_xdma_poc_script.test_health_offsets_are_mapped_contract_registers_inside_the_window() → None
test_xdma_poc_script.test_bar_health_passes_on_composition_top_register_image(tmp_path: pathlib.Path) → None
test_xdma_poc_script.test_bar_health_offsets_follow_a_non_default_register_window(tmp_path: pathlib.Path) → None
test_xdma_poc_script.test_bar_health_still_surfaces_all_ones_on_a_mapped_register(tmp_path: pathlib.Path) → None