-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facing some errors when following instruction to build using SDx GUI with ZCU104 #150
Comments
@ced1026 , As you are using 2018.3 tool, remove -D__SYNTHESIS__ symbol from the build settings. |
@nkpavan Thanks for your help. so I resolved that problem!! but I got another error ut infra ProblemsDescription Resource Path Location Type Build LogAttempting to get a license: ap_sdsoc WARNING: [VPL 60-1142] Unabled to read data from 'C:/Users/Dongwoo/workspace/CHaiDNN_VGG/Release/_sds/p0/vivado/output/generated_reports.log', generated reports will not be copied. ===>The following messages were generated while creating FPGA bitstream. Log file: C:/Users/Dongwoo/workspace/CHaiDNN_VGG/Release/_sds/p0/vivado/vivado.log : ===>The following messages were generated while creating FPGA bitstream. Log file: C:/Users/Dongwoo/workspace/CHaiDNN_VGG/Release/_sds/p0/vivado/vivado.log : make: *** [makefile:62: CHaiDNN_VGG.elf] Error 1 17:24:20 Build Finished (took 1h:7m:52s.521ms) How can I resolve it?Please help me one more... |
I'm having trouble trying 'Creating SDx GUI Progect'
I got these errors.
I think it can not find '__builtin_bit_part_select ' & '__builtin_bit_part_set'.
Console Log
00:19:02 **** Incremental Build of configuration Release for project CHaiDNN_VGG ****
make pre-build main-build
sdsoc_make_clean Release
' '
'Building file: ../src/software/scheduler/xi_perf_eval.cpp'
'Invoking: SDS++ Compiler'
sds++ -sds-hw XiConvolutionTop C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\design\conv\src\xi_convolution_top.cpp -clkid 1 -hls-tcl C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\design\conv\scripts\config_core.tcl -sds-end -D__SDSOC -D__DECONV_ENABLE__ -D__POOL_ENABLE__ -D__SYNTHESIS__ -D__DSP48E2__ -D__CONV_ENABLE__ -Wall -O0 -I"../src" -I"C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\design\deconv\src" -I"C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\design\deconv\include" -I"C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\design\pool\src" -I"C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\design\pool\include" -I"C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\design\conv\src" -I"C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\design\conv\include" -I"C:\Users\Dongwoo\CHaiDNN-master\CHaiDNN-master\SD_Card\cblas\arm64\include" -I"C:\Users\Dongwoo\CHaiDNN-master\CHaiDNN-master\SD_Card\protobuf\arm64\include" -I"C:\Users\Dongwoo\CHaiDNN-master\CHaiDNN-master\SD_Card\opencv\arm64\include" -c -fmessage-length=0 -MT"src/software/scheduler/xi_perf_eval.o" -MMD -MP -MF"src/software/scheduler/xi_perf_eval.d" -MT"src/software/scheduler/xi_perf_eval.o" -o "src/software/scheduler/xi_perf_eval.o" "../src/software/scheduler/xi_perf_eval.cpp" -sds-hw XiDeconvTop xi_deconv_top.cpp -files ../src/design/deconv/src/xi_deconv.hpp -clkid 1 -sds-end -sds-hw PoolTop pooling_layer_dp_2xio_top.cpp -files ../src/design/pool/src/pool_dp_2xio.hpp -clkid 1 -sds-end -sds-sys-config a53_linux -sds-proc a53_linux -sds-pf "zcu104"
Analyzing source for RTL template usage
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:265:19: error: use of undeclared identifier '__builtin_bit_select'
bool is_neg = _AP_ROOT_op_get_bit(reg.V, BITS - 1);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:622:39: note: expanded from macro '_AP_ROOT_op_get_bit'
#define _AP_ROOT_op_get_bit(Val, Bit) _ssdm_op_get_bit(Val, Bit)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:529:23: note: expanded from macro '_ssdm_op_get_bit'
bool Result = __builtin_bit_select((void*)(&Val2), Bit);
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:268:13: error: use of undeclared identifier '__builtin_bit_part_select'
exp.V = _AP_ROOT_op_get_range(reg.V, FLOAT_MAN, BITS - 2);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:624:44: note: expanded from macro '_AP_ROOT_op_get_range'
#define _AP_ROOT_op_get_range(Val, Lo, Hi) _ssdm_op_get_range(Val, Lo, Hi)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:547:5: note: expanded from macro '_ssdm_op_get_range'
__builtin_bit_part_select((void*)(&Result), (void*)(&Val2), Lo,
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:272:13: error: use of undeclared identifier '__builtin_bit_part_select'
man.V = _AP_ROOT_op_get_range(reg.V, 0, FLOAT_MAN - 1);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:624:44: note: expanded from macro '_AP_ROOT_op_get_range'
#define _AP_ROOT_op_get_range(Val, Lo, Hi) _ssdm_op_get_range(Val, Lo, Hi)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:547:5: note: expanded from macro '_ssdm_op_get_range'
__builtin_bit_part_select((void*)(&Result), (void*)(&Val2), Lo,
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:277:13: error: use of undeclared identifier '__builtin_bit_part_set'
man.V = _AP_ROOT_op_set_bit(man.V, FLOAT_MAN, 1);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:623:45: note: expanded from macro '_AP_ROOT_op_set_bit'
#define _AP_ROOT_op_set_bit(Val, Bit, Repl) _ssdm_op_set_bit(Val, Bit, Repl)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:538:5: note: expanded from macro '_ssdm_op_set_bit'
__builtin_bit_part_set((void*)(&Result), (void*)(&Val2),
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:313:19: error: use of undeclared identifier '__builtin_bit_select'
bool is_neg = _AP_ROOT_op_get_bit(reg.V, BITS - 1);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:622:39: note: expanded from macro '_AP_ROOT_op_get_bit'
#define _AP_ROOT_op_get_bit(Val, Bit) _ssdm_op_get_bit(Val, Bit)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:529:23: note: expanded from macro '_ssdm_op_get_bit'
bool Result = __builtin_bit_select((void*)(&Val2), Bit);
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:316:13: error: use of undeclared identifier '__builtin_bit_part_select'
exp.V = _AP_ROOT_op_get_range(reg.V, DOUBLE_MAN, BITS - 2);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:624:44: note: expanded from macro '_AP_ROOT_op_get_range'
#define _AP_ROOT_op_get_range(Val, Lo, Hi) _ssdm_op_get_range(Val, Lo, Hi)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:547:5: note: expanded from macro '_ssdm_op_get_range'
__builtin_bit_part_select((void*)(&Result), (void*)(&Val2), Lo,
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:320:13: error: use of undeclared identifier '__builtin_bit_part_select'
man.V = _AP_ROOT_op_get_range(reg.V, 0, DOUBLE_MAN - 1);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:624:44: note: expanded from macro '_AP_ROOT_op_get_range'
#define _AP_ROOT_op_get_range(Val, Lo, Hi) _ssdm_op_get_range(Val, Lo, Hi)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:547:5: note: expanded from macro '_ssdm_op_get_range'
__builtin_bit_part_select((void*)(&Result), (void*)(&Val2), Lo,
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:325:13: error: use of undeclared identifier '__builtin_bit_part_set'
man.V = _AP_ROOT_op_set_bit(man.V, DOUBLE_MAN, 1);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:623:45: note: expanded from macro '_AP_ROOT_op_set_bit'
#define _AP_ROOT_op_set_bit(Val, Bit, Repl) _ssdm_op_set_bit(Val, Bit, Repl)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:538:5: note: expanded from macro '_ssdm_op_set_bit'
__builtin_bit_part_set((void*)(&Result), (void*)(&Val2),
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:599:9: error: use of undeclared identifier '__builtin_bit_select'
_AP_ROOT_op_get_bit(Base::V, _AP_W - 1))
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:622:39: note: expanded from macro '_AP_ROOT_op_get_bit'
#define _AP_ROOT_op_get_bit(Val, Bit) _ssdm_op_get_bit(Val, Bit)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:529:23: note: expanded from macro '_ssdm_op_get_bit'
bool Result = __builtin_bit_select((void*)(&Val2), Bit);
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:608:15: error: use of undeclared identifier '__builtin_bit_part_set'
Base::V = _AP_ROOT_op_set_bit(Base::V, i, 0);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:623:45: note: expanded from macro '_AP_ROOT_op_set_bit'
#define _AP_ROOT_op_set_bit(Val, Bit, Repl) _ssdm_op_set_bit(Val, Bit, Repl)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:538:5: note: expanded from macro '_ssdm_op_set_bit'
__builtin_bit_part_set((void*)(&Result), (void*)(&Val2),
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:614:16: error: use of undeclared identifier '__builtin_bit_select'
bool val = _AP_ROOT_op_get_bit(Base::V, i);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:622:39: note: expanded from macro '_AP_ROOT_op_get_bit'
#define _AP_ROOT_op_get_bit(Val, Bit) _ssdm_op_get_bit(Val, Bit)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:529:23: note: expanded from macro '_ssdm_op_get_bit'
bool Result = __builtin_bit_select((void*)(&Val2), Bit);
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:616:17: error: use of undeclared identifier '__builtin_bit_part_set'
Base::V = _AP_ROOT_op_set_bit(Base::V, i, 0);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:623:45: note: expanded from macro '_AP_ROOT_op_set_bit'
#define _AP_ROOT_op_set_bit(Val, Bit, Repl) _ssdm_op_set_bit(Val, Bit, Repl)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:538:5: note: expanded from macro '_ssdm_op_set_bit'
__builtin_bit_part_set((void*)(&Result), (void*)(&Val2),
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:618:17: error: use of undeclared identifier '__builtin_bit_part_set'
Base::V = _AP_ROOT_op_set_bit(Base::V, i, 1);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:623:45: note: expanded from macro '_AP_ROOT_op_set_bit'
#define _AP_ROOT_op_set_bit(Val, Bit, Repl) _ssdm_op_set_bit(Val, Bit, Repl)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:538:5: note: expanded from macro '_ssdm_op_set_bit'
__builtin_bit_part_set((void*)(&Result), (void*)(&Val2),
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:623:12: error: use of undeclared identifier '__builtin_bit_select'
return _AP_ROOT_op_get_bit(Base::V, i);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:622:39: note: expanded from macro '_AP_ROOT_op_get_bit'
#define _AP_ROOT_op_get_bit(Val, Bit) _ssdm_op_get_bit(Val, Bit)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:529:23: note: expanded from macro '_ssdm_op_get_bit'
bool Result = __builtin_bit_select((void*)(&Val2), Bit);
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:632:15: error: use of undeclared identifier '__builtin_bit_part_set'
Base::V = _AP_ROOT_op_set_bit(Base::V, i, 1);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:623:45: note: expanded from macro '_AP_ROOT_op_set_bit'
#define _AP_ROOT_op_set_bit(Val, Bit, Repl) _ssdm_op_set_bit(Val, Bit, Repl)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:538:5: note: expanded from macro '_ssdm_op_set_bit'
__builtin_bit_part_set((void*)(&Result), (void*)(&Val2),
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:638:15: error: use of undeclared identifier '__builtin_bit_part_set'
Base::V = _AP_ROOT_op_set_bit(Base::V, i, v);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:623:45: note: expanded from macro '_AP_ROOT_op_set_bit'
#define _AP_ROOT_op_set_bit(Val, Bit, Repl) _ssdm_op_set_bit(Val, Bit, Repl)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:538:5: note: expanded from macro '_ssdm_op_set_bit'
__builtin_bit_part_set((void*)(&Result), (void*)(&Val2),
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:674:15: error: use of undeclared identifier '__builtin_bit_part_select'
Base::V = _AP_ROOT_op_get_range(Base::V, _AP_W - 1, 0);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:624:44: note: expanded from macro '_AP_ROOT_op_get_range'
#define _AP_ROOT_op_get_range(Val, Lo, Hi) _ssdm_op_get_range(Val, Lo, Hi)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:547:5: note: expanded from macro '_ssdm_op_get_range'
__builtin_bit_part_select((void*)(&Result), (void*)(&Val2), Lo,
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:680:15: error: use of undeclared identifier '__builtin_bit_part_set'
Base::V = _AP_ROOT_op_set_bit(Base::V, i, v);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:623:45: note: expanded from macro '_AP_ROOT_op_set_bit'
#define _AP_ROOT_op_set_bit(Val, Bit, Repl) _ssdm_op_set_bit(Val, Bit, Repl)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:538:5: note: expanded from macro '_ssdm_op_set_bit'
__builtin_bit_part_set((void*)(&Result), (void*)(&Val2),
^
C:/Xilinx/Vivado/2018.3/include\ap_int_base.h:685:18: error: use of undeclared identifier '__builtin_bit_select'
return (bool)_AP_ROOT_op_get_bit(Base::V, i);
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:622:39: note: expanded from macro '_AP_ROOT_op_get_bit'
#define _AP_ROOT_op_get_bit(Val, Bit) _ssdm_op_get_bit(Val, Bit)
^
C:/Xilinx/Vivado/2018.3/include\ap_common.h:529:23: note: expanded from macro '_ssdm_op_get_bit'
bool Result = __builtin_bit_select((void*)(&Val2), Bit);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Error while processing C:\Users\Dongwoo\workspace\CHaiDNN_VGG\src\software\scheduler\xi_perf_eval.cpp.
ERROR: [TemplateExtract 83-3509] Failed to run clang frontend action of rtl_template_extract!
ERROR: [SdsCompiler 83-5176] RTL template analysis exited with non-zero code processing C:/Users/Dongwoo/workspace/CHaiDNN_VGG/src/software/scheduler/xi_perf_eval.cpp
sds++ log file saved as C:/Users/Dongwoo/workspace/CHaiDNN_VGG/Release/_sds/reports/sds_xi_perf_eval.log
ERROR: [SdsCompiler 83-5004] Build failed
make: *** [src/software/scheduler/subdir.mk:29: src/software/scheduler/xi_perf_eval.o] Error 1
00:19:13 Build Finished (took 11s.427ms)
Question
How can I resolve this? Is any other setting needed except for instruction in 'Creating SDx GUI Progect'?
The text was updated successfully, but these errors were encountered: