Files
FPGA-Neural/docs/validation/11-toolchain.md
T
micheleandClaude Sonnet 5 8d20a7bfbf docs: certify C.9-C.14 + cross-cutting analyses D
C.9 (pinout): certified citing this session's own F1-F7 work; also
regenerated a real bitstream for the CURRENT full-system build
(ecppack, 0 errors, real part header) rather than relying on an older
pre-flash build's bitstream.

C.10 (timing): certified citing Fmax re-measured at every structural
change this session (54.58->75.30->73.88->66.68->67.91MHz), critical
path re-verified identical at every re-synthesis.

C.11 (toolchain): full RTL->Yosys->nextpnr-ecp5->ecppack flow re-run
on the current build, 0 errors at every stage. Real-silicon behavior
explicitly declared NOT certifiable (no physical hardware available).

C.12 (netasm): certified citing 20/20 tests plus a real hardware
round-trip already demonstrated earlier this session.

C.13 (datasheet/RTL coherence): real, current discrepancy found and
declared -- none of this campaign's 7 bugs (BUG-001-007) are yet
mentioned in the datasheet or engine spec doc. Correct and expected
(found after those docs were last updated), flagged as required
follow-up after the campaign completes.

C.14: page-mode PSRAM and the flash subsystem are actually COMPLETE,
not "in progress" as the certification prompt assumed -- verified
against real repo state.

D (cross-cutting): CDC certified via C.7. Reset scheme found by
exhaustive grep across all 20 RTL files to be synchronous-only
everywhere (no posedge rst anywhere) -- a real fact, differs from the
prompt's async-assert/sync-deassert phrasing, not a defect. FSM: the
campaign's own BUG-002-007 ARE FSM defects, found and documented, but
no exhaustive reachability analysis of every FSM was done (stated
reserve). Width/overflow: 2 real cases found across the whole session.
Lint: full-system Yosys check, one real warning (known PSRAM tristate),
zero accidental latches confirmed signal-by-signal (25 explicit
confirmations). Determinism: no real non-determinism found (the one
apparent inconsistency, BUG-003, traced to genuinely different test
stimuli between attempts, not unstable behavior for identical stimuli).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013xXuuRUWZScuo1DeYJxs3v
2026-09-04 18:53:58 +02:00

28 lines
1.2 KiB
Markdown

# C.11 — Toolchain / build (Yosys → nextpnr-ecp5 → `ecppack` → `.bit` reale)
Data: 2026-09-04.
## Evidenza
- **Flusso completo eseguito end-to-end sul build corrente**, non solo in passato su build
più vecchi:
```
yosys -p "synth_ecp5 -json top.json -top spi_neuron_top" <20 file RTL>
→ 0 problemi CHECK
nextpnr-ecp5 --45k --package CABGA381 --speed 8 --json top.json --lpf spi_neuron_top.lpf
→ 0 errori di vincolo, "Program finished normally", Fmax 67.91 MHz
ecppack --compress top.config /tmp/current_full_system.bit
→ 0 errori, 319747 byte, header "Part: LFE5U-45F-8CABGA381" verificato
```
Rieseguito in questa fase (non solo citato da build precedenti in `WORKLOG.md`).
- **Non testato**: programmazione su hardware fisico reale (nessuna scheda disponibile in
questo ambiente) — dichiarato esplicitamente come limite fin dalle prime fasi del
progetto, non nascosto.
## Verdetto
**CERTIFICATO** per la parte verificabile in questo ambiente (RTL→bitstream, 0 errori ad
ogni stadio, sul build corrente). **NON CERTIFICABILE in questa campagna**: comportamento
su silicio reale (nessun hardware fisico disponibile) — limite dichiarato esplicitamente
per §A.5, non una lacuna nascosta.