Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msfschaffner committed Jan 19, 2024
1 parent dd9fee8 commit 0384c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/dv/sv/dv_base_reg/dv_base_reg_field.sv
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class dv_base_reg_field extends uvm_reg_field;
begin
// Some smoke checking of the byte enables. RTL does not latch anything if not all affected
// bytes of the field are enabled.
if (be[(mubi_width+7)/8-1:0] == '1) begin
if (&be[(mubi_width-1)/8:0]) begin
// In case this is a clearable MUBI field, we have to interpret the write value correctly.
// ICEBOX(#9273): Note that this just uses bitwise functions to update the value and does
// not rectify incorrect mubi values. At a later point, we should discuss if and how to
Expand Down

0 comments on commit 0384c0e

Please sign in to comment.