Fix: wait for ALL 4 multipliers to finish before accumulation

This commit is contained in:
2026-06-25 03:07:49 +08:00
parent 54aa37adee
commit d9d03b16c6

View File

@@ -428,8 +428,7 @@ module matmul_axi_slave (
C_WAIT_MULT: begin
mult_start <= 1'b0;
// 4个乘法器同时启动,监控第一个即可
if (mult_done[0]) begin
if (mult_done[0] && mult_done[1] && mult_done[2] && mult_done[3]) begin
state <= C_ACCUM;
end
end