Set up xbtest¶
Before using xbtest, your card should be installed and operating correctly, including Xilinx Runtime (XRT). For installation instructions, see the following:
Important
Ensure you run xbtest from a folder where you have write permission.
Use the following commands to set up xbtest:
Shell |
Command |
---|---|
csh |
$ source /opt/xilinx/xbtest/setup.csh
|
bash |
$ source /opt/xilinx/xbtest/setup.sh
|
If xbtest was installed in a user specified location <target directory>
(see Install xbtest to another location), set up the environment by using the following command:
Shell |
Command |
---|---|
csh |
$ source <target directory>/opt/xilinx/xbtest/setup.csh
|
bash |
$ source <target directory>/opt/xilinx/xbtest/setup.sh
|
This script:
Sets the environment variable
XILINX_XBTEST
with the script location (/opt/xilinx/xbtest/
or<target directory>/opt/xilinx/xbtest/
).Prepends the location of the xbtest executable (
/opt/xilinx/xbtest/bin/
or<target directory>/opt/xilinx/xbtest/bin/
) to thePATH
environment variable.
Note
The Common software uses the environment variable XILINX_XBTEST
for the installation location of Test software and Platform specific libraries.
If XILINX_XBTEST
is not set, then Common software reports an error:
FAILURE :: GEN_070 :: GENERAL :: Environment variable XILINX_XBTEST is not set. Please source the xbtest setup script.
If xbtest is installed and set up correctly, the following command displays the xbtest help instructions:
$ xbtest -h