remove mlkem CDC; mlkem can now run at 50MHz

This commit is contained in:
2026-07-08 17:52:16 +08:00
parent 6a1b374bc1
commit 5f9cb1c883
4 changed files with 68 additions and 145 deletions

View File

@@ -1,9 +1,8 @@
// mlkem_axi_slave.v — AXI4 (burst) slave wrapper for the ML-KEM core.
// Makes the ML-KEM accelerator (KeyGen / Encaps / Decaps) CPU-controllable.
//
// This slave is placed behind an AXI clock-domain converter. Its AXI side and
// mlkem_top both run in mlkem_clk; sys_clk masters reach it through Axi_CDC in
// fft_mlkem_axi_slave.
// This slave and mlkem_top run in the same clock domain as the shared
// FFT/ML-KEM AXI window.
//
// Register map (byte offsets from base, e.g. virtual 0xbf400000):
// 0x000 CTRL W bit0 = start (launches op selected in CONFIG)
@@ -27,8 +26,8 @@
module mlkem_axi_slave (
input clk, // mlkem_clk AXI-side clock after Axi_CDC
input resetn, // mlkem_resetn, active low
input clk,
input resetn, // active low
// AXI Write Address Channel
input [4:0] s_axi_awid,