Files
mlkem-sync/test_framework/modules/rng/test_plan.json
FallenSigh 5941fee980 feat(phase1): implement RNG, SampleCBD, SampleNTT modules + xsim TBs
Phase 1 complete — all 4 leaf modules verified:
- rng_sync.v: 256-bit Galois LFSR PRNG (10/10 PASS)
- sample_cbd_sync.v: CBD sampler with keccak_core PRF (2560/2560 PASS)
- sample_ntt_sync.v: SHAKE-128 rejection sampling for A matrix (1536/1536 PASS)
- xsim Verilog TBs for sha3 module (tb_sha3_xsim.v, tb_sha3_xsim_simple.v, tb_keccak_core_xsim.v)
2026-06-24 21:32:53 +08:00

18 lines
382 B
JSON

{
"module": "rng",
"rtl_top": "sync_rtl/rng/rng_sync.v",
"rtl_deps": [],
"tb_cpp": "sync_rtl/rng/TB/tb_rng.cpp",
"simulator": "verilator",
"timeout_s": 30,
"cases": [
{
"id": "basic",
"description": "Generate 10 pseudo-random 256-bit values with fixed-seed LFSR",
"params": {},
"num_vectors": 10,
"tolerance": "bit_exact"
}
]
}