Xilinx Alveo加速卡开发环境搭建

作者

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

参考

网页版帮助
官网Alveo U200 Data Center Accelerator Card首页
Vitis Unified Software Development Platform 2020.1 Documentation
Xilinx Runtime (XRT) Documentation
在 Alveo 上的 Vitis 加速开发流程(中文)
Using Xilinx Alveo Cards to Accelerate Dynamic Workloads
Get Moving with Alveo: Acceleration Basics
Alveo U280 数据中心加速器卡用户文档
Alveo 附件

介绍

QSFP28光模块的外形尺寸和QSFP光模块相同,但是它们的传输方式不一样,前者为4x10G或4x25G,后者是4x10G,所以100G QSFP28端口可以使用QSFP+光模块或QSFP28光模块。Alveo U200需要看ug1289和ug1301.

XRT

下载编译安装,

# get XRT
$ git clone https://github.com/Xilinx/XRT.git
# install dependencies
$ sudo src/runtime_src/tools/scripts/xrtdeps.sh # warning, but just warning
The directory '/home/qe/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/qe/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
# build runtime
$ cd XRT/build
$ ./build.sh
# build deb for ubuntu
$ cd build/Release # release, auto built
$ make package
$ cd ../Debug # debug
$ make package
# install
$ sudo apt install --reinstall ./xrt_202020.2.8.0_18.04-amd64-xrt.deb
$ apt list --installed | grep xrt
xrt/now 2.8.0 amd64 [已安装,本地]
# build docs, build/Release/runtime_src/doc/html/index.html
cd build
./build.sh docs
xdg-open Release/runtime_src/doc/html/index.html # To browse the generated local documentation with a web browser

运行,添加-dbg开启调试,

<path>/XRT/build/run.sh ./host.exe kernel.xclbin

Deployment Target Platform

下载安装,

$ sudo apt install ./xilinx-cmc-u50-1.0.17-2784148_18.04.deb 
$ sudo apt install ./xilinx-sc-fw-u50-5.0.27-2.e289be9_18.04.deb
$ sudo apt install ./xilinx-u50-gen3x16-xdma-201920.3-2784799_18.04.deb
$ sudo apt install ./xilinx-u50-gen3x16-xdma-dev-201920.3-2784799_18.04.deb

你以为这么顺利,然而我遇到来这个问题Problems installing U50 deployment,帖子里说重启就好了,我都没安装成功,我重启能有什么用,

This is create_xsabin.sh running from /usr/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b on Fri 04 Sep 2020 04:03:45 PM EDT
Run for install of partition xilinx-u50-gen3x16-xdma-blp version 1 release 2784799
Metadata file is partition_metadata.json
User install path is /opt/xilinx/firmware/u50/gen3x16-xdma/blp
Required ert firmware install directory not found at /opt/xilinx/xrt/share/fw. Unable to build xsabin files

然而老哥我手痒,打算卸载重装试一试,结果卸载失败,可能软件有残留没删干净,重新安装无法安装,我就按照提示手动rm -rf相关文件,再干这条命令,
如此卸载删文件重装,搞了2个小时,夜已深,我能怎么办,我要去骂Xilinx垃圾?可能有点过了,我给CSDN提议增加一个功能:可删除不小心打开的付费订阅专栏,就是上面的《不要订阅这个专栏》,半年多了吧,改过没有,没有,Xilinx搞的还是挺好的,我骂它干嘛,对不!没用的。
第二天,老哥我拖着疲惫的身躯,又来干了,我放弃了干这条命令,打算曲线救国,先研究一下deb包是个什么东西,10分钟之后,我搞明白了,恩,不好意思,让各位久等了,我花了10min才把Xilinx的衣服给扒掉,我承认是老哥最近缺少练习,手生,我已经联系了楼下会所的老师,等干完这个命令,去找老师补习一下。少说废话,下面来欣赏一下Xilinx这新鲜的肉体,2019年的deb包,距今不过只1年而已,老哥我手动干掉这些文件,

/lib
/lib/firmware
/lib/firmware/xilinx
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/create_xsabin.log
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/create_xsabin.sh
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/license
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/license/COPYRIGHT
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/license/LICENSE
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/partition.mcs
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/partition.xsabin
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/partition_metadata.json
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/test
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/test/bandwidth.xclbin
/lib/firmware/xilinx/f465b0a3ae8c64f619bc150384ace69b/test/verify.xclbin
/opt
/opt/xilinx
/opt/xilinx/firmware/u50
/opt/xilinx/firmware/u50/gen3x16-xdma
/opt/xilinx/firmware/u50/gen3x16-xdma/blp
/opt/xilinx/firmware/u50/gen3x16-xdma/blp/firmware
/opt/xilinx/firmware/u50/gen3x16-xdma/blp/scripts
/usr
/usr/share
/usr/share/doc
/usr/share/doc/xilinx-u50-gen3x16-xdma-blp
/usr/share/doc/xilinx-u50-gen3x16-xdma-blp/changelog.Debian.gz

安装成功的状态,

$ apt list --installed | grep xrt
xrt/now 2.7.766 amd64 [已安装,本地]
$ apt list --installed | grep xilinx
xilinx-cmc-u50/now 1.0.17-2784148 all [已安装,本地]
xilinx-sc-fw-u50/now 5.0.27-2.e289be9 all [已安装,本地]
xilinx-u50-gen3x16-xdma-blp/now 1-2784799 all [已安装,本地]
xilinx-u50-gen3x16-xdma-dev/now 201920.3-2784799 all [已安装,本地]

安装mesa,有警告,

$ sudo add-apt-repository ppa:xorg-edgers/ppa 

 == Xorg packages fresh from git ==

Currently supported releases are Xenial/16.04 and Yakkety/16.10

* WARNING: Do not use this PPA with enabled HWE stack.

Be sure to revert this PPA before doing a release upgrade or the upgrade will not succeed. To revert to official packages, install the ppa-purge package and run "sudo ppa-purge xorg-edgers".

== Important notice ==

This PPA is currently meant to be used as a whole. Please do _not_ individually install packages from it, add it to your sources and let your package manager pull in every update. The packages here build against each other and compile different features based on whats available at build time. Do not assume that because it lets you install a DDX with just the driver and libdrm update that it will work.  These packages are made with scripts that use the the current packages as the base, so some dependencies can be wrong and your package manager will not resolve that for you.  If you want to individually install something from here, grab the source and rebuild it in your current environment instead.

** Please do not publish instructions for how to install from this archive without linking to this page! Anyone using packages from this archive is expected to read this page first and it is recommended to check back occasionally for notice on problems that may arise. **

** Please use ppa-purge to remove this PPA. It is *particularly* recommended to do this before upgrading to a new ubuntu release! **
 更多信息: https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa
按 [ENTER] 继续或 Ctrl-c 取消安装。

命中:1 http://mirrors.aliyun.com/ubuntu bionic InRelease
命中:2 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease               
命中:3 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease             
命中:4 http://mirrors.aliyun.com/ubuntu bionic-security InRelease                                 
命中:5 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu bionic InRelease                      
获取:6 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu bionic InRelease [20.7 kB]
获取:7 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu bionic/main i386 Packages [6,116 B]
获取:8 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu bionic/main amd64 Packages [6,112 B]
获取:9 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu bionic/main Translation-en [4,376 B]
已下载 37.4 kB,耗时 5秒 (6,993 B/s)        
正在读取软件包列表... 完成
$ sudo apt-get update
$ sudo apt-get install libgl1-mesa-glx
$ sudo apt-get install libgl1-mesa-dri
$ sudo apt-get install libgl1-mesa-dev
$ sudo add-apt-repository --remove ppa:xorg-edgers/ppa

Vitis

首先安装Vitis,参考我的博客Xilinx Vitis 安装和使用,注意部署目标平台与Vitis之间的兼容性,
Xilinx Alveo加速卡开发环境搭建_第1张图片

测试

插入Alveo加速卡,可以看到卡和驱动都装上了,

$ lspci -tv
-[0000:00]-+-00.0  Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers
           +-01.0-[01]--+-00.0  Xilinx Corporation Device 5020
           |            \-00.1  Xilinx Corporation Device 5021
           +-08.0  Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
           +-14.0  Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
           +-16.0  Intel Corporation 200 Series PCH CSME HECI #1
           +-17.0  Intel Corporation 200 Series PCH SATA controller [AHCI mode]
           +-1c.0-[02-03]----00.0-[03]--
           +-1c.5-[04]--+-00.0  NVIDIA Corporation GP107GL [Quadro P1000]
           |            \-00.1  NVIDIA Corporation GP107GL High Definition Audio Controller
           +-1c.6-[05]--
           +-1c.7-[06]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           +-1d.0-[07]--
           +-1f.0  Intel Corporation Device a2ca
           +-1f.2  Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
           +-1f.3  Intel Corporation 200 Series PCH HD Audio
           \-1f.4  Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
$ sudo lspci -vv -s 01:00.0
01:00.0 Processing accelerators: Xilinx Corporation Device 5020
	Subsystem: Xilinx Corporation Device 000e
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Region 0: Memory at d2000000 (64-bit, prefetchable) [size=32M]
	Region 2: Memory at d4020000 (64-bit, prefetchable) [size=128K]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [60] MSI-X: Enable+ Count=32 Masked-
		Vector table: BAR=2 offset=00010000
		PBA: BAR=2 offset=00014000
	Capabilities: [70] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 1024 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75.000W
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 256 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 8GT/s, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
		LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+
			 EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
	Capabilities: [1c0 v1] #19
	Capabilities: [e00 v1] Access Control Services
		ACSCap:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl+ DirectTrans-
		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
	Capabilities: [e10 v1] #15
	Capabilities: [e80 v1] Vendor Specific Information: ID=0020 Rev=0 Len=010 <?>
	Kernel driver in use: xclmgmt
	Kernel modules: xclmgmt

qe@qe-pc:~$ sudo lspci -vv -s 01:00.1
01:00.1 Processing accelerators: Xilinx Corporation Device 5021
	Subsystem: Xilinx Corporation Device 000e
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at d0000000 (64-bit, prefetchable) [size=32M]
	Region 2: Memory at d4000000 (64-bit, prefetchable) [size=128K]
	Region 4: Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [60] MSI-X: Enable+ Count=32 Masked-
		Vector table: BAR=2 offset=00010000
		PBA: BAR=2 offset=00014000
	Capabilities: [70] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 1024 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75.000W
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 256 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 8GT/s, Width x16, ASPM not supported, Exit Latency L0s unlimited, L1 unlimited
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
	Capabilities: [e00 v1] Access Control Services
		ACSCap:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl+ DirectTrans-
		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
	Capabilities: [e10 v1] #15
	Capabilities: [e80 v1] Vendor Specific Information: ID=0020 Rev=0 Len=010 <?>
	Kernel driver in use: xocl
	Kernel modules: xocl
# 卡固件是最新,更新后冷重启方可使用
$ sudo /opt/xilinx/xrt/bin/xbmgmt flash --update --shell xilinx_u50_gen3x16_xdma_201920_3
	 Status: shell is up-to-date

Card(s) up-to-date and do not need to be flashed.
$ sudo lspci -vd 10ee:
01:00.0 Processing accelerators: Xilinx Corporation Device 5020
	Subsystem: Xilinx Corporation Device 000e
	Flags: bus master, fast devsel, latency 0
	Memory at d2000000 (64-bit, prefetchable) [size=32M]
	Memory at d4020000 (64-bit, prefetchable) [size=128K]
	Capabilities: [40] Power Management version 3
	Capabilities: [60] MSI-X: Enable+ Count=32 Masked-
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [1c0] #19
	Capabilities: [e00] Access Control Services
	Capabilities: [e10] #15
	Capabilities: [e80] Vendor Specific Information: ID=0020 Rev=0 Len=010 <?>
	Kernel driver in use: xclmgmt
	Kernel modules: xclmgmt

01:00.1 Processing accelerators: Xilinx Corporation Device 5021
	Subsystem: Xilinx Corporation Device 000e
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	Memory at d4000000 (64-bit, prefetchable) [size=128K]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Capabilities: [40] Power Management version 3
	Capabilities: [60] MSI-X: Enable+ Count=32 Masked-
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [e00] Access Control Services
	Capabilities: [e10] #15
	Capabilities: [e80] Vendor Specific Information: ID=0020 Rev=0 Len=010 <?>
	Kernel driver in use: xocl
	Kernel modules: xocl	
# 确保版本号一致
$ sudo /opt/xilinx/xrt/bin/xbmgmt flash --scan
[sudo] qe 的密码: 
Card [0000:01:00.0]
    Card type:		u50
    Flash type:		SPI
    Flashable partition running on FPGA:
        xilinx_u50_gen3x16_xdma_201920_3,[ID=0xf465b0a3ae8c64f6],[SC=5.0.27]
    Flashable partitions installed in system:	
        xilinx_u50_gen3x16_xdma_201920_3,[ID=0xf465b0a3ae8c64f6],[SC=5.0.27]
$ sudo /opt/xilinx/xrt/bin/xbutil validate
INFO: Found 1 cards

INFO: Validating card[0]: xilinx_u50_gen3x16_xdma_201920_3
INFO: == Starting Kernel version check: 
INFO: == Kernel version check PASSED
INFO: == Starting AUX power connector check: 
AUX power connector not available. Skipping validation
INFO: == AUX power connector check SKIPPED
INFO: == Starting PCIE link check: 
INFO: == PCIE link check PASSED
INFO: == Starting SC firmware version check: 
INFO: == SC firmware version check PASSED
INFO: == Starting verify kernel test: 
INFO: == verify kernel test PASSED
INFO: == Starting DMA test: 
Host -> PCIe -> FPGA write bandwidth = 11427.041021 MB/s
Host <- PCIe <- FPGA read bandwidth = 11863.935490 MB/s
INFO: == DMA test PASSED
INFO: == Starting device memory bandwidth test: 
...........
Maximum throughput: 44035 MB/s
INFO: == device memory bandwidth test PASSED
INFO: == Starting PCIE peer-to-peer test: 
P2P BAR is not enabled. Skipping validation
INFO: == PCIE peer-to-peer test SKIPPED
INFO: == Starting memory-to-memory DMA test: 
M2M is not available. Skipping validation
INFO: == memory-to-memory DMA test SKIPPED
INFO: == Starting host memory bandwidth test: 
Host_mem is not available. Skipping validation
INFO: == host memory bandwidth test SKIPPED
INFO: Card[0] validated successfully.

INFO: All cards validated successfully.
$ xbutil query
INFO: Found total 1 card(s), 1 are usable
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System Configuration
OS name:	Linux
Release:	5.3.0-62-generic
Version:	#56~18.04.1-Ubuntu SMP Wed Jun 24 16:17:03 UTC 2020
Machine:	x86_64
Model:		H310M HD2 2.0
CPU cores:	4
Memory:		15962 MB
Glibc:		2.27
Distribution:	Ubuntu 18.04.4 LTS
Now:		Sun Oct 18 14:32:36 2020 GMT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XRT Information
Version:	2.7.766
Git Hash:	19bc791a7d9b54ecc23644649c3ea2c2ea31821c
Git Branch:	2020.1_PU1
Build Date:	2020-08-17 16:52:05
XOCL:		2.7.766,19bc791a7d9b54ecc23644649c3ea2c2ea31821c
XCLMGMT:	2.7.766,19bc791a7d9b54ecc23644649c3ea2c2ea31821c

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shell                           FPGA                            IDCode
xilinx_u50_gen3x16_xdma_201920_3                                0xdeadfa11
Vendor          Device          SubDevice       SubVendor       SerNum          
0x10ee          0x5021          0x000e          0x10ee          50121119CG4H    
DDR size        DDR count       Clock0          Clock1          Clock2          
0 Byte          0               300             500             450             
PCIe            DMA chan(bidir) MIG Calibrated  P2P Enabled     OEM ID          
GEN 3x16        2               true            N/A             0x30314144(N/A) 
Interface UUID
862c7020a250293e32036f19956669e5
Logic UUID
f465b0a3ae8c64f619bc150384ace69b
DNA                             CPU_AFFINITY    HOST_MEM size   Max HOST_MEM    
                                0-3             0 Byte          0 Byte          
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Temperature(C)
PCB TOP FRONT   PCB TOP REAR    PCB BTM FRONT   VCCINT TEMP     
28              30              N/A             35              
FPGA TEMP       TCRIT Temp      FAN Presence    FAN Speed(RPM)  
37              27              P               N/A             
QSFP 0          QSFP 1          QSFP 2          QSFP 3          
N/A             N/A             N/A             N/A             
HBM TEMP        
32              
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Electrical(mV|mA)
12V PEX         12V AUX         12V PEX Current 12V AUX Current 
12002           N/A             1180            N/A             
3V3 PEX         3V3 AUX         DDR VPP BOTTOM  DDR VPP TOP     
3373            N/A             N/A             N/A             
SYS 5V5         1V2 TOP         1V8 TOP         0V85            
4991            N/A             1802            N/A             
MGT 0V9         12V SW          MGT VTT         1V2 BTM         
903             N/A             1206            N/A             
VCCINT VOL      VCCINT CURR     VCCINT IO VOL   VCC3V3 VOL      
849             4600            850             3347            
3V3 PEX CURR    VCCINT IO CURR  HBM1V2 VOL      VPP2V5 VOL      
222             2200            1201            2503            
VCC1V2 CURR     V12 I CURR      V12 AUX0 CURR   V12 AUX1 CURR   
N/A             N/A             N/A             N/A             
12V AUX1 VOL    VCCAUX VOL      VCCAUX PMC VOL  VCCRAM VOL      
N/A             88386123        88386123        88386123        
3V3 AUX CURR    
N/A             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Card Power(W)
14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Firewall Last Error Status
Level 3 : 0x2(RECS_ARREADY_MAX_WAIT)
Error occurred on: Sun 2020-10-18 17:53:11 CST

ECC Error Status
Tag     Errors      CE Count  UE Count  CE FFA              UE FFA              
HBM[0]  (None)      0         0         0x0                 0x0                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Memory Status
     Tag         Type        Temp(C)  Size    Mem Usage       BO count
[ 0] HBM[0]      MEM_HBM     32       256 MB  0 Byte          0       
[ 1] HBM[1]      **UNUSED**  32       256 MB  0 Byte          0       
[ 2] HBM[2]      **UNUSED**  32       256 MB  0 Byte          0       
[ 3] HBM[3]      **UNUSED**  32       256 MB  0 Byte          0       
[ 4] HBM[4]      **UNUSED**  32       256 MB  0 Byte          0       
[ 5] HBM[5]      **UNUSED**  32       256 MB  0 Byte          0       
[ 6] HBM[6]      **UNUSED**  32       256 MB  0 Byte          0       
[ 7] HBM[7]      **UNUSED**  32       256 MB  0 Byte          0       
[ 8] HBM[8]      **UNUSED**  32       256 MB  0 Byte          0       
[ 9] HBM[9]      **UNUSED**  32       256 MB  0 Byte          0       
[ a] HBM[10]     **UNUSED**  32       256 MB  0 Byte          0       
[ b] HBM[11]     **UNUSED**  32       256 MB  0 Byte          0       
[ c] HBM[12]     **UNUSED**  32       256 MB  0 Byte          0       
[ d] HBM[13]     **UNUSED**  32       256 MB  0 Byte          0       
[ e] HBM[14]     **UNUSED**  32       256 MB  0 Byte          0       
[ f] HBM[15]     **UNUSED**  32       256 MB  0 Byte          0       
[10] HBM[16]     **UNUSED**  32       256 MB  0 Byte          0       
[11] HBM[17]     **UNUSED**  32       256 MB  0 Byte          0       
[12] HBM[18]     **UNUSED**  32       256 MB  0 Byte          0       
[13] HBM[19]     **UNUSED**  32       256 MB  0 Byte          0       
[14] HBM[20]     **UNUSED**  32       256 MB  0 Byte          0       
[15] HBM[21]     **UNUSED**  32       256 MB  0 Byte          0       
[16] HBM[22]     **UNUSED**  32       256 MB  0 Byte          0       
[17] HBM[23]     **UNUSED**  32       256 MB  0 Byte          0       
[18] HBM[24]     **UNUSED**  32       256 MB  0 Byte          0       
[19] HBM[25]     **UNUSED**  32       256 MB  0 Byte          0       
[1a] HBM[26]     **UNUSED**  32       256 MB  0 Byte          0       
[1b] HBM[27]     **UNUSED**  32       256 MB  0 Byte          0       
[1c] HBM[28]     **UNUSED**  32       256 MB  0 Byte          0       
[1d] HBM[29]     **UNUSED**  32       256 MB  0 Byte          0       
[1e] HBM[30]     **UNUSED**  32       256 MB  0 Byte          0       
[1f] HBM[31]     **UNUSED**  32       256 MB  0 Byte          0       
[20] PLRAM[0]    **UNUSED**  N/A      0 Byte  0 Byte          0       
[21] PLRAM[1]    **UNUSED**  N/A      0 Byte  0 Byte          0       
[22] PLRAM[2]    **UNUSED**  N/A      0 Byte  0 Byte          0       
[23] PLRAM[3]    **UNUSED**  N/A      0 Byte  0 Byte          0       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DMA Transfer Metrics
Chan[0].h2c:  1 KB
Chan[0].c2h:  1 KB
Chan[1].h2c:  1 KB
Chan[1].c2h:  0 Byte
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streams
     Tag         Flow ID  Route ID Status   Total (B/#)     Pending (B/#)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xclbin UUID
f6c836fc-096d-4c95-9870-5fe5a58c2bf8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compute Unit Status
CU[ 0]: mmult:mmult_1                   @0x1400000         (IDLE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Partition Info:
    installation
        installed_package_dir: /opt/xilinx/firmware/u50/gen3x16-xdma/blp
        installed_package_name: xilinx-u50-gen3x16-xdma-blp
        installed_package_release: 2784799
        installed_package_version: 1
    partition_card: u50
    partition_family: gen3x16-xdma
    partition_features
        pcie
            device_ids
                5020
                    role: management_pf
                5021
                    role: user_pf
            extended_capabilities: enabled
            max_link_speed: gen3x16
            subsystem_id: 000e
            vendor_id: 10ee
    partition_identifiers
        interface_uuids
            862c7020a250293e32036f19956669e5
                type: exposed
        logic_uuid: f465b0a3ae8c64f619bc150384ace69b
    partition_name: blp
    partition_type: blp
    partition_vendor: xilinx
    vbnv_override: xilinx:u50:gen3x16_xdma:201920_3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: xbutil query succeeded.

你可能感兴趣的:(FPGA,alveo)