Skip to content

[arch] ADR-014 — Inter-card link architecture choice (multi-card parallelism) #9

@marcos-mendez

Description

@marcos-mendez

User requirement (2026-05-05): multiple PopSolutions Sails cards must aggregate compute capacity. 'várias destas placas precisam funcionar em paralelo ou seja deve existir algum mecanismo de paralelização de processos para que estas placas possam juntas somar capacidade de processamento.'

This is a first-class architectural requirement on equal footing with cooperative governance (ADR-010), license stack (ADR-001), and verification methodology (Verilator + cocotb).

Decision needed

Which inter-card link architecture does MAST commit to?

Option Cost Bandwidth Open-source IP Notes
PCIe peer-to-peer cheapest (already in PCIe shim) host-mediated, 8 GB/s on Gen4 x4 LitePCIe + standard kernel drivers starts free; bottlenecks on host CPU
CXL.cache / CXL.mem high (datacenter spec) very high, coherent nascent open implementations aligns with future trajectory but immature
Custom LVDS over backplane low (we own the protocol) moderate, scales with lane count we write it; minimal upstream maximum freedom; requires software stack from scratch
Hybrid medium best of both mixed PCIe for setup/control, custom for fast path

Tasks

  • Survey state of open-source CXL implementations (LiteX, Migen-based, OpenCAPI-derived)
  • Bandwidth model for the three reference workloads (TinyLlama-1.1B, Llama-7B, Llama-70B) under tensor parallelism with N=2/4/8 cards
  • Decision ADR (docs/popsolutions/adr/0014-intercard-link.md)
  • Spawn follow-up issues for the chosen path (RTL interconnect skeleton, PHY constraints, connector spec)

References: project memory entry project_multicard_parallelism.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cross-streamTouches multiple streams — coordination neededstream-1RTL Architect (Agent 1) — SystemVerilog, cocotb, MAST primary

    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