Xilinx Vivado和SDK安装

作者

QQ群:852283276
微信:arm80x86
微信公众号:青儿创客基地
B站:主页 https://space.bilibili.com/208826118

作者

QQ群:852283276
微信:arm80x86
微信公众号:青儿创客基地
B站:主页 https://space.bilibili.com/208826118

参考

官网下载
vivado 设置 多线程编译

方法

以vivado2015.2.1为例,先安装vivado2015.2,再安装vivado2015.2.1更新包,选下面两个都可以,看需求,
160选上sdk,按需选择,
161添加license,
162安装完后卸载烦人的xic,xilinx information center,
159

设置多线程

编译时弹出的对话框可以选择线程数。
-----------------------------------Place Route
Windows默认----------------------2 2
Linux默认---------------------------4 4
Windows开启maxThreads=8–4 4
Linux开启maxThreads=8-------8 8

set_param general.maxThreads 4
get_param general.maxThreads

tcl

命令行使用tcl,vivado -mode tcl,使用前要先source一下settings64.sh文件,再执行start_gui可打开当前工程GUI。Linux和Windows下都可用GUI来使用tcl。

下载器驱动安装失败

Vivado无法扫描到FPGA,设备管理器中显示Xilinx Platform Cable USB Firmware Loader,可能是我安装过SDK2018.2,
164
在设备上右键菜单卸载删除驱动,
165
我本打算到安装包中手动安装驱动,但奇迹出现了,删除驱动后,又自动安装了一个驱动,变正常的了,由于异常过,这儿不能auto connect,选择手动发现就可以了。
166

Linux

Ubuntu

  • 换了个i3-9100F的无法安装ubuntu16.04.6,换了最新的ubuntu20.04,安装vivado2018.2,卡在Generating installed devices list,换了ubuntu18.04,可以安装vivado2018.2,总是闪屏,更新显卡驱动,终于稳定了。
  • 更改ubuntu的dash为bash

命令行安装,

$ sudo apt update
$ sudo apt upgrade
$ sudo apt install libncurses5
$ sudo apt install libtinfo5
$ sudo apt install libncurses5-dev libncursesw5-dev
$ sudo apt install ncurses-compat-libs
# ./xsetup -b ConfigGen
Running in batch mode...
Copyright (c) 1986-2021 Xilinx, Inc.  All rights reserved.

INFO : Log file location - /root/.Xilinx/xinstall/xinstall_1627208663081.log
Select a Product from the list:
1. Vitis
2. Vivado
3. On-Premises Install for Cloud Deployments
4. BootGen
5. Lab Edition
6. Hardware Server
7. Documentation Navigator (Standalone)

Please choose: 2

INFO : Config file available at /root/.Xilinx/install_config.txt. Please use -c <filename> to point to this install configuration.
# 修改安装路径 /opt/Xilinx
# vi /root/.Xilinx/install_config.txt 
# ./xsetup -a XilinxEULA,3rdPartyEULA,WebTalkTerms -b Install -c /root/.Xilinx/install_config.txt 

安装下载器驱动,

$ cd /opt/Xilinx/Vivado/2020.1/data/xicom/cable_drivers/lin64/install_script/install_drivers/
$ ./install_drivers 
$ sudo reboot

安装hw_server,

# ./xsetup -b ConfigGen
Running in batch mode...
Copyright (c) 1986-2021 Xilinx, Inc.  All rights reserved.

INFO : Log file location - /root/.Xilinx/xinstall/xinstall_1627207983309.log
Select a Product from the list:
1. Vitis
2. Vivado
3. On-Premises Install for Cloud Deployments
4. BootGen
5. Lab Edition
6. Hardware Server
7. Documentation Navigator (Standalone)

Please choose: 6

INFO : Config file available at /root/.Xilinx/install_config.txt. Please use -c <filename> to point to this install configuration.
# 修改安装路径 /opt/Xilinx
# vi /root/.Xilinx/install_config.txt 
# ./xsetup -a XilinxEULA,3rdPartyEULA,WebTalkTerms -b Install -c /root/.Xilinx/install_config.txt 

Centos8

# yum install ncurses
# yum install ncurses-compat-libs

WARN : com.xilinx.installer.utils.o:? - Could not load native code

我在Windows下解压,在ubuntu中安装失败,copy到ubuntu中再解压安装就可以了。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值