OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [docs/] [datasheet/] [soc_imem.adoc] - Blame information for rev 60

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 60 zero_gravi
<<<
2
:sectnums:
3
==== Instruction Memory (IMEM)
4
 
5
[cols="<3,<3,<4"]
6
[frame="topbot",grid="none"]
7
|=======================
8
| Hardware source file(s): | neorv32_imem.vhd |
9
| Software driver file(s): | none             | _implicitly used_
10
| Top entity port:         | none             |
11
| Configuration generics:  | _MEM_INT_IMEM_EN_ | implement processor-internal IMEM when _true_
12
|                          | _MEM_INT_IMEM_SIZE_ | IMEM size in bytes
13
|                          | _MEM_INT_IMEM_ROM_ | implement IMEM as ROM when _true_
14
| CPU interrupts:          | none             |
15
|=======================
16
 
17
Implementation of the processor-internal instruction memory is enabled via the processor's
18
_MEM_INT_IMEM_EN_ generic. The size in bytes is defined via the _MEM_INT_IMEM_SIZE_ generic. If the
19
IMEM is implemented, the memory is mapped into the instruction memory space and located right at the
20
beginning of the instruction memory space (default `ispace_base_c` = 0x00000000).
21
 
22
By default, the IMEM is implemented as RAM, so the content can be modified during run time. This is
23
required when using a bootloader that can update the content of the IMEM at any time. If you do not need
24
the bootloader anymore – since your application development has completed and you want the program to
25
permanently reside in the internal instruction memory – the IMEM can also be implemented as true _read-only_
26
memory. In this case set the _MEM_INT_IMEM_ROM_ generic of the processor's top entity to _true_.
27
 
28
When the IMEM is implemented as ROM, it will be initialized during synthesis with the actual application
29
program image. The compiler toolchain will generate a VHDL initialization
30
file `rtl/core/neorv32_application_image.vhd`, which is automatically inserted into the IMEM. If
31
the IMEM is implemented as RAM (default), the memory will **not be initialized** at all.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.