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: 
Contributor
Contributor
4,087 Views
Registered: ‎04-17-2012

Error running SDAccel for hardware emulation

I am running SDAccel in Fedora (kernel 4.0.4-301). I have problems running the example: "sdaccel board_compile.tcl", everytime i try it, it hangs when loading the kernel file. 

 

This is the console output during hw emulation:

 

------------------------------------------------------------
INFO: [SDAccel 60-348] Executing hardware emulation using software accelerators...
INFO: [SDAccel 60-280] Additional args : '-d acc -k test.xclbin'
INFO: [SDAccel 60-174] Running emulation command line: /home/lvs/SDAccel_examples/getting_started/board_compilation_solution/impl/sim/hw_em/newboard_compilation_solution.exe -d acc -k test.xclbin

Input sequence1: TAGGCAAGACCACTTTAGCATGGTCTACAACGCCTAGACCTTTGGCAAAGCAGATCGGCCCGCCCATCACTAGTGGGACTATCC
Input sequence2: TAATGGGAACACCTGCTGCAATCGGATCGTTGCAGCGGTAATGTGTCGGTATATGCGAGTAGGGTAATCCAAACGTCCCATTGC

Platform = Xilinx
Device = fpga0
OpenCL Version = 1.0
Loading test.xclbin

 

The emulation is stuck at that point and doesn't proceed.

 

When i enabled debug during hw emulation, I found that the application hangs when clCreateProgramBinary is called (oclHelper.cpp/ line 182)

    if (deviceType == CL_DEVICE_TYPE_ACCELERATOR) {
        size_t n = size;
        soft.mProgram = clCreateProgramWithBinary(hardware.mContext, 1, &hardware.mDevice, &n, (const unsigned char **) &kernelCode, 0, &err);
    }

Any suggestions please??

 


Best,
L30nardo SV
0 Kudos
5 Replies
Moderator
Moderator
3,937 Views
Registered: ‎07-31-2012

Re: Error running SDAccel for hardware emulation

Hi,

 

Could you try using lab 1 of http://www.xilinx.com/support/documentation/sw_manuals/xilinx2015_1/ug1021-sdaccel-tutorial.pdf ?

It may help you.

 

Regards

Praveen

-----------------------------------------------------------------------------------------------
Search for documents/answer records related to your device and tool before posting query on forums.
Search related forums and make sure your query is not repeated.

Please mark the post as an answer "Accept as solution" in case it helps to resolve your query.
Helpful answer -> Give Kudos
-----------------------------------------------------------------------------------------------


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Contributor
Contributor
3,155 Views
Registered: ‎04-17-2012

Re: Error running SDAccel for hardware emulation

Thanks pvenugo, but that tutorial corresponds to SDAccel 2015.1.
I am currently using SDAccel 2015.3, I followed all instructions provided here: http://www.xilinx.com/support/documentation/sw_manuals/xilinx2015_3/sdaccel_doc/index.html.

I am not able to proceed. Any other suggestion will be welcome.

Best,
L30nardo SV
0 Kudos
Xilinx Employee
Xilinx Employee
2,865 Views
Registered: ‎11-28-2007

Re: Error running SDAccel for hardware emulation

SDAccel only officially support RHEL or CentOS 6.4-6.7 (kernel 2.6.32). Can you try it on a machine with supported OS? Which version of Fedora are you running? Going forward, please use the HLS board below for SDAccel questions for now. We are in the process of creating a SDAccel board for SDAccel users. Stay tuned.

 

https://forums.xilinx.com/t5/High-Level-Synthesis-HLS/bd-p/hls

 


@leonardo.solis wrote:

I am running SDAccel in Fedora (kernel 4.0.4-301). I have problems running the example: "sdaccel board_compile.tcl", everytime i try it, it hangs when loading the kernel file. 

 

This is the console output during hw emulation:

 

------------------------------------------------------------
INFO: [SDAccel 60-348] Executing hardware emulation using software accelerators...
INFO: [SDAccel 60-280] Additional args : '-d acc -k test.xclbin'
INFO: [SDAccel 60-174] Running emulation command line: /home/lvs/SDAccel_examples/getting_started/board_compilation_solution/impl/sim/hw_em/newboard_compilation_solution.exe -d acc -k test.xclbin

Input sequence1: TAGGCAAGACCACTTTAGCATGGTCTACAACGCCTAGACCTTTGGCAAAGCAGATCGGCCCGCCCATCACTAGTGGGACTATCC
Input sequence2: TAATGGGAACACCTGCTGCAATCGGATCGTTGCAGCGGTAATGTGTCGGTATATGCGAGTAGGGTAATCCAAACGTCCCATTGC

Platform = Xilinx
Device = fpga0
OpenCL Version = 1.0
Loading test.xclbin

 

The emulation is stuck at that point and doesn't proceed.

 

When i enabled debug during hw emulation, I found that the application hangs when clCreateProgramBinary is called (oclHelper.cpp/ line 182)

    if (deviceType == CL_DEVICE_TYPE_ACCELERATOR) {
        size_t n = size;
        soft.mProgram = clCreateProgramWithBinary(hardware.mContext, 1, &hardware.mDevice, &n, (const unsigned char **) &kernelCode, 0, &err);
    }

Any suggestions please??

 


 

Cheers,
Jim
0 Kudos
Contributor
Contributor
2,849 Views
Registered: ‎04-17-2012

Re: Error running SDAccel for hardware emulation

Hi Jim,

Thanks for the info.
I can not try sdaccel on a different machine. My machine has Fedora 23 (kernel 3.13.5).

Regards, Leonardo

Best,
L30nardo SV
0 Kudos
Xilinx Employee
Xilinx Employee
2,846 Views
Registered: ‎11-28-2007

Re: Error running SDAccel for hardware emulation

Hi Leonardo,

 

SDAccel is not tested with Linux kernel 3.x. We will look into supporting that, but for now your best bet is to install a supported Linux version. Sorry.

 


@leonardo.solis wrote:
Hi Jim,

Thanks for the info.
I can not try sdaccel on a different machine. My machine has Fedora 23 (kernel 3.13.5).

Regards, Leonardo

 

Cheers,
Jim
0 Kudos