2.0 KiB
2.0 KiB
NEORV32 Xilinx Vivado Example Setups
How To Run
The create_project.tcl
TCL script in the board subdirectories can be used for creating a complete Vivado project and for running the implementation.
If not already available, this script will create a work
folder in those subdirectories.
Note that you may need to install support for your particular development board through "XHub Stores" menu item within Vivado prior to sourcing the create_project.tcl
script.
Batch mode
Execute vivado -mode batch -nojournal -nolog -source create_project.tcl
from the board subdir.
The project will be created and implementation will be run until generation of work/neorv32_test_setup.runs/impl_1/neorv32_test_setup.bit
.
GUI
- start Vivado (in GUI mode)
- click on "TCL Console" at the bottom
- use the console to naviagte to the boards folder. For example:
cd .../neorv32/setups/vivado/arty-a7-test-setup
- execute
source create_project.tcl
- this will create the actual Vivado project inwork
- when the Vivado project has openend, Implementation will run and a bitstream will be generated.
- maybe a prompt will notify about it.
Programming the Bitstream
- open the "Hardware Manager" (maybe a prompt will ask for that)
- click on "Open target/Auto Connect"
- click on "Program device" and select
work/neorv32_test_setup.runs/impl_1/neorv32_test_setup.bit
; click "Program" - use a serial terminal (like 🌏 Tera Term) to connect to the USB-UART interface using the following configuration:
19200 Baud, 8 data bits, 1 stop bit, no parity bits, no transmission / flow control protocol (raw bytes only), newline on
\r\n
(carriage return & newline) - now you can communicate with the bootloader console and upload a new program. Check out the example programs and see section "Let's Get It Started" of the 📄 NEORV32 data sheet for further resources.