Skip to content

[arch] Expand addr_width to 48 bits and data_width to 256 bits in src/const.sv #1

@marcos-mendez

Description

@marcos-mendez

Upstream uses 32-bit addresses (max 4 GB) and 32-bit data path. For 128 GB+ products and modern cache lines, expand to:

  • addr_width = 48 (256 TB physical address space, fits any planned Sail)
  • data_width = 256 (32-byte cache line)

Tasks:

  • Update src/const.sv parameters
  • Audit all upstream code paths that depend on 32-bit assumptions (mem_simulated_delay logic, RISC-V instruction encoding, register file width)
  • Update mock memory controller widths
  • Add regression test that exercises addresses > 4 GB
  • Document the change as ADR-005 (RVA23 + RVV + matrix profile)

References: docs/popsolutions/ADRS.md (ADR-005 placeholder).

Metadata

Metadata

Assignees

No one assigned

    Labels

    stream-1RTL Architect (Agent 1) — SystemVerilog, cocotb, MAST primary

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions