Hi,
I Have done a RMS unit inside the Gowin FPGA, I need to do a MAC operation on 24bit input data, the verilog code for this operation is something like this
input signed [23:0] i_Data;
reg [47:0] r_MAC;
r_MAC <= r_MAC + (i_Data * i_Data);
The code works as expected, But it has used a lot of DSP resources,
I want to know is there a clever way of doing it with less DSP,
Gowin has this MULTADDALU IP core, which I think would use only two multipliers, is there a way to do this calculation with this IP?