mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 13:47:33 -04:00
minor edits
This commit is contained in:
parent
968eb68c2c
commit
a436a47ced
2 changed files with 2 additions and 5 deletions
|
@ -1391,7 +1391,7 @@ begin
|
|||
if (execute_engine.i_reg(27 downto 24) = x"b") then
|
||||
for i in 0 to PMP_NUM_REGIONS-1 loop
|
||||
if (execute_engine.i_reg(23 downto 20) = std_ulogic_vector(to_unsigned(i, 4))) and (csr.pmpcfg(i)(7) = '0') then -- unlocked pmpaddr access
|
||||
csr.pmpaddr(i) <= csr_wdata_i;
|
||||
csr.pmpaddr(i) <= csr_wdata_i(31 downto 1) & '0'; -- min granularity is 8 bytes -> bit zero cannot be configured
|
||||
end if;
|
||||
end loop; -- i (CSRs)
|
||||
end if;
|
||||
|
|
|
@ -37,10 +37,7 @@
|
|||
* @file neorv32.h
|
||||
* @author Stephan Nolting
|
||||
*
|
||||
* @brief Main NEORV32 core library file.
|
||||
*
|
||||
* @details This file defines the addresses of the IO devices and their according
|
||||
* registers and register bits as well as the available CPU CSRs and flags.
|
||||
* @brief Main NEORV32 core library include file.
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef neorv32_h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue