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: 
Visitor gknowles
Visitor
778 Views
Registered: ‎01-12-2014

xocc fails to make .xclbin for Emulation-HW

Jump to solution

Hi

 

During the final stages of compilation for Emulation-HW I get the following error:

 

/opt/Xilinx/SDx/2018.1/bin/xocc -t hw_emu --platform /home/gknowles/openCL/aws/aws_fpga_repo/SDAccel/aws_platform/xilinx_aws-vu9p-f1_4ddr-xpr-2pr_4_0/xilinx_aws-vu9p-f1_4ddr-xpr-2pr_4_0.xpfm --save-temps --report estimate -l --nk top_chip_bin:1 -g --messageDb binary_container_1.mdb --xp misc:solution_name=_xocc_link_binary_container_1 --xp param:prop:kernel.top_chip_bin.kernel_flags="-std=c++98" -o"binary_container_1.xclbin" binary_container_1/top_chip_bin.xo

 

****** xocc v2018.1 (64-bit)
**** SW Build 2188600 on Wed Apr 4 18:39:19 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

 

INFO: [XOCC 60-897] Reading --xp value from platform: param:compiler.lockFlowCritSlackThreshold=0
WARNING: [XOCC 60-642] Invalid parameter name: prop:kernel.top_bin.kernel_flags
INFO: [XOCC 60-629] Linking for hardware emulation target
INFO: [XOCC 60-895] Target platform: /home/gknowles/openCL/aws/aws_fpga_repo/SDAccel/aws_platform/xilinx_aws-vu9p-f1_4ddr-xpr-2pr_4_0/xilinx_aws-vu9p-f1_4ddr-xpr-2pr_4_0.xpfm
INFO: [XOCC 60-423] Target device: xilinx:aws-vu9p-f1:4ddr-xpr-2pr:4.0
INFO: [XOCC 60-1032] Extracting DSA to ./.Xil/xocc-11819-carmen/xilinx_aws-vu9p-f1_4ddr-xpr-2pr_4_0
INFO: [XOCC 60-251] Hardware accelerator integration...
ERROR: [XOCC 60-399] vivado failed, please see log file for detail: '/home/gknowles/openCL/opencl_top_chip_bin/Emulation-HW/_xocc_link_binary_container_1/impl/build/hw_em/binary_container_1/sv/binary_container_1_ipi/vivado.log'
ERROR: [XOCC 60-626] Kernel link failed to complete
ERROR: [XOCC 60-703] Failed to finish linking
makefile:88: recipe for target 'binary_container_1.xclbin' failed
make: *** [binary_container_1.xclbin] Error 1

 

The log file is:

 

#-----------------------------------------------------------
# Vivado v2018.1 (64-bit)
# SW Build 2188600 on Wed Apr 4 18:39:19 MDT 2018
# IP Build 2185939 on Wed Apr 4 20:55:05 MDT 2018
# Start of session at: Mon May 28 12:54:26 2018
# Process ID: 11968
# Current directory: /home/gknowles/openCL/opencl_top_chip_bin/Emulation-HW/_xocc_link_binary_container_1/impl/build/hw_em/binary_container_1/sv/binary_container_1_ipi
# Command line: vivado -mode batch -notrace -source /home/gknowles/openCL/opencl_top_chip_bin/Emulation-HW/_xocc_link_binary_container_1/impl/build/hw_em/binary_container_1/sv/binary_container_1_ipi/ipirun.tcl -messageDb /home/gknowles/openCL/opencl_top_chip_bin/Emulation-HW/_xocc_link_binary_container_1/impl/build/hw_em/binary_container_1/sv/binary_container_1_ipi/vivado.pb
# Log file: /home/gknowles/openCL/opencl_top_chip_bin/Emulation-HW/_xocc_link_binary_container_1/impl/build/hw_em/binary_container_1/sv/binary_container_1_ipi/vivado.log
# Journal file: /home/gknowles/openCL/opencl_top_chip_bin/Emulation-HW/_xocc_link_binary_container_1/impl/build/hw_em/binary_container_1/sv/binary_container_1_ipi/vivado.jou
#-----------------------------------------------------------
source /home/gknowles/openCL/opencl_top_chip_bin/Emulation-HW/_xocc_link_binary_container_1/impl/build/hw_em/binary_container_1/sv/binary_container_1_ipi/ipirun.tcl -notrace
Sourcing kernel info from: ./map.tcl
key "scripts_dir" not known in dictionary
while executing
"dict get $config_info scripts_dir"
invoked from within
"source [dict get $config_info scripts_dir]/_vivado_params.tcl"
(file "/home/gknowles/openCL/opencl_top_chip_bin/Emulation-HW/_xocc_link_binary_container_1/impl/build/hw_em/binary_container_1/sv/binary_container_1_i..." line 229)
INFO: [Common 17-206] Exiting Vivado at Mon May 28 12:54:34 2018...

 

Any ideas?

0 Kudos
1 Solution

Accepted Solutions
Visitor gknowles
Visitor
751 Views
Registered: ‎01-12-2014

Re: xocc fails to make .xclbin for Emulation-HW

Jump to solution

Problem was solved by moving to the latest v5 dynamic dsa. The chip now compiles.

2 Replies
Visitor gknowles
Visitor
752 Views
Registered: ‎01-12-2014

Re: xocc fails to make .xclbin for Emulation-HW

Jump to solution

Problem was solved by moving to the latest v5 dynamic dsa. The chip now compiles.

Highlighted
Xilinx Employee
Xilinx Employee
692 Views
Registered: ‎09-08-2011

Re: xocc fails to make .xclbin for Emulation-HW

Jump to solution
Hi gknowles, can you mark yourself as a the solution. It sounds like updating the dsa was the needed resolution.
If at first you don't succeed, try redefining success?
0 Kudos