UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer tomo_naga
Observer
935 Views
Registered: ‎08-02-2017

ERROR: [SdsCompiler 83-5061] SDSoC 2017.2 sub-file read error...

Hi.

 

I got the error on SDSoC 2017.2.

The error message is "ERROR: [SdsCompiler 83-5061] HLS sub-file not found, path may be incorrect: /sample/src/subfunc1.c sample C/C++ Problem".

Does anyone know how it can be solved?

 

When I tried to build the same project on SDSoC 2016.4, it did work.

 

OS:

Windows7 64bit

 

The sample code:

==main.c==

void main(){

  ...

  func();

  ...

}

 

==func.c==

void func(){

  ...

  subfunc1();

  subfunc2();

  ...

}

 

==subfunc1.c==

void subfunc1(){

   ...

}

 

==subfunc2.c==

void subfunc2(){

   ...

}

 

The hierarchy:

sample/

--src/

------main.c

------subfunc/

---------------func.c

---------------subfunc1.c

---------------subfunc2.c

 

 

Thank you in advance.

0 Kudos
3 Replies
Observer wsun
Observer
893 Views
Registered: ‎05-26-2016

Re: ERROR: [SdsCompiler 83-5061] SDSoC 2017.2 sub-file read error...

Can you try this design on Linux and see if it makes any difference?

0 Kudos
Observer tomo_naga
Observer
875 Views
Registered: ‎08-02-2017

Re: ERROR: [SdsCompiler 83-5061] SDSoC 2017.2 sub-file read error...

Thank you for your reply!

 

I'm sorry, I don't have Linux PC...

 

 

0 Kudos
Highlighted
Visitor seek64
Visitor
833 Views
Registered: ‎10-04-2017

Re: ERROR: [SdsCompiler 83-5061] SDSoC 2017.2 sub-file read error...

Hello Everyone,

 

I encountered the same problem. Also in SDx 2017.2.

 

When building the project for CPU only it works fine. But trying to accelerate a function causes the following error-message:

 

'Building file: ../src/acc_file.cpp'
'Invoking: SDS++ Compiler'
sds++ -Wall -O0 -g -IC:/PROJECTS/platforms/pf_name/sw/standalone/inc/include -c -fmessage-length=0 -MT"src/acc_file.o" -MMD -MP -MF"src/acc_file.d" -MT"src/acc_file.o" -o "src/acc_file.o" "../src/acc_file.cpp" -sds-hw acc_func acc_file.cpp  -files /project1/src/proc_utils.cpp  -clkid 0 -sds-end -sds-sys-config standalone -sds-proc a53_0 -sds-pf "C:/PROJECTS/platforms/pf_name"
Processing -sds-hw block for acc_func
ERROR: [SdsCompiler 83-5061] HLS sub-file not found, path may be incorrect: /project1/src/proc_utils.cpp
ERROR: [SdsCompiler 83-5004] Build failed

I don't know why the line

-files /project1/src/proc_utils.cpp

is added or how I can change that.

 

I tried alternating the paths given in the sds++ compiler settings, but had no success so far.

 

The file structure is as follows:

PROJECTS

- platforms

-- pf_name

- workspace

-- project1

--- src

---- main.cpp

---- acc_file.cpp

---- proc_utils.cpp

 

 

Thanks in advance,

Seek

0 Kudos