Vivado_hls 2014.4 Ubuntu 14.04 x64 vivado includes

2019-06-24 00:58发布

问题:

I am running Vivado HLS 2014.4 (x64) on Ubuntu 14.04 x64. Everything works in Vivado HLS 2012. In Vivado HLS 2014.4 GUI and Synthesis works but compilation of testbench does not.

I am getting thousands of errors like this:

Building file: /home/nic30/vivado/tb_axis_test.cpp
Invoking: GCC C++ Compiler
g++ -DAESL_TB -D__llvm__ -D__kernel -D__global -Dglobal -Dlocal -D__local -Dconstant -D__constant -Dprivate -D__private -D__private -I/opt/Xilinx/Vivado_HLS/2014.4/include/ap_sysc -I/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/systemc/include -I/home/nic30/vivado -I/opt/Xilinx/Vivado_HLS/2014.4/include -I/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/auto_cc/include -I/opt/Xilinx/Vivado_HLS/2014.4/include/etc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"testbench/tb_axis_test.d" -MT"testbench/tb_axis_test.d" -o "testbench/tb_axis_test.o" "/home/nic30/vivado/tb_axis_test.cpp"
In file included from /opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/bits/stl_iterator.h:65:0,
                 from /opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/iterator:63,
                 from /home/nic30/vivado/tb_axis_test.cpp:4:
/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/type_traits.h:66:5: error: expected unqualified-id before numeric constant
/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/type_traits.h:70:24: error: ‘__if_type’ has not been declared
/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/type_traits.h:109:5: error: expected unqualified-id before numeric constant
/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/type_traits.h:113:24: error: ‘__if_type’ has not been declared

I think there is problem with some kind of libc6-dev-* but I don't know. I have clear installation of system and I fallowed official install guide. Does anyone met similar problem?

回答1:

Here in the section Linux Support (pag. 20) is clearly written:

Operating Systems

Xilinx only supports the following operating systems on x86 and x86-64 processor architectures:

Microsoft Windows Support

  • Windows 7 and 7 SP1 Professional (64-bit), English/Japanese.
  • Windows 8.1 Professional (64-bit), English/Japanese.
  • Windows 10 Professional (64-bit), English/Japanese.
  • Vivado® Lab Edition is the only Xilinx toolset that supports Windows 7 SP1 Professional, 32-bit Operating System. Lab Edition also supports the 64-bit systems.

Linux Support

  • Red Hat Enterprise Workstation 7.0 and 7.1 (64-bit)
  • Red Hat Enterprise Workstation 6.6 and 6.7 (64-bit)
  • Red Hat Enterprise Workstation 5.11 (64-bit)
  • SUSE Linux Enterprise 11.3 and 12.0 (64-bit)
  • Cent OS 6.7 and 7.1 (64-bit)
  • Ubuntu Linux 14.04.3 LTS (64-bit)
  • Vivado Lab Edition is the only Xilinx toolset that supports the Red Hat Enterprise Workstation 6.6 and 6.7, 32-bit Operating Systems. Lab Edition also supports the 64-bit systems.

    In your comment is written you are using the Ubuntu 16.10. This is not supported yet. Maybe future release will be. I want to remark as well that the info in your question and in your comment don't match.