mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 21:27:10 -04:00
parent
14fd617455
commit
ce4b25c51a
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ package config_pkg;
|
|||
function automatic logic is_inside_execute_regions(cva6_cfg_t Cfg, logic [63:0] address);
|
||||
// if we don't specify any region we assume everything is accessible
|
||||
logic [NrMaxRules-1:0] pass;
|
||||
if (Cfg.NrExecuteRegionRules == 0) begin
|
||||
if (Cfg.NrExecuteRegionRules != 0) begin
|
||||
pass = '0;
|
||||
for (int unsigned k = 0; k < Cfg.NrExecuteRegionRules; k++) begin
|
||||
pass[k] = range_check(Cfg.ExecuteRegionAddrBase[k], Cfg.ExecuteRegionLength[k], address);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue