码迷,mamicode.com
首页 > 其他好文 > 详细

HLS: vivado_hls compile fail, csim and csyn error, no ip generated for udpLoopback and toe

时间:2019-06-23 19:08:02      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:oop   hat   udp   str   some   make   detail   tail   compile   

project: https://github.com/Xilinx/HLx_Examples/tree/master/Acceleration/tcp_ip
tool version: vivado and vivado_hls is 2015.4
compile problems:
1.run make_tcp_ip.sh to compile but some csim or csyn for udpLoopback and toe is failed, detailed is showed in follow log fragments
2.ip gerneration for udpLoopback and toe fail, and no ip file generated at toe/toe_prj/solution1/impl/ip and udp/udpLoopback/udpLoopback_prj/solution1/impl/ip
solution:

both version 2018.3 and version 2015.4 are installed, it seems vivado_hls 2015.4 is not installed properly

TODO continued

fragments of log:

...

command ‘ap_source‘ returned error code
    while executing
"source [lindex $::argv 1] "
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 { source [lindex $::argv 1] } "

@I [HLS-112] Total elapsed time: 430.382 seconds; peak memory usage: 420 MB.

...

================================================================
  Vivado(TM) HLS - High-Level Synthesis from C, C++ and===========
  Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
  Version 2015.4
  Build 1412921 on Wed Nov 18 09:58:55 AM 2015
  Copyright (C) 2015 Xilinx Inc. All rights reserved.
================================================================
@I [HLS-10] Running ‘/home/wchao/Xilinx/Vivado_HLS/2015.4/bin/unwrapped/lnx64.o/vivado_hls‘
            for user ‘wchao‘ on host ‘wordchao‘ (Linux_x86_64 version 4.15.0-51-generic) on Sun Jun 23 13:07:35 CST 2019
            in directory ‘/home/wchao/Documents/hls/HLx_Examples-master/Acceleration/tcp_ip/scripts/build/hls/udp/udpLoopback‘
@I [HLS-10] Creating and opening project ‘/home/wchao/Documents/hls/HLx_Examples-master/Acceleration/tcp_ip/scripts/build/hls/udp/udpLoopback/udpLoopback_prj‘.
@I [HLS-10] Adding design file ‘udpLoopback.cpp‘ to the project
@I [HLS-10] Adding test bench file ‘udpLoopback_tb.cpp‘ to the project
@I [HLS-10] Creating and opening solution ‘/home/wchao/Documents/hls/HLx_Examples-master/Acceleration/tcp_ip/scripts/build/hls/udp/udpLoopback/udpLoopback_prj/solution1‘.
@I [HLS-10] Setting target device to ‘xc7vx690tffg1157-2‘
@I [SYN-201] Setting up clock ‘default‘ with a period of 6.66ns.
   Compiling ../../../../udpLoopback_tb.cpp in debug mode
csim.mk:74: recipe for target ‘obj/udpLoopback_tb.o‘ failed
In file included from /home/wchao/Xilinx/Vivado_HLS/2015.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include-fixed/features.h:339:0,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ../../../../udpLoopback.hpp:29,
                 from ../../../../udpLoopback_tb.cpp:29:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:467:49: error: missing binary operator before token "("
In file included from ../../../../udpLoopback.hpp:29:0,
                 from ../../../../udpLoopback_tb.cpp:29:
/usr/include/stdio.h:276:43: error: missing binary operator before token "("
/usr/include/stdio.h:349:17: error: missing binary operator before token "("
/usr/include/stdio.h:567:17: error: missing binary operator before token "("
/usr/include/stdio.h:592:43: error: missing binary operator before token "("

                 from /home/wchao/Xilinx/Vivado_HLS/2015.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/iosfwd:42,
                 from /home/wchao/Xilinx/Vivado_HLS/2015.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ios:39,
                 from /home/wchao/Xilinx/Vivado_HLS/2015.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ostream:40,
                 from /home/wchao/Xilinx/Vivado_HLS/2015.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/iostream:40,
                 from ../../../../udpLoopback.hpp:30,
                 from ../../../../udpLoopback_tb.cpp:29:
/home/wchao/Xilinx/Vivado_HLS/2015.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include-fixed/wchar.h:175:22: fatal error: xlocale.h:no that file or directory
compiling interrupted.
make: *** [obj/udpLoopback_tb.o] Error 1
@E [SIM-1] CSim file generation failed: compilation error(s).
5
    while executing
"source [lindex $::argv 1] "
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 { source [lindex $::argv 1] } "

...

cp: cannot obtain‘../hls/toe/toe_prj/solution1/impl/ip‘ file status(stat): no that file or directory
cp: cannot obtain‘../hls/udp/udpLoopback/udpLoopback_prj/solution1/impl/ip‘ file status(stat): no that file or directory

                            

HLS: vivado_hls compile fail, csim and csyn error, no ip generated for udpLoopback and toe

标签:oop   hat   udp   str   some   make   detail   tail   compile   

原文地址:https://www.cnblogs.com/wordchao/p/11073652.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!