fix: change <= to = in array for loops for verilator BLKLOOPINIT

This commit is contained in:
2026-06-30 02:15:14 +08:00
parent 99e6c884d7
commit 3617ee7656
3 changed files with 6 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ module ntt_core (
if (!rst_n) begin
state<=S_IDLE; load_cnt<=0; out_cnt<=0; j<=0; start<=0; layer_len<=0;
zeta_idx<=0; layer<=0; bf_done<=0; r_a<=0; r_b<=0; r_wa<=0; r_wb<=0;
for (ci=0; ci<N; ci=ci+1) cr[ci] <= 0;
for (ci=0; ci<N; ci=ci+1) cr[ci] = 0;
end else begin
state <= next_state;