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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [rtl/] [test_setups/] [README.md] - Blame information for rev 72

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 63 zero_gravi
# Test Setups
2
 
3
This folder contains very simple test setups that are intended for project beginners
4
to setup a minimal NEORV32 SoC. These setups are used in the :books:
5
[NEORV32 User Guide](https://stnolting.github.io/neorv32/ug/).
6 69 zero_gravi
Note that these setups provides a minimalistic configuration to keep
7 63 zero_gravi
things at a simple level at first. Additional CPU ISA extensions, performance options and
8
optional peripheral modules can be enabled by specifying the according :book:
9
[configuration generics](https://stnolting.github.io/neorv32/#_processor_top_entity_generics).
10
 
11
 
12
### Setup's Top Entity
13
 
14
#### Clocking and Reset
15
 
16
All test setups require an external clock (via `clk_i` signal) and an external
17
low-active reset (via `rstn_i` signal).
18
 
19
#### Configuration Generics
20
 
21
Each setup provides three elementary generics that can/should be adapted to fit
22
your FPGA/board.
23
 
24
* The clock speed in Hz **has to be specified** via the `CLOCK_SPEED` generic to fit your clock source.
25
* The processor-internal instruction memory (IMEM) size _can be modified_ via the `MEM_INT_IMEM_SIZE` generic.
26
* The processor-internal data memory (DMEM) size _can be modified_ via the `MEM_INT_DMEM_SIZE` generic.
27
Note that this might require adaption of the NEORV32 linker script.
28
 
29
 
30 72 zero_gravi
### [`neorv32_test_setup_approm.vhd`](https://github.com/stnolting/neorv32/blob/main/rtl/test_setups/neorv32_test_setup_approm.vhd)
31 63 zero_gravi
 
32
This setup configures a `rv32imc_Zicsr` CPU with 16kB IMEM (as pre-initialized ROM),
33
8kB DMEM and includes the GPIO module to drive 8 external signals (`gpio_o`)
34
and the MTIME module for generating timer interrupts.
35 69 zero_gravi
The setup uses the ["indirect boot"](https://stnolting.github.io/neorv32/#_indirect_boot)
36 63 zero_gravi
configuration, so software applications are "installed" directly into the
37
processor-internal IMEM during synthesis.
38
 
39
:books: See User Guide section [_Installing an Executable Directly Into Memory_](https://stnolting.github.io/neorv32/ug/#_installing_an_executable_directly_into_memory).
40
 
41
 
42 72 zero_gravi
### [`neorv32_test_setup_bootloader.vhd`](https://github.com/stnolting/neorv32/blob/main/rtl/test_setups/neorv32_test_setup_bootloader.vhd)
43 63 zero_gravi
 
44
This setup configures a `rv32imc_Zicsr` CPU with 16kB IMEM (as RAM), 8kB DMEM
45
and includes the GPIO module to drive 8 external signals (`gpio_o`), the MTIME
46
module for generating timer interrupts and UART0 to interface with the bootloader
47
(via `uart0_txd_o` and `uart0_rxd_i`) via a serial terminal.
48 69 zero_gravi
The setup uses the ["direct boot"](https://stnolting.github.io/neorv32/#_direct_boot)
49 63 zero_gravi
configuration, so software applications can be uploaded and run at any timer via a serial terminal.
50
 
51
:books: See User Guide section
52
[_Uploading and Starting of a Binary Executable Image via UART_](https://stnolting.github.io/neorv32/ug/#_uploading_and_starting_of_a_binary_executable_image_via_uart).

powered by: WebSVN 2.1.0

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