mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 14:17:51 -04:00
[pmp] fix multi-assignment with disabled NAPOT
This commit is contained in:
parent
3e4899210f
commit
4082bb0528
1 changed files with 8 additions and 7 deletions
|
@ -272,13 +272,6 @@ begin
|
|||
end process addr_masking;
|
||||
end generate; -- /nap_mode_enable
|
||||
|
||||
-- NAPOT disabled --
|
||||
nap_mode_disable:
|
||||
if not NAP_EN generate
|
||||
addr_mask_napot <= (others => (others => '0'));
|
||||
addr_mask <= (others => (others => '0'));
|
||||
end generate;
|
||||
|
||||
|
||||
-- check region address match --
|
||||
-- NA4 and NAPOT --
|
||||
|
@ -344,6 +337,14 @@ begin
|
|||
end generate;
|
||||
|
||||
|
||||
-- NAPOT disabled --
|
||||
nap_mode_disable:
|
||||
if not NAP_EN generate
|
||||
addr_mask_napot <= (others => (others => '0'));
|
||||
addr_mask <= (others => (others => '0'));
|
||||
end generate;
|
||||
|
||||
|
||||
-- Access Permission Check (using static prioritization) ----------------------------------
|
||||
-- -------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue