F-Tile Dynamic Reconfiguration Design Example User Guide

ID 710582
Date 11/04/2024
Public
Document Table of Contents

4.1.1.3. Using Main.cpp file in User Logic

The niosv_build_dir.zip file, located in the top-level directory of the example designs, contains all NIOS-related documents and the current main.cpp file. You can unzip the zip file and update the main.cpp file in the <top level example design>/niosv_build_dir/dr_user_logic_cpu_app folder. The .zip file also includes a README.txt and compile.sh for your use and information. Note that the C code uses truncated base addresses to adapt to the NIOS subsystem. Further adjustments to the addressing in the RTL of the eth_f_hw block ensure the generation of correct addresses as per the example design’s memory map.