Commit Graph

7 Commits

Author SHA1 Message Date
0c85a20b4e mlkem test diagnostics and allocator updates 2026-07-08 02:35:56 +08:00
e8893a28dd mlkem_test: add mlkem-native 2026-07-05 21:26:39 +08:00
b8ddb2ef08 c program: use prng 2026-07-05 21:04:42 +08:00
4eca83bd3d Add MLKEM DMA comparison test 2026-07-05 20:23:58 +08:00
2b7c43edcb Add DMA-friendly MLKEM windows 2026-07-05 20:07:14 +08:00
7281df356f feat: optimize startup and linking 2026-07-05 17:27:26 +08:00
c5072d7170 feat: add ML-KEM accelerator with AXI slave wrapper
Wrap mlkem_top in an AXI4 burst slave (mlkem_axi_slave) mapped to the
freed FFT slot 6 at 0x1f400000 (virtual 0xbf400000). The core runs on
sys_clk/2 (25 MHz); the wrapper handles the clock-domain crossing:
start toggle->pulse, wait-stated byte-preload handshake, busy/done
sync, and direct readback taps (ek/dk/ct/ss). CPU drives it via a
register map (CTRL/STATUS/CONFIG, d/z/msg, preload + readback windows).

Wire into soc_top on the existing axiOut_6 nets (no crossbar change),
add mlkem_intr on intrpt[3]. Add sdk mlkem_test example running a
KeyGen->Encaps->Decaps self-consistency round trip.
2026-06-30 01:39:35 +08:00