Visible to Intel only — GUID: rqr1603900558695
Ixiasoft
1. About the O-RAN Intel® FPGA IP Design Example
2. Getting Started with the O-RAN Intel® FPGA IP Design Example
3. O-RAN Intel® FPGA IP Design Example Functional Description
4. O-RAN IP Design Example User Guide Archives
5. Document Revision History for the O-RAN Intel® FPGA IP Design Example User Guide
Visible to Intel only — GUID: rqr1603900558695
Ixiasoft
2.3.1. Generating and Downloading the Linking Format .elf Programming File
This task shows how to generate and build a Nios V processor software project. For a streamlined flow, ensure you create the same directory tree in your design project as in this task.
- In your design project folder, create a directory called software.
- In the software directory, create two directories called app and bsp.
- Copy all files in <design_example_dir>/synthesis/ed_fw to <design_example_dir>/synthesis/quartus/software/app.
The design files are:
c2_reconfig.h c3_funtion.c c3_recongifg.c c3_reconfig.h flow.c flow.h main.c
- Generate the BSP:
- Launch the Nios V Command Shell
- Go to <design_example_dir>/synthesis/quartus/software directory.
- Run the following command.
niosv-bsp -c --quartus-project=../ecpri_ed.qpf -- qsys=../../ip_components/nios_system.qsys --type=hal ./bsp/settings.bsp
- Generate the application project:
niosv-app --bsp-dir=./bsp --app-dir=./app --srcs=./app/ --elf-name=nios_system.elf
- Build the application project:
cmake -G "Unix Makefiles" -S ./app -B ./app/build make -C ./app/build
The nios_system.elf file is generated in the <design_example_dir>/synthesis/quartus/software/app/build directory. - Program the Nios V processor:
- Go to <design_example_dir>/synthesis/quartus/software/app/build
- Type the following command in the Nios V Command Shell.
- For Stratix 10 devices:
niosv-download -g -r nios_system.elf -c 1 -d 1 -i 0
- For Agilex 7 devices:
niosv-download -g -r nios_system.elf -c 1 -d 0 -i 0
- For Stratix 10 devices: