mirror of
https://github.com/openhwgroup/cva5.git
synced 2025-04-22 13:07:33 -04:00
Linting fix
Signed-off-by: Eric Matthews <ematthew@sfu.ca>
This commit is contained in:
parent
2339ae182c
commit
7de7e1a5c0
1 changed files with 1 additions and 0 deletions
|
@ -316,6 +316,7 @@ interface addr_utils_interface #(parameter bit [31:0] BASE_ADDR = 32'h00000000,
|
|||
|
||||
localparam int unsigned BIT_RANGE = bit_range();
|
||||
|
||||
/* verilator lint_off SELRANGE */
|
||||
function address_range_check (input logic[31:0] addr);
|
||||
return (BIT_RANGE == 0) ? 1 : (addr[31:32-BIT_RANGE] == BASE_ADDR[31:32-BIT_RANGE]);
|
||||
endfunction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue