Skip to content

Commit

Permalink
hw: fix verible linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
phsauter committed Sep 11, 2024
1 parent d0ded34 commit aa9e11d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/cheshire_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ package cheshire_pkg;

// Choose static colocation of IDs based on how heavily used and/or critical they are
function automatic cva6_id_map_t gen_cva6_id_map(cheshire_cfg_t cfg);
localparam int unsigned default_value[0:1] = '{0, 0}; // slang workaround
localparam int unsigned ArrayDefaultValue[2] = '{0, 0}; // slang workaround
case (cfg.AxiMstIdWidth)
// Provide exclusive ID to I-cache to prevent fetch blocking
1: return '{'{Cva6IdBypMmu, 0}, '{Cva6IdBypLoad, 0}, '{Cva6IdBypAccel, 0}, '{Cva6IdBypStore, 0},
Expand All @@ -475,7 +475,7 @@ package cheshire_pkg;
3: return '{'{Cva6IdBypMmu, 0}, '{Cva6IdBypLoad, 1}, '{Cva6IdBypAccel, 6}, '{Cva6IdBypStore, 2},
'{Cva6IdBypAmo, 3}, '{Cva6IdICache, 4}, '{Cva6IdDCache, 5}};
// With 4b of ID or more, no remapping is necessary
default: return '{default: default_value};
default: return '{default: ArrayDefaultValue};
endcase
endfunction

Expand Down

0 comments on commit aa9e11d

Please sign in to comment.