11-28-2019 11:42 AM
I am trying to build the first program from the vitis tutorials. I have installed vitis, the runtime, and xilinx_u200_xdma_201830_2 on ubuntu, but I get the following error:
v++ -t sw_emu --config design.cfg -c -k vadd -I'../src' -o'vadd.xilinx_u200_xdma_201830_2.xo' './src/vadd.cpp'
Option Map File Used: '/home/hammond/tools/Xilinx/Vitis/2019.2/data/vitis/vpp/optMap.xml'
****** v++ v2019.2 (64-bit)
**** SW Build 2708876 on Wed Nov 6 21:39:14 MST 2019
** Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
INFO: [v++ 60-1306] Additional information associated with this v++ compile can be found at:
Log files: /home/hammond/Vitis-Tutorials/docs/my-first-program/reference-files/_x/logs/vadd.xilinx_u200_xdma_201830_2
Running Dispatch Server on port:44699
INFO: [v++ 60-1548] Creating build summary session with primary output /home/hammond/Vitis-Tutorials/docs/my-first-program/reference-files/vadd.xilinx_u200_xdma_201830_2.xo.compile_summary, at Thu Nov 28 14:37:08 2019
INFO: [v++ 60-1316] Initiating connection to rulecheck server, at Thu Nov 28 14:37:09 2019
Running Rule Check Server on port:42687
INFO: [v++ 60-1315] Creating rulecheck session with output '/home/hammond/Vitis-Tutorials/docs/my-first-program/reference-files/_x/reports/vadd.xilinx_u200_xdma_201830_2/v++_compile_vadd.xilinx_u200_xdma_201830_2_guidance.html', at Thu Nov 28 14:37:09 2019
ERROR: [v++ 60-1258] No valid platform was found that matches 'xilinx_u200_xdma_201830_2'. Please make sure that the platform is specified correctly, and the platform has the right version number. The platform repo paths are:
The valid platforms found from the above repo paths are:
ERROR: [v++ 60-587] Failed to add a platform: specified platform xilinx_u200_xdma_201830_2 is not found or is not valid
ERROR: [v++ 60-592] Failed to finish compilation
11-28-2019 04:57 PM
You need to set environment variable PLATFORM_REPO_PATHS to point to the installation folder of platform files (where xilinx_u200_xdma_201830_2.xpfm is located).
11-29-2019 12:33 PM
Thanks for your response.
There is no file xilinx_u200_xdma_201830_2.xpfm on my machine. I ran the installations for u200 and I have:
hammond@system76-pc:~/Vitis-Tutorials/docs/my-first-program/reference-files$ ls /opt/xilinx/dsa/xilinx_u200_xdma_201830_2/
However, setting PLATFORM_REPO_PATHS=/opt/xilinx/dsa/xilinx_u200_xdma_201830_2/ is not sufficient. Can you point me to the appropriate download that will satisfy this dependency?
12-02-2019 05:29 PM
Did you follow all the steps to set it up?
01-25-2020 02:21 AM
Platform for Alveo U200 can be found here:
Download the "Development Target Platform" , and install them in your system, you should be able to see the XSA for Alveo U200/U250 under /opt/xilinx/platforms/
07-14-2020 08:52 AM - edited 07-14-2020 02:37 PM
It's very confusing that the examples (besides vadd which is what we have been discussing thus far and giving me no luck) are through Xilinx github and not aimed at AWS at all it seems. I followed the steps here:
But can't get the "xilinx_u200_xdma_201830_2" platform running. I followed these steps on xilinx website:
I'm getting this dependency error (running Vitis on AWS instance centOS7):
Error: Package: xilinx-u200-xdma-dev-201830.2-2580015.x86_64 (/xilinx-u200-xdma-dev-201830.2-2580015.x86_64) Requires: xilinx-u200-xdma >= 201830.2
Maybe these getting_started examples just aren't for AWS? I also considered changing the target platform to the one that is found in /opt/Xilinx/Vitis/2019.2/platforms, xcvc1902_fixed. Is this the standard platform for working with Amazon's F1 UltraScale+ xcvu9p FPGA's?
I don't know how to go about changing this as the target platform in the Vitis getting started example though (the mixing rtl kernels mentioned above).
Thanks in advance!
07-15-2020 08:45 PM - edited 07-15-2020 08:51 PM
Are you running the project on AWS F1 machine or on your local machine with FPGA?
- If you are running on local FPGA machine, with U200 card, the "xilinx_u200_xdma_201830_2.xpfm" usually located under "/opt/xilinx/platforms/xilinx_u200_xdma_201830_2/"
If the file is not in the right folder--that means you either not correctly install the platform, or you install it to some other place--you can use "locate *.xpfm" to find where such file located.
- If you are running on AWS machine, you should not care about the "xilinx_u200_xdma_201830_2", but something like "xilinx_aws-vu9p-f1_shell-v04261818_xxxxx", which usually located under aws-fpga installation folder. for exp, "/aws-fpga/Vitis/aws_platform/xilinx_aws-vu9p-f1_shell-v04261818_201920_1/"
AWS machine have totally different platform file (though I believe they are using the same HW like U200)
Reminder for AWS project setup have some other tricky--you'd better follow the AWS helloworld project setup guidance but not Xilinx Tutorial-- after few project trying you then will realize where the difference--before that DO NOT cross-reference the AWS guidance and Xilinx guidance..
07-17-2020 01:44 AM - edited 07-17-2020 01:44 AM
You should install both versions u200 included dev one.In installation you give the full path of the deb files location.
sudo apt install /home/<your name>/Download/deb_file
07-31-2020 07:56 AM
I download xilinx-u200-xdma-201830.2-2580015_18.04.deb and install this package by below command
sudo apt install $HOME/Downloads/xilinx-u200-xdma-201830.2-2580015_18.04.deb
It only add /opt/xilinx/dsa and not /opt/xilinx/platform.
Above command also suggest me to run below command
sudo /opt/xilinx/xrt/bin/xbutil flash -a xilinx_u200_xdma_201830_2 -t 1561465320
However, when I run above command, I only get below error message
WARNING: The xbutil sub-command flash has been deprecated. Please use the xbmgmt utility with flash sub-command for equivalent functionality. Card not found!
And I can't figure out how to get platform directory and xilinx_u200_xdma_201830_2.xpfm.
Is this tutorial only for alveo users? If not, please tell me the way to work.