SDAccel Environment Installation
With the delivery of theXilinx®Alveo™Data Center accelerator cards, you can configure your system for deploying applications only, or you can configure for development. The latter enables you to develop and debug applications, in addition to deploying them, but it requires additional software installation.
Deployment Systems
You can use a deployment system to run accelerated applications. To deploy accelerated applications, install the accelerator card into a system, along with theXilinxRuntime (XRT) and deployment shell. For more information on the installation procedures, seeGetting Started withAlveoData Center Accelerator Cards(UG1301).
Development Systems
A development system is necessary to design and develop accelerated applications. It does not require an accelerator card (although, youcaninstall one), but it does require XRT and a deployment shell, as well as a development shell. These packages are a required part of theSDAccel™development environment to support a specific accelerator card in the tool.
To configure your system, use this workflow:
- Install theSDAccelenvironment software, as described inInstall With the Installation File.
- For each acceleration platform that you want to develop for, install the platform-specific packages, as described inInstalling Platform-Specific Packages.
Note:For multiple accelerator cards, repeat the installation of platform-specific packages.
Prepare to Install the Tools
- Ensure your system meets the system requirements, as described inSystem Requirements.
- Close all open programs.
Download the Installation File
- Go to theXilinxDownloads Website.
- Click an installation file to download.
- Web Installer
-
The Web Installer is the recommended installation method, because it reduces download time and saves significant disk space.
When you use the Web Installer, you choose the design tools, device families, and installation options at the time of installation. The only files that are downloaded and installed are files necessary to support those options.
This method also mitigates issues such as network outages by resuming installation from where it stopped, instead of starting over.
- Single File Download (SFD)
- The SFD installation download is an image containing all devices and tool options that can be used for installation at a later time. This option is useful for installing all files on a network drive, or for providing maximum flexibility to users when they install the environment.
Install With the Installation File
Use the downloaded installation file to install theSDAcceldevelopment environment.
- Run the installation file, which opensSDxIDE Installer.
- ClickNext.
- Enter your account credentials.
- SelectDownload and Install Now, and then clickNext.
- Read and accept the license agreements.
- To indicate that you accept theXilinxInc. End User License Agreement, clickI Agree.
- To indicate that you understand and accept the WebTalk Terms and Conditions, clickI Agree.
- To indicate that you accept the Third Party Software End User License Agreement, clickI Agree.
- After accepting all license agreements, clickNext.
- Customize the installation by selecting and clearing options in the tree.
To add to this installation later, click
. - ClickNext.
- Select the installation directory.
CAUTION:The installation directory path must not contain anyspaces.
- (Optional) Select shortcut and file association options.
- ClickNext.
An Installation Summary window is displayed, describing the following information:
- Devices
- Design tools
- Installation options
- Installation locations
- Download locations
- Disk space requirements
- After reviewing the installation summary, clickInstall.
Install With the Single File Download
If you downloaded the full product installation, decompress the file, and then runxsetupto launch the installation.
Configuring Batch Mode Installation Flow
The installer can run in an unattended batch process. To run the installer unattended, you must do one of the following.
- Specify a standard edition and installation location
- Include a configuration file that provides the installer with the install location and the tools, devices, and options you want to install
To begin using batch mode, open a command shell, and change to the directory where you have stored your extracted installer.
Generate a Configuration File
- Run
xsetup -b ConfigGen
.This will put you in an interactive mode where you will see the following menu:
1. SDx Development Environments Please choose:
Type
1
, and then pressEnter. - After you make a selection, you will be prompted with the location/file name for your configuration file and the interactive mode exits. Below is a sample configuration file:
Edition=SDx Development Environments # Path where Xilinx software will be installed. Destination=/opt/Xilinx # Choose the Products/Devices the you would like to install. Modules=Built-in Platforms and associated devices for SDSoC:1,Zynq UltraScale+ MPSoC:1,Virtex UltraScale+ HBM ES:0,Zynq-7000:1,Kintex UltraScale+ ES:0,Kintex UltraScale+:1,ARM Cortex-A53:1,Spartan-7:1,ARM Cortex-A9:1,ARM Cortex R5:1,Virtex UltraScale+ ES:0,System Generator for DSP:0,Artix-7:1,Built-in Platforms and associated devices forSDAccel:1,DocNav:1,Kintex-7:1,Virtex UltraScale+:1,Model Composer:0,Zynq UltraScale+ RFSoC ES:0,Kintex UltraScale:1,Engineering Sample Devices for Custom Platforms:0,Virtex UltraScale:1,Zynq UltraScale+ MPSoC ES:0,MicroBlaze:1,Virtex-7:1 # Choose the post install scripts you'd like to run as part of the finalization step. Please note that some of these scripts may require user interaction during runtime. InstallOptions=Acquire or Manage a License Key:0,Enable WebTalk for SDK to send usage statistics to Xilinx:1,Enable WebTalk for Vivado to send usage statistics to Xilinx (Always enabled for WebPACK license):1 ## Shortcuts and File associations ## # Choose whether Start menu/Application menu shortcuts will be created or not. CreateProgramGroupShortcuts=1 # Choose the name of the Start menu/Application menu shortcut. This setting will be ignored if you choose NOT to create shortcuts. ProgramGroupFolder=Xilinx Design Tools # Choose whether shortcuts will be created for All users or just the Current user. Shortcuts can be created for all users only if you run the installer as administrator. CreateShortcutsForAllUsers=0 # Choose whether shortcuts will be created on the desktop or not. CreateDesktopShortcuts=1 # Choose whether file associations will be created or not. CreateFileAssociation=1
Each option in the configuration file matches a corresponding option in the GUI. A value of
1
means that option is selected; a value of0
means the option is unselected.Note:In this configuration file, by default, there are no devices selected for installation (that is, all devices have a value of0
). To install a device, you mustchange the value to1
.
Running the Installer
After editing your configuration file to reflect your installation preferences, you can run the installer. During the command line installation, you must indicate your acceptance of theXilinx End-User License AgreementandThird Party End-User License Agreement, and confirm you understand the WebTalk Terms and Conditions.
WebTalk Terms and Conditions
The WebTalk Terms and Conditions, which you must agree to when running the installer, is below:
By indicatingI Agree, I also confirm that I have read Section 13 of the terms and conditions above concerning WebTalk and have been afforded the opportunity to read the WebTalk FAQ posted athttps://www.xilinx.com/webtalk. I understand that I am able to disable WebTalk later if certain criteria described in Section 13(c) apply. If they don't apply, I can disable WebTalk by uninstalling the Software or using the Software on a machine not connected to the Internet. If I fail to satisfy the applicable criteria or if I fail to take the applicable steps to prevent such transmission of information, I agree to allowXilinxto collect the information described in Section 13(a) for the purposes described in Section 13(b).
When using the command line, use the command-line switch,-a
or--agree
, to indicate your agreement to each of the above. If one of the above is left out of the list, or the agree switch is not specified, the installer exits with an error and does not install.
Batch Mode Installation
xsetup --agree XilinxEULA,3rdPartyEULA,WebTalkTerms --batch Install --config install_config.txt
--config
option, but since the destination directory is included in the configuration file, you will be required to specify this on the command line.
xsetup --agree 3rdPartyEULA,WebTalkTerms,XilinxEULA --batch Install --edition "SDx Development Environments" --location "/home/Xilinx"
The above command uses the default configuration options for the edition specified. To see the default configuration options, use the–b ConfigGen
mode as described above. The batch mode of the installer can also uninstall and upgrade (add additional tools and devices). For the full list of the options in the installer batch mode, runxsetup -h
orxsetup --help
.
Resolve Internet Connection Issues
The installer connects to the Internet through the system proxy. The installer uses Firefox browser proxy settings (when explicitly set) to determine connectivity.
If there are connectivity issues, verify the following:
- If you are using alternate proxy settings to the ones referred to, select theManual Proxy Configurationoption to specify the settings.
- Check whether your company firewall requires a proxy authentication with a user name and password. If so, select theManual Proxy Configurationoption in the dialog box above.
- If either theUse System settingsor theAuto detect settingsoption is selected in the Firefox browser, then you must manually set the proxy in the installer.
Installing Platform-Specific Packages
- XilinxRuntime (XRT)
- The XRT is implemented as a combination of user-space and kernel driver components. XRT supports PCIe-based boards, and provides a software interface to XilinxFPGAs.
- Deployment Shell
- The deployment shell is the communication layer for the accelerator card, and is needed both to build applications with SDAcceland to run them on the corresponding accelerator card.
- Development Shell
- To develop and deliver accelerated applications in the SDAcceldevelopment environment, you must install the development shell. The development shell includes platform information necessary for compiling and debugging new acceleration applications.
Before you install platform-specific packages, download theXilinxRuntime (XRT), the Deployment Shell, and the Development Shell for your specific card from these product pages:
- Alveo U200 Data Center Accelerator Card
- Alveo U250 Data Center Accelerator Card
- Alveo U280 Data Center Accelerator Card
All software installations use standard Linux RPM and Linux DEB distribution files, and root access is required for all software and firmware installations.
Your operating system might require additional packages to be installed prior to installing the XRT and shells. To verify that you have installed all required packages on your machine, use this script:https://github.com/Xilinx/XRT/blob/master/src/runtime_src/tools/scripts/xrtdeps.sh.
Installing the Packages on CentOS/RedHat
To install and use the XRT on CentOS/RedHat, ensure that you have installed all required packages and recommended libraries, as described inInstall Required CentOS/RHEL Packages.
To successfully install XRT, you must have kernel-headers and kernel-devel packages installed on your machine. On CentOS/RedHat, XRT supports Linux kernel up to: 3.10.0-862.14.4.el7.x86_64.
Use the following commands to install the packages for your specific platform.
Where
is the directory where the packages were downloaded in the previous step, and
is the latter part of the XRT file name.
sudo yum install /xrt_.rpm sudo yum install /xilinx---.rpm sudo yum install /xilinx---dev-.rpm
Installing the Packages on Ubuntu
Use the following commands to install the packages for your specific platform.
Where
is the directory where the packages were downloaded to,
is the latter part of the XRT file name, and
is the operating system.
sudo apt install /xrt_.deb sudo apt install /xilinx---_.deb sudo apt install /xilinx----dev_.deb
Setting Up the Environment to RunSDAccel
To set up the environment to run theSDxtools: source the file below so that the elements of theSDAcceldevelopment environment are in thePATH, and other variables that are required are also set up.
C Shell:
source /settings64.csh source /xrt/setup.csh
Bash:
source /settings64.sh source /xrt/setup.sh