fpga in loop simulation ,failed shared library

I want try fpga in loop simulation with cyclone 5 soc board on ubuntu 16.04.Matlab version is 15a and quartus version is 16.1.I am getting the following error Failed to load shared library libsld_hapi_dll_loader.so.

2 个评论

Hi Shine, i had a similar problem. I used R2016b and Quartus 16.1.
a) You have to set the LD_LIBRARY_PATH such that Matlab can find the Quartus libraries. I start matlab in this way:
LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/home/fritz/altera_lite/15.1/quartus/linux64 matlab
b) There is a compatibility issue between matlab 2016b and Quartus 16.1. I see the following output when I use Quartus 16.1
====== terminal log=====
fritz@fredo:~/fredo$ LD_LIBRARY_PATH=/home/fritz/intelFPGA_lite/16.1/quartus/linux64 matlab
MATLAB is selecting SOFTWARE OPENGL rendering.
ccl_thr not loaded
On Matlab I see the following:
======== Matlab Output ==========
### Programming file generation completed.
### Checking Quartus II Programmer tool
### Start programming FPGA with file "/home/fritz/fredo/fpgaproj/fil_test_fil.sof"
### Programming FPGA using file "/home/fritz/fredo/fpgaproj/fil_test_fil.sof" completed successfully
Failed to load shared library libsld_hapi.so. with the following error.
/home/fritz/intelFPGA_lite/16.1/quartus/linux64/libsld_hapi.so: undefined symbol: _Z8aji_lockP8AJI_OPENj14AJI_PACK_STYLE
Make sure that you are using version Altera Quartus II 13.1 or higher and its executables are on the LD_LIBRARY_PATH.
Note that you need to update LD_LIBRARY_PATH before starting MATLAB.
When I switched to Quartus 15.1, then it worked.
There is a page with the recommended Versions for matlab/quartus for the hdl verifier toolbox:
Regards
Friedrich
This was a bug in Quartus 16.1. It will be fixed by Intel(Altera)

请先登录,再进行评论。

回答(0 个)

产品

提问:

2017-2-2

评论:

2017-6-14

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by