Skip to content

Commit

Permalink
[VLSU] updated fix of commit 0077637
Browse files Browse the repository at this point in the history
  • Loading branch information
Navaneeth-KunhiPurayil committed Dec 3, 2024
1 parent e27d385 commit 0d7dee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/ip/spatz/src/spatz_vlsu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ module spatz_vlsu
// A is assumed to be Transposed in memory while B is in its original form
// For loads, column counter is enabled by default
// For stores, row counter is enabled by default
assign mx_cnt_en_row[port] = mem_spatz_req.op_arith.is_mx & mem_counter_en[port] & ((mem_spatz_req.op==VSE) | (mx_cnt_col_q[port] == mx_cnt_max_col));
assign mx_cnt_en_col[port] = mem_spatz_req.op_arith.is_mx & mem_counter_en[port] & ((mem_spatz_req.op==VLE) | (mx_cnt_row_q[port] == mx_cnt_max_row));
assign mx_cnt_en_row[port] = mem_spatz_req.op_arith.is_mx & mem_counter_en[port] & (mx_cnt_col_q[port] == mx_cnt_max_col);
assign mx_cnt_en_col[port] = mem_spatz_req.op_arith.is_mx & mem_counter_en[port];
// Count up to (tile_size - 1), and tile_size is power of 2
assign mx_cnt_clr_row[port] = mx_cnt_en_row[port] & (mx_cnt_row_q[port] == mx_cnt_max_row);
assign mx_cnt_clr_col[port] = mx_cnt_en_col[port] & (mx_cnt_col_q[port] == mx_cnt_max_col);
Expand Down

0 comments on commit 0d7dee2

Please sign in to comment.