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

                                

  • 相关阅读:
    【006期】JavaSE面试题(六):泛型
    【005期】JavaSE面试题(五):String类
    【004期】JavaSE面试题(四):JavaSE语法(3)
    【003期】JavaSE面试题(三):JavaSE语法(1)
    【002期】JavaSE面试题(二):基本数据类型与访问修饰符
    【001期】 | JavaSE面试题(一):面向对象
    【000期】Java最全面试题库思维导图
    LeetCode 1. 两数之和(python3)实现
    虚拟网络学习笔记一:Linux虚拟网络
    快速排序(python实现)
  • 原文地址:https://www.cnblogs.com/wordchao/p/11073652.html
Copyright © 2011-2022 走看看