mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 22:27:21 -04:00
🐛 [cache] fix address comparison
This commit is contained in:
parent
5a1f6edc7d
commit
ad1a209f23
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
use ieee.numeric_std.all;
|
||||
|
||||
library neorv32;
|
||||
use neorv32.neorv32_package.all;
|
||||
|
@ -176,7 +177,7 @@ begin
|
|||
-- Check if Direct/Uncached Access --------------------------------------------------------
|
||||
-- -------------------------------------------------------------------------------------------
|
||||
dir_acc_d <= '1' when UC_ENABLE and -- direct accesses implemented
|
||||
((host_req_i.addr(31 downto 28) >= UC_BEGIN) or -- uncached memory page
|
||||
((unsigned(host_req_i.addr(31 downto 28)) >= unsigned(UC_BEGIN)) or -- uncached memory page
|
||||
(host_req_i.rvso = '1')) else '0'; -- atomic (reservation set) operation
|
||||
|
||||
-- request splitter: cached or direct access --
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue