mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 22:27:21 -04:00
[processor_check] enable heap tests
This commit is contained in:
parent
382d4457ee
commit
e824b4391b
3 changed files with 4 additions and 3 deletions
|
@ -29,6 +29,7 @@ mimpid = 0x01040312 -> Version 01.04.03.12 -> v1.4.3.12
|
|||
|
||||
| Date | Version | Comment | Ticket |
|
||||
|:----:|:-------:|:--------|:------:|
|
||||
| 10.11.2024 | 1.10.6.4 | rework default processor testbench | [#]() |
|
||||
| 06.11.2024 | 1.10.6.3 | minor rtl edits and cleanups | [#1090](https://github.com/stnolting/neorv32/pull/1090) |
|
||||
| 02.11.2024 | 1.10.6.2 | :warning: rework processor boot configuration; add new boot-configuration generics | [#1086](https://github.com/stnolting/neorv32/pull/1086) |
|
||||
| 01.11.2024 | 1.10.6.1 | :test_tube: convert VHDL memory images into full-scale VHDL packages | [#1084](https://github.com/stnolting/neorv32/pull/1084) |
|
||||
|
|
|
@ -241,9 +241,9 @@ int main() {
|
|||
|
||||
cnt_test++;
|
||||
|
||||
// set execute permission for u-mode
|
||||
// set execute permission for u-mode for the entire address range
|
||||
// use entry 2 so we can use entries 0 & 1 later on for higher-prioritized configurations
|
||||
tmp_a = neorv32_cpu_pmp_configure_region(2, -1, (PMP_NAPOT << PMPCFG_A_LSB) | (1 << PMPCFG_X));
|
||||
tmp_a = neorv32_cpu_pmp_configure_region(2, 0xffffffff, (PMP_NAPOT << PMPCFG_A_LSB) | (1 << PMPCFG_X));
|
||||
|
||||
if ((neorv32_cpu_csr_read(CSR_MCAUSE) == mcause_never_c) && (tmp_a == 0)) {
|
||||
test_ok();
|
||||
|
|
|
@ -23,7 +23,7 @@ override USER_FLAGS += -Wl,--defsym,__neorv32_rom_size=32k
|
|||
override USER_FLAGS += -Wl,--defsym,__neorv32_ram_size=8k
|
||||
|
||||
# Adjust maximum heap size
|
||||
#SER_FLAGS += -Wl,--defsym,__neorv32_heap_size=3096
|
||||
override USER_FLAGS += -Wl,--defsym,__neorv32_heap_size=3096
|
||||
|
||||
# Simulation arguments
|
||||
override GHDL_RUN_FLAGS ?= --stop-time=15ms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue