UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Newbie hammondc1
Newbie
221 Views
Registered: ‎11-28-2019

Getting Started with Vitis Error

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:
Reports: /home/hammond/Vitis-Tutorials/docs/my-first-program/reference-files/_x/reports/vadd.xilinx_u200_xdma_201830_2
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:
/home/hammond/tools/Xilinx/Vitis/2019.2/platforms
The valid platforms found from the above repo paths are:
/home/hammond/tools/Xilinx/Vitis/2019.2/platforms/xcvc1902_fixed/xcvc1902_fixed.xpfm

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

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
189 Views
Registered: ‎07-16-2008

回复: Getting Started with Vitis Error

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).

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Newbie hammondc1
Newbie
134 Views
Registered: ‎11-28-2019

回复: Getting Started with Vitis Error

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/
license test

 

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?

0 Kudos
Newbie hammondc1
Newbie
74 Views
Registered: ‎11-28-2019

回复: Getting Started with Vitis Error

I don't have this file anywhere on my machine. Can you point me to the correct location to install it?

0 Kudos
Xilinx Employee
Xilinx Employee
54 Views
Registered: ‎07-16-2008

回复: Getting Started with Vitis Error

Did you follow all the steps to set it up?

https://www.xilinx.com/products/boards-and-kits/alveo/u200.html#gettingStarted

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------