Skip to content

Commit

Permalink
Explicitly unset tag for half word and byte reads
Browse files Browse the repository at this point in the history
This solves Verilator width lint warnings.
  • Loading branch information
marnovandermaas committed Oct 19, 2023
1 parent a77fc1a commit 017ac05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtl/ibex_load_store_unit.sv
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ module ibex_load_store_unit import cheri_pkg::*; #(
always_comb begin
unique case (data_type_q)
2'b00: data_rdata_ext = rdata_w_ext;
2'b01: data_rdata_ext = rdata_h_ext;
2'b10,2'b11: data_rdata_ext = rdata_b_ext;
2'b01: data_rdata_ext = {1'b0, rdata_h_ext};
2'b10,2'b11: data_rdata_ext = {1'b0, rdata_b_ext};
default: data_rdata_ext = rdata_w_ext;
endcase // case (data_type_q)
end
Expand Down

0 comments on commit 017ac05

Please sign in to comment.