cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
immwn
Adventurer
Adventurer
1,278 Views
Registered: ‎08-27-2018

SDSoC build project failed

Hi. I installed SDx in Ubuntu. When I tried to build a project it failed saying "Part 'xc7z020' is not installed"

 

10:03:49 **** Incremental Build of configuration Release for project lab1 ****
make pre-build main-build 
sdsoc_make_clean Release
 
Building file: ../src/madd.cpp
Invoking: SDS++ Compiler
sds++ -Wall -O3 -I"../src" -c -fmessage-length=0 -MT"src/madd.o" -MMD -MP -MF"src/madd.d" -MT"src/madd.o" -o "src/madd.o" "../src/madd.cpp" -sds-hw madd madd.cpp  -clkid 2 -sds-end -sds-hw mmult mmult.cpp  -clkid 2 -sds-end -sds-sys-config linux -sds-proc linux -sds-pf "/data2/Xilinxsoc/SDx/2018.2/platforms/zc702"
Processing -sds-hw block for madd
Create data motion intermediate representation
Performing accelerator source linting for madd
Performing pragma generation
INFO: [PragmaGen 83-3231] Successfully generated tcl script: /myfolder/SDx_workspace/lab1/Release/_sds/vhls/madd.tcl
Moving function madd to Programmable Logic
ERROR: [HLS 200-70] Part 'xc7z020' is not installed.
command 'ap_source' returned error code
    while executing
"source /myfolder/SDx_workspace/lab1/Release/_sds/vhls/madd_run.tcl"
    invoked from within
"hls::main /myfolder/SDx_workspace/lab1/Release/_sds/vhls/madd_run.tcl -l madd_vivado_hls.log"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 hls::main {*}$args"
    (procedure "hls_proc" line 5)
    invoked from within
"hls_proc $argv"
INFO: [Common 17-206] Exiting vivado_hls at Wed Aug 29 10:03:52 2018...
ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling '/data2/Xilinx/Vivado/2018.2/bin/vivado_hls /myfolder/SDx_workspace/lab1/Release/_sds/vhls/madd_run.tcl -l madd_vivado_hls.log'sds++ log file saved as /myfolder/SDx_workspace/lab1/Release/_sds/reports/sds_madd.log
ERROR: [SdsCompiler 83-5004] Build failed
src/subdir.mk:24: recipe for target 'src/madd.o' failed
make: *** [src/madd.o] Error 1

10:03:52 Build Finished (took 2s.730ms)

How can I solve this?

 

Cheers

0 Kudos
4 Replies
skalicky
Explorer
Explorer
1,252 Views
Registered: ‎09-19-2017

Hi immwn

 

Which SDx did you install? Did you install SDAccel or SDSoC? When you were installing, which devices were selected for installation?

 

Can you run the installer again and show us the page where you choose which components to install (dont worry, you can cancel the installation and wont ruin your current installation). 

 

Sam

0 Kudos
immwn
Adventurer
Adventurer
1,227 Views
Registered: ‎08-27-2018

Hi @skalicky, I installed both SDSoC and SDAccel. I have opted out the env path related to SDAccel and it solved the error related to xc7z020 platform. However, it still has the following errors

 

ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling '/data2/Xilinxsoc/Vivado/2018.2/bin/vivado_hls /users/3/a1634023/SDx_workspace/lab1/Release/_sds/vhls/madd_run.tcl -l madd_vivado_hls.log'
sds++ log file saved as /myfolder/SDx_workspace/lab1/Release/_sds/reports/sds_madd.log
ERROR: [SdsCompiler 83-5004] Build failed

 Cheers

0 Kudos
stephenm
Moderator
Moderator
1,220 Views
Registered: ‎09-12-2007

can you share the log file mentioned in your error message?

0 Kudos
immwn
Adventurer
Adventurer
1,200 Views
Registered: ‎08-27-2018

Hi @stephenm, gcc-multilib package was missing in Ubuntu. That caused the problem. I solved it following this thread https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1725390

 

Thanks