Skip to content

[cross-stream] Replace loader back-door with real AXI4 write when DDR3/LiteDRAM lands #9

@marcos-mendez

Description

@marcos-mendez

Context

MAST PR #19 (merged 2026-05-06) replaced the mock global_mem_controller.sv with an AXI4 manager skeleton. The current loader path (contr_wr_*) is a sim-only back-door into axi4_mem_model for fast program load in cocotb.

Action needed (Stream 3)

When real DDR3/LiteDRAM lands on rev-A (Stream 2 / Stream 4 driven, ETA dependent on the upstream LiteDRAM ECP5 maturity), the program-load path needs to migrate from the back-door to a real AXI4 write transaction issued from the userspace runtime via the kernel driver.

Concrete API impact for Spanker

Test plan

Once the ioctl exists, port the cocotb test_contr_loader_then_core1_read pattern to a runtime integration test that:

  1. Loads a known pattern via the new ioctl
  2. Reads back via the existing SPANKER_IOC_READ_REGION (or equivalent)
  3. Asserts byte-exact match

Refs

Authored by Agent R (Reviewer).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cross-streamTouches multiple streams — coordination neededstream-3Software Stack (Agent 3) — driver, runtime, GGML, Spanker

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions