问题描述
我在 Ubuntu 14.04 x64 上运行 Vivado HLS 2014.4 (x64).在 Vivado HLS 2012 中一切正常.在 Vivado HLS 2014.4 GUI 和 Synthesis 中有效,但测试平台的编译无效.
我收到了成千上万个这样的错误:
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
我认为某种 libc6-dev-* 存在问题,但我不知道.我已经清楚地安装了系统,并且我休闲了官方安装指南.有没有人遇到过类似的问题?
推荐答案
这里在Linux支持部分(第20页)清楚地写着:
Xilinx 仅支持 x86 和 x86-64 处理器上的以下操作系统架构:
Microsoft Windows 支持
- Windows 7 和 7 SP1 Professional(64 位),英语/日语.
- Windows 8.1 Professional(64 位),英语/日语.
- Windows 10 专业版(64 位),英语/日语.
- Vivado® Lab Edition 是唯一支持 Windows 7 SP1 的 Xilinx 工具集专业的 32 位操作系统.Lab Edition 还支持 64 位系统.
Linux 支持
- 红帽企业工作站 7.0 和 7.1(64 位)
- 红帽企业工作站 6.6 和 6.7(64 位)
- 红帽企业工作站 5.11(64 位)
- SUSE Linux Enterprise 11.3 和 12.0(64 位)
- Cent OS 6.7 和 7.1(64 位)
- Ubuntu Linux 14.04.3 LTS(64 位)
Vivado Lab Edition 是唯一支持 Red Hat Enterprise 的 Xilinx 工具集工作站 6.6 和 6.7,32 位操作系统.实验室版还支持 64 位系统.
在您的评论中,您使用的是 Ubuntu 16.10.尚不支持此功能.也许未来的版本会.我还想指出,您的问题和评论中的信息不匹配.
问题描述
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?
推荐答案
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.