zoukankan      html  css  js  c++  java
  • HLS: vivado_hls compile fail, csim and csyn error, no ip generated for udpLoopback and toe

    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

                                

  • 相关阅读:
    45 岁,还写代码吗?
    给你 8 个接私活的网站
    一文回顾 Java 入门知识(下)
    5 种前途迷茫的编程语言
    JVM 内存的结构模型、堆与堆栈原理、对象在内存中的结构
    mysql 索引是否能提高UPDATE,DELETE,INSERT 处理速度
    【诈尸】【游戏】多人联机游戏推荐
    250.统计同值子树
    366. 寻找二叉树的叶子节点
    156.上下翻转二叉树
  • 原文地址:https://www.cnblogs.com/wordchao/p/11073652.html
Copyright © 2011-2022 走看看