This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:fpga:xilinx:software_setup [02 Dec 2019 09:41] – Add screenshot for Application Tab Stanca-Florina Pop | resources:fpga:xilinx:software_setup [14 Apr 2020 19:27] (current) – Antoniu Miclaus | ||
---|---|---|---|
Line 20: | Line 20: | ||
<note important> | <note important> | ||
* Copy the source code files into the **src** directory | * Copy the source code files into the **src** directory | ||
+ | * Make sure you uncomment the the required carrier vendor and CPU architecture from the **app_config.h** (or **config.h**) header file. | ||
+ | |||
+ | * Example for choosing the Altera carrier in the **app_config.h** header file: | ||
+ | < | ||
+ | //#define XILINX | ||
+ | #define ALTERA | ||
+ | </ | ||
+ | |||
* If there are multiple folders present in in the src one, include all the paths of the folders: go to the settings of the project and in the **C/C++ Build -> Settings -> Tool Settings -> gcc compiler -> Directories** section and add the paths of all the folders. | * If there are multiple folders present in in the src one, include all the paths of the folders: go to the settings of the project and in the **C/C++ Build -> Settings -> Tool Settings -> gcc compiler -> Directories** section and add the paths of all the folders. | ||
Line 27: | Line 35: | ||
* At this point the software project setup is complete, the FPGA can be programmed and the software can be downloaded into the system. You can program the FPGA by clicking on **Xilinx Tools -> Program FPGA** | * At this point the software project setup is complete, the FPGA can be programmed and the software can be downloaded into the system. You can program the FPGA by clicking on **Xilinx Tools -> Program FPGA** | ||
- | * After the FPGA was programmed, we need to create a new Run configuration, | + | * After the FPGA was programmed, we need to create a new Run configuration, |
{{ : | {{ : | ||