[pmp] fix multi-assignment with disabled NAPOT

This commit is contained in:
NikLeberg 2025-04-17 18:53:10 +00:00
parent 3e4899210f
commit 4082bb0528

View file

@ -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) ----------------------------------
-- -------------------------------------------------------------------------------------------