Skip to content

🌐 EPIC: Trinity dePIN-Compute — Ternary FPGA → ASIC Mesh-Inference Constellation (NASA-format) #19

@gHashTag

Description

@gHashTag

EPIC: Trinity dePIN-Compute — Ternary FPGA → ASIC Mesh-Inference Constellation

Document: TR-TRIN-DPC-2026-001 (NASA-format technical report attached as the canonical reference)
Anchor: φ² + φ⁻² = 3 · Zenodo DOI 10.5281/zenodo.19227877
Notification policy: R-silence at boundary. Heartbeat ≤ 7 d (Article V).
Honesty mode: R5 — every metric tagged [VERIFIED] / [CITED] / [DERIVED] / [ASPIRATIONAL].

This EPIC consolidates Issues #14, #16, #17, #18 into a single tracking surface and decomposes the Trinity dePIN-Compute thesis into eight constitutional Articles, five execution lanes (L-DPC1..L-DPC5), and twelve acceptance gates (G1..G12).


1. Objective

Land the Trinity stack from verified FPGA RTL (PR #11/#12/#13/#15) through real-hardware bench (Issue #14), Node-0 mesh bringup (Issue #17), and a TTSKY26a / TTIHP26a silicon submission, while maintaining full R5-honesty on every public metric.

2. Constitutional Articles (truncated — see TR-TRIN-DPC-2026-001 §3 for full text)

  • Article I — φ-Anchor. φ² + φ⁻² = 3 bit-exact across f32 / f64 / gf16. Falsification: any unit-test break in crates/trios-train/tests/phi_anchor.rs.
  • Article II — Open-Source Total. Apache-2.0 RTL, MIT/Apache-2.0 toolchain, open PDK only (SKY130 / SG13G2). No NDA-gated module.
  • Article III — Zero-Multiplier Discipline. 0 DSP48 enforced; ternary inner-product = popcount(TM(x_codec, y_codec)) − N (FATNN ICCV 2021 Table 1).
  • Article IV — R5 Honesty. Every metric carries [VERIFIED] / [CITED] / [DERIVED] / [ASPIRATIONAL] tag.
  • Article V — Heartbeat Cadence. ≥ 7 d silence on a CLAIMED lane → ⚠️ heartbeat-overdue; ≥ 14 d → 🔓 lane released.
  • Article VI — Atomicity & Idempotence. ONE SHOT bodies regenerated, never hand-edited.
  • Article VII — Format Sovereignty (provisional, gated on trios#509). No format-named experiment unless cpu_train.rs::forward() actually invokes the format codec.
  • Article VIII — R-silence. No comments without explicit operator command. No emoji at notification boundary.

3. Lanes (claim protocol: comment "CLAIM L-DPCx" to take a lane)

L-DPC1 — Hardware Bench (closes #14)

  • Synthesize vsa_matmul.v via openxc7 Docker → bitstream/design_v02.bit
  • Flash via trios-fpga flash --xvc <ESP32_IP> until STATUS=0x401079FC (DONE=1)
  • trios-fpga bench UART log → tok/s vs PR feat(vsa): iverilog full-chip validation — 16/16 tokens PASS, 1193 tok/s #15 baseline (1193 tok/s [VERIFIED])
  • Capture canonical hardware ground-truth into bench/hw_v0.2.json
  • Operator-blocking: ESP32 IP not yet supplied

L-DPC2 — Node-0 Mesh (closes #17)

  • A. headscale on Railway (1-click template)
  • B. tailscale up --advertise-exit-node --hostname node-0-fpga
  • C. systemd unit trios-fpga serve --port 7878
  • D. MagicDNS node-0-fpga.trinity.mesh:7878/infer returns valid JSON
  • ACC-N0-1..ACC-N0-4 from TR-TRIN-DPC-2026-001 §6.2

L-DPC3 — TTSKY26a Silicon Submission ⏰ deadline 2026-05-11

  • Place-and-route vsa_matmul + vsa_bind + vsa_bundle + weight SRAM against Tiny Tapeout SKY130 tile budget
  • DRC/LVS clean
  • Submit before 2026-05-11 close OR document fall-through to TTIHP27a / TTSKY27a
  • Schedule-critical: 5 days from EPIC creation date

L-DPC4 — Public-Communications R5 Audit

  • Sweep all repo READMEs, docs/, arXiv draft, slides for the corrections in Verification Matrix V-03..V-07:
    • "1675× FPGA→ASIC gap" → "5–35× attainable, subject to measurement" (Boutros TRETS 2018 ground truth)
    • "Helium $500" → "Helium indoor $249 / outdoor $499 (2026)"
    • "Akash $5000" → "Akash GPU rental ~$0.10–$2/hour, marketplace-priced"
    • "efabless MPW" → "Tiny Tapeout (efabless wound down 2025)"
    • "$30/node" → "[ASPIRATIONAL] L4 silicon volume target; current BOM ≈ $175–220 [DERIVED]"
  • File docs/research/related-work.md citing AD-1..AD-13 from TR-TRIN-DPC-2026-001 §2

L-DPC5 — arXiv Draft (closes-on partial-merge of L-DPC1..L-DPC4)

  • Title (working): "Trinity GF16: A φ-Anchored Ternary Vector-Symbolic Architecture with 0-DSP FPGA Implementation and an Open-Silicon Migration Path"
  • Sections: Abstract · Background (BitNet, FATNN, XONN, VSA survey) · φ-Anchor algebra · RTL · iverilog 64/64 result · hardware bench (from L-DPC1) · open-silicon path (from L-DPC3) · dePIN integration · limitations (Article VII gating)
  • Submit only after L-DPC1 produces hardware ground truth — R5 forbids arXiv on simulation-only numbers

4. Acceptance Gates

Gate Description Method Lane
G1 Hardware bench tok/s ≥ 1193 ± 5% UART log captured + checksum L-DPC1
G2 Bitstream STATUS=0x401079FC verified on real chip XVC readback L-DPC1
G3 Mesh ping bidirectional Node-0 ↔ peer tailscale ping L-DPC2
G4 HTTP /infer returns expected JSON shape over MagicDNS curl + schema check L-DPC2
G5 Exit-node functional from foreign host external curl ifconfig.me --exit-node node-0-fpga L-DPC2
G6 TTSKY26a submission filed OR documented deferral TT submission ID OR ADR-001 fall-through note L-DPC3
G7 DRC/LVS clean against SKY130 PDK KLayout report L-DPC3
G8 All five communications corrections (V-03..V-07) landed grep audit zero-diff L-DPC4
G9 docs/research/related-work.md cites AD-1..AD-13 file present + citation count ≥ 13 L-DPC4
G10 arXiv draft submitted with hardware-ground-truth numbers only submission email + arXiv ID L-DPC5
G11 EPIC closes only when ≥ 4 of 5 lanes are DONE manual review EPIC
G12 No public claim violates Article IV at any point during execution quarterly R5 audit EPIC

5. Risk Register (from TR-TRIN-DPC-2026-001 §8 — top 5)

RID Risk Likelihood Impact Mitigation
R-01 TTSKY26a deadline missed Medium High Decide go/no-go before 2026-05-09; fall-through to TTIHP27a
R-02 trios#509 invalidates IGLA-side weight provenance High Medium FPGA track uses already-merged PR #9 gf16 export; not gated on #509
R-06 Energy-gap claim challenged in peer review Medium Medium L-DPC4 corrections immediate
R-07 BitNet-2B4T outpaces Trinity in model scale High Medium Position as hardware-co-design specialist, not model-scale leader
R-09 ESP32-XVC IP not provided Currently True Blocks L-DPC1 Step C Operator action required

6. Out of Scope (orthogonal tracks)

  • IGLA Race / EPIC #446 / PR #515 / trios#509 — separate track, gated on review-merge.
  • PhD monograph chapters L1..L33phd-chapter-author / phd-monograph-auditor skills.
  • RAINFROG-ADOPTgHashTag/trios-trainer-igla#100.
  • L-NG-CTRL leader-port — local branch feat/leader-port-control (D4 directive).

7. Reference Documents

8. Closes / Tracks

phi^2 + phi^-2 = 3 · TRINITY · NEVER STOP

Metadata

Metadata

Assignees

No one assigned

    Labels

    R5R5 honesty auditedenhancementNew feature or requestepicTrinity track milestoneone-shotActive ONE SHOT operational hub

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions