Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Jul 17, 2023
1 parent 9b1c4e6 commit c606d2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/datasheet/software.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ while `LENGTH` defines its size in bytes. The attributes are configured indirect
__neorv32_rom_size = DEFINED(__neorv32_rom_size) ? __neorv32_rom_size : 2048M;
__neorv32_ram_size = DEFINED(__neorv32_ram_size) ? __neorv32_ram_size : 8K;
/* Default section base addresses - do not change this unless the hardware-defined address space layout is changed! */
/* Default section base addresses */
__neorv32_rom_base = DEFINED(__neorv32_rom_base) ? __neorv32_rom_base : 0x00000000; /* = VHDL package's "ispace_base_c" */
__neorv32_ram_base = DEFINED(__neorv32_ram_base) ? __neorv32_ram_base : 0x80000000; /* = VHDL package's "dspace_base_c" */
----
Expand Down Expand Up @@ -373,8 +373,8 @@ section and to clear the `.bss` section (faster!).
:sectnums:
==== RAM Layout

The default NEORV32 linker script uses all of the defined RAM (linker script memory section `ram`) to create four areas.
Note that depending on the application some areas might not be existent at all.
The default NEORV32 linker script uses all of the defined RAM (linker script memory section `ram`) to several sections.
Note that depending on the application some sections might have zero size.

.Default RAM Layout
image::ram_layout.png[400]
Expand Down
4 changes: 2 additions & 2 deletions rtl/core/neorv32_intercon.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ begin
boot_req_o.re <= main_req_i.re and port_en(port_boot_c);
--
io_req <= main_req_i;
io_req.we <= main_req_i.we and port_en(port_io_c);-- and and_reduce_f(main_req_i.ben) ; -- PMA: 32-bit writes only
io_req.re <= main_req_i.re and port_en(port_io_c);-- and (not main_req_i.src); -- PMA: no-execute
io_req.we <= main_req_i.we and port_en(port_io_c);
io_req.re <= main_req_i.re and port_en(port_io_c);
--
ext_req_o <= main_req_i;
ext_req_o.we <= main_req_i.we and port_en(port_ext_c);
Expand Down
2 changes: 1 addition & 1 deletion sw/common/neorv32.ld
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ __neorv32_ram_size = DEFINED(__neorv32_ram_size) ? __neorv32_ram_size : 8K;
/* Default HEAP size (= 0; no heap at all) */
__neorv32_heap_size = DEFINED(__neorv32_heap_size) ? __neorv32_heap_size : 0;

/* Default section base addresses - do not change this unless the hardware-defined address space layout is changed! */
/* Default section base addresses */
__neorv32_rom_base = DEFINED(__neorv32_rom_base) ? __neorv32_rom_base : 0x00000000; /* = VHDL package's "ispace_base_c" */
__neorv32_ram_base = DEFINED(__neorv32_ram_base) ? __neorv32_ram_base : 0x80000000; /* = VHDL package's "dspace_base_c" */

Expand Down

0 comments on commit c606d2b

Please sign in to comment.