Skip to content

Commit

Permalink
[hardware] Explicitly use fewer bits in vldu
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Dec 9, 2024
1 parent eafd2fe commit 4bb60e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hardware/src/vlsu/vldu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ module vldu import ara_pkg::*; import rvv_pkg::*; #(
&& !result_queue_full) begin : axi_r_beat_read
// Bytes valid in the current R beat
// If non-unit strided load, we do not progress within the beat
automatic shortint unsigned lower_byte = beat_lower_byte(axi_addrgen_req_i.addr,
automatic logic [idx_width(AxiDataWidth/8)-1:0] lower_byte = beat_lower_byte(axi_addrgen_req_i.addr,
axi_addrgen_req_i.size, axi_addrgen_req_i.len, BURST_INCR, AxiDataWidth/8, axi_len_q);
automatic shortint unsigned upper_byte = beat_upper_byte(axi_addrgen_req_i.addr,
automatic logic [idx_width(AxiDataWidth/8)-1:0] upper_byte = beat_upper_byte(axi_addrgen_req_i.addr,
axi_addrgen_req_i.size, axi_addrgen_req_i.len, BURST_INCR, AxiDataWidth/8, axi_len_q);

// Is there a vector instruction ready to be issued?
Expand Down

0 comments on commit 4bb60e0

Please sign in to comment.