Commit Graph

4 Commits

Author SHA1 Message Date
cah
1678f6b7de feat: add LDPC demo firmware and cocotb test
Demo firmware runs clean decode + noisy decode (vector 0) and reports
pass/fail on GPIO[7:0]. All 5 cocotb tests pass: ldpc_basic, ldpc_noisy,
ldpc_max_iter, ldpc_back_to_back, and ldpc_demo.

Also adds .cf/project.json with GPIO configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 22:28:46 -07:00
cah
c74ab93ae5 test: add noisy, max_iter, and back-to-back cocotb tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 21:04:51 -07:00
cah
885554102f test: add cocotb LDPC basic decode test with firmware
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 20:47:34 -07:00
cah
5b92587f51 feat: add generated test vector data for cocotb and firmware
Add test_data.py (cocotb Python module) and test_vectors.h (C header)
with 20 test vectors from the Python behavioral model. LLR data is
packed 5 per 32-bit word matching the wishbone interface format.
11 converged vectors for positive testing, 9 non-converged for
negative testing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 18:37:37 -07:00