1.4. FPGA lessons¶
1.4.1. Project setup¶
Windows 10 or Ubuntu 18.04 or higher
Vivado 2020.1
Rep Pitaya FPGA ecosystem
Xilinx SDK is available from Xilinx downloads page
At this point, it is assumed that your Red Pitaya has successfully connected to the local network using SSH (Linux or Windows with WSL) or Putty (Windows). If not, follow Red Pitaya’s official quick start instructions instructions.
For the FPGA development platform, we will use Xilinx’s Vivado Design Suite with SDK. At the time of writing, the latest version was Vivado 2020.1. However, other versions would also work. The Vivado Suite can be installed for free with a WebPACK licence, which can be downloaded after registration from their webpage.
To install Vivado, please use the Vivado installation guide.
If you are planning on developing or changing the ecosystem, you can instead install the Vitis platform (which includes Vivado and SDK, version 2020.1 or higher).
Register, download and install Vitis
Obtain free WebPACK licence
To work with Vivado and its instruments in Windows, we use the TCL shell and command prompt. Launch Vivado HLS 2020.1 Command Prompt. Change to the folder with the cloned Red Pitaya project and launch the project generation:
cd C:/Users/RedPitaya/fpga
vivado -source red_pitaya_vivado_project_Z10.tcl -tclargs v0.94
On Linux, it will work through the terminal; however, to gain access to some required commands, run settings64.sh (located in the Vivado folder). Then you can execute the Vivado command (which will open the Vivado program; the file needs to be executed at every boot-up).
/opt/Xilinx/Vivado/2020.1/settings64.sh
vivado -source red_pitaya_vivado_project_Z10.tcl -tclargs v0.94
When executing this command, the script will be launched, and this script will generate a project for the Red Pitaya Z10 (STEMlab 125-14) in the folder RedPitaya-FPGA/prj/v0.94/project.