Table of Contents
11 FPGA Compile Tools
Any LabVIEW FPGA Compile Farm features a compile server and one or more compile workers. LabVIEW Clients do not connect to compile workers directly!
-
Compile Worker starts, connects to Compile Server, registers with his functions
-
Compile Server is waiting for jobs
-
Dev. Env. is sending jobs to Compile Server
-
Compile Server hands jobs to Compile Worker
-
Compile Server has to be publicly available
-
Compile Worker doesn't have to be available via name/IP
Compile Farm Server
For our internal HSE Compile Farm:
Build Server VM for LV2016-19: ip address ==.47
Build Server VM for LV2020: ip address ==.45
For credentials see 1Password NI Compile Farm ServersInstallation
-
Download setup media from NI's website
Managing External Connections
FPGA Compile Farm Server must be configured to accept external connections.
-
Open the FPGA Compile Farm Console: Open a Web browser and enter http://localhost:3580
-
Internet Explorer supports SilverLight, other browsers complain
Click the Login link and enter a username and password to log into the console. By default, the username is admin and the password is left empty.Click the Security Configuration button in the left-hand pane to access the Security Configuration page.Click the Help link in the top-right corner of this page for information about configuring security.If you want to disallow external connections to the compile server, remove the checkmark from the Allow External Connections checkbox in the FPGA Compile Farm Console window.Port forwarding
With LabVIEW 2013 the FPGA Compile Farm Server uses port 3582. You will need to verify that his port isn't being blocked by adding an exception to the Windows Firewall or other port blocking software.
Compile Worker
-
installed on CentOS7 Compile-Worker
-
connects to Compile-Server (see above)
How to install
…on an ESXi Server specifically, but applicable to any computer
-
Check the required OS version for the compile worker
-
Find the Readme file for the required Compile Tools
-
LV2020 / Vivado 2019.1: CentOS 7.4/7.5/7.6 (64-bit)
For outdated versions of CentOS, use the archives to download the needed OS version
-
Setup the host OS
-
Upload iso to ESXI server and register a new VM, while attaching it as a new optical drive
-
For ISE workers, use the 32bit version, for Vivado use 64bit
-
Install CentOS with the wizard
-
Don't forget your root password!
-
Download the required LabVIEW FPGA Compile Tool
-
Select the corresponding Application Bitness from the drop-down:
-
32bit for ISE
-
64bit for Vivado
-
Upload and mount the iso to the now installed CentOS
-
Copy all the files to another directory, because mounted isos are read-only
-
Run chmod +x on the install script and then run it with root permissions
If you run of disk space midway, assign the VM more memory from ESXI and grow the root partition with the systemctl rescue mode https://www.golinuxcloud.com/resize-root-lvm-partition-extend-shrink-rhel/
Resources
-
If you download and install the Xilinx 2019.1 for LabVIEW 2020 it will provide compile tools for 2021.
Instructions from NI
As gathered by Cyril Gambini in August 2023
Choosing the Tools
Check the hardware that you will use, and based on that choose the tools that will fit your needs:
Xilinx Compilation Tool for Vivado 2019.1
Use the Xilinx Compilation Tool for Vivado 2019.1 to compile FPGA VIs for the following devices:
-
cRIO-903x/904x/905x/906x
-
IC-317x
-
myRIO-1900/1950
-
NI ELVIS III
-
NI ELVIS RIO Control Module
-
NI-9145/9147/9149
-
PCIe-576x/577x/5785/6593/782xR/7846/7856/7857/7858/798x
-
PXIe-5163R/5164R/517xR/5624R/5745/576x/577x/5785/5840R/659x/782xR/784x/785x/786x/786xR/7902R/791x/793xR/797xR/798x/799x
-
roboRIO
-
sbRIO-9603/9608/9609/9628/9629/9638/9651/96×7
-
USB-784xR/785xR
-
USRP-RIO devices
Xilinx Compilation Tool for ISE 14.7
Use the Xilinx Compilation Tool for ISE 14.7 to compile FPGA VIs for the following devices:
-
IC-312x
-
NI-915x
-
NI CVS-145x/145xRT
-
PCIe-7841R/7842R/7851R/7852R/1473R/8237R
-
PXIe-796xR/564xR
-
PXI-784xR/785xR/795xR
Installation Instructions
Complete the following steps to install the FPGA Module Xilinx Compilation Tools for Linux:
-
Log into the system as root.
-
Use mount to mount the compilation tools installer.
-
Download the installer into a USB, change the current directory to mount point/Linux/Vivado2019_1 or mount point/Linux/ISE14_7, depending on which tool you want to install.
-
To run the installation script, enter sh ./INSTALL.
Choosing the OS
Depending on the tools you choose, the following OS are supported:
Vivado 2019.1
-
Red Hat Enterprise Linux 7.4/7.5/7.6 (64-bit)
-
CentOS 7.4/7.5/7.6 (64-bit)
-
15 GB of additional disk space
ISE 14.7
-
Red Hat Enterprise Linux 6.5 (64-bit)
Compile Machine Benchmark
A simple comparison of the FPGA compile time on some machines.
Specifications
Software:
-
Repository: hagemonitor-master
-
File: FPGA_Main.vi
-
Commit Hash: 6d6b379d85bc127e677d4f52d015843b206961e4
-
Commit Info: 6d6b379d reworked PNIO for track settings
Hardware:
-
vSphere Server (ESXi) [4.0 GHz Core i7-6700, 16 GB 1600 MHz DDR3] - Compile worker on CentOS in VM [2 processors, 4 GB RAM].
-
iMac 27“ (Late ´15) [3.3 GHz Core i5, 24 GB 1600 MHz DDR3] - Compile worker on Win 7 in VM [2 processors, 8 GB RAM].
-
MacBook Pro 15” (Early ´13) [2,7 GHz Core i7, 16 GB 1600 MHz DDR3] - Compile worker on Win 7 in VM [1 processor 4 GB RAM].
Results
-
vSphere Server: 14m
-
iMac (1. Lauf): 24m
-
iMac (2. Lauf): 24m
-
MacBook (1. Lauf): 50m
-
MacBook (2. Lauf): 52m
-
kb/ni-fpga/compile-tools.txt · Last modified: 2023/08/30 07:19 by joerg.hampel
-
-
-
-
-