From 42296526594c92441a07d276013accede810a8b1 Mon Sep 17 00:00:00 2001 From: FallenSigh Date: Wed, 8 Jul 2026 03:57:39 +0800 Subject: [PATCH] fix: add use_dsp=no to FFT Multiply and fft_mlkem_axi_slave Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- rtl/ip/fft/Multiply.v | 2 +- rtl/ip/mlkem/top/fft_mlkem_axi_slave.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/ip/fft/Multiply.v b/rtl/ip/fft/Multiply.v index 3e52eff..930b83c 100644 --- a/rtl/ip/fft/Multiply.v +++ b/rtl/ip/fft/Multiply.v @@ -2,7 +2,7 @@ // Multiply: Complex Multiplier //---------------------------------------------------------------------- -module Multiply #( +(* use_dsp = "no" *) module Multiply #( parameter WIDTH = 16 )( input signed [WIDTH-1:0] a_re, diff --git a/rtl/ip/mlkem/top/fft_mlkem_axi_slave.v b/rtl/ip/mlkem/top/fft_mlkem_axi_slave.v index ada8d7f..bc21602 100644 --- a/rtl/ip/mlkem/top/fft_mlkem_axi_slave.v +++ b/rtl/ip/mlkem/top/fft_mlkem_axi_slave.v @@ -6,7 +6,7 @@ // FFT: 0x8000..0xcfff // Route the low ML-KEM block to ML-KEM and the remaining accelerator window to // FFT. -module fft_mlkem_axi_slave ( +(* use_dsp = "no" *) module fft_mlkem_axi_slave ( input clk, input resetn,