cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
228 Views
Registered: ‎05-31-2019

ChaiDNN build keeps failing

I am trying to build CHainDNN for ZCU102 in SDx 2018.2 environment. I follow the simple make instructions suggested on the Github page. But I keep getting the following error:

ERROR: [VPL 60-704] Integration error, problem implementing dynamic region, place_design ERROR
ERROR: [VPL 60-806] Failed to finish platform linker
ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling '/home/saikat/Desktop/SDx/2018.2/bin/vpl   --iprepo /home/saikat/CHaiDNN/design/build/_sds/iprepo/repo  --iprepo /home/saikat/Desktop/SDx/2018.2/data/ip/xilinx  --platform /home/saikat/Desktop/SDx/2018.2/platforms/zcu102/zcu102.xpfm  --temp_dir /home/saikat/CHaiDNN/design/build/_sds/p0  --output_dir /home/saikat/CHaiDNN/design/build/_sds/p0/vpl  --input_file /home/saikat/CHaiDNN/design/build/_sds/p0/.xsd/top.bd.tcl  --target hw   --save_temps  --kernels XiConvolutionTop:PoolTop:XiDeconvTop:adapter --webtalk_flag SDSoC  --xp "param:compiler.skipTimingCheckAndFrequencyScaling=1" --xp "vivado_prop:run.impl_1.{STEPS.OPT_DESIGN.ARGS.MORE OPTIONS}={-directive Explore}" --xp "vivado_prop:run.impl_1.{STEPS.PLACE_DESIGN.ARGS.MORE OPTIONS}={-directive Explore}" --xp "vivado_prop:run.impl_1.STEPS.PHYS_OPT_DESIGN.IS_ENABLED=1" --xp "vivado_prop:run.impl_1.{STEPS.PHYS_OPT_DESIGN.ARGS.MORE OPTIONS}={-directive Explore}" --xp "vivado_prop:run.impl_1.{STEPS.ROUTE_DESIGN.ARGS.MORE OPTIONS}={-directive Explore}" --xp "vivado_prop:run.synth_1.{STEPS.SYNTH_DESIGN.TCL.PRE}={/home/saikat/CHaiDNN/design/build/../conv/scripts/mcps.tcl}" --xp "vivado_prop:run.impl_1.{STEPS.PLACE_DESIGN.TCL.PRE}={/home/saikat/CHaiDNN/design/build/../conv/scripts/mcps.tcl}" --xp "param:compiler.deleteDefaultReportConfigs=false" '
sds++ log file saved as /home/saikat/CHaiDNN/design/build/_sds/reports/sds.log
ERROR: [SdsCompiler 83-5004] Build failed

Makefile:147: recipe for target 'libxlnxdnn.so' failed
make: *** [libxlnxdnn.so] Error 1

 Any suggestions on how to solve this?

0 Kudos
3 Replies
Highlighted
Moderator
Moderator
132 Views
Registered: ‎11-04-2010

ChaiDNN is HLS based Deep Neural Network, which is targeted on 2017.4 and not updated for 2 years.

Since performance is unsatisfied, this solution is not recommended.

DPU in Vitis AI is recommended solution at present.

https://github.com/Xilinx/Vitis-AI

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Moderator
Moderator
106 Views
Registered: ‎08-20-2018

Hi @maju42 

Please share the sds log file

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Highlighted
Adventurer
Adventurer
91 Views
Registered: ‎05-31-2019

@nutang @hongh I was able to build the hardware. It probably was a low resource problem, so I had to close all other programs and it worked. But now on building the software I am getting the following error:

fatal error: sds_lib.h: No such file or directory
 #include <sds_lib.h>
          ^~~~~~~~~~~
compilation terminated.
xstack.mk:41: recipe for target 'xi_kernels.o' failed
make[1]: *** [xi_kernels.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../scheduler/xi_scheduler.cpp:16:0:
../scheduler/xi_scheduler.hpp:65:10: fatal error: sds_lib.h: No such file or directory
 #include <sds_lib.h>
          ^~~~~~~~~~~
compilation terminated.

Not sure how to solve this.

0 Kudos