cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
1,178 Views
Registered: ‎01-09-2019

Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi all,

I have a problem with the instantiation of the Reed-Solomon Encoder/Decoder blocks in System Generator for DSP.

My tools configuration is: Vivado 2018.2 plus MATLAB R2018a.

I have bought the licenses for the Reed-Solomon Encoder/Decoder IPs and I am able to see them correctly under the Vivado License Manager.

I am also able to generate the IPs under Vivado without problems.

Instead, when I use the System Generator libraries for the Reed-Solomon Encoder/Decoder I get this error every time I try to configure the blocks: "This block requires one or more mandatory licenses but no valid licenses were found. Please update the license settings to use this block. Error occurred during "Block Configuration"".

Can anyone help me?

Thank you in advance for cooperation.

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
392 Views
Registered: ‎09-18-2018

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @andreadicola ,

copy until lnx64.0 , like this : /home/T0102991/.Xilinx/Sysgen/SysgenVivado/lnx64.o/

Then delete all the contents of this entire folder.

Make sure you close Sysgen and relaunch after this is completed.

View solution in original post

21 Replies
Highlighted
Moderator
Moderator
1,137 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @andreadicola ,

Can you please send me your Xinfo report generated on the machine where you are seeing this licensing issue?

Xinfo.txt can be generated by running the "report_environment –file xinfo.txt" command in Vivado TCL console.

I will be able to examine this and then see where the issue is coming from. 

Thanks in advance and have a nice evening.

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
1,122 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @anatoli ,

first of all thank you for answering.

I have just generated the Xinfo file and I attach it to this reply.

One thing I have missed to say is the OS. I am working on Red Hat Enterprise Linux 7.4.

I think that all the licenses are loaded well. But I cannot understand why System Generator gives errors.

 

Thank you again for cooperation.

I hope to hear you soon.

Best Regards,

Andrea

0 Kudos
Highlighted
Moderator
Moderator
1,112 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @andreadicola ,

Your SysGen related Node-Locked license file looks good, so my suspicion is that the issue is with your IP Core Floating license file.

Can you please open a command prompt and CD to the location such as e.g.: C:/Xilinx/Vivado/2019.1/bin/unwrapped/win64.o

Then, from here, please run this command: lmutil lmstat –a –c <port_number>@<server_name> -i ( in your case the cammand is: lmutil lmstat –a –c 2100@thsmlablic01.wflab.chieti.thales -i)

Then please see if lmgrd is UP and xilinxd is UP too and then, see what version of flexlm utilities the server is/was started with? Do you see v11.14 for both lmgrd and xilinxd?

Can you confirm on the above please? Thanks in advance.

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
1,104 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @anatoli,

unfortunately I cannot run that command because my workstation cannot be connected to internet and I don't have the required Red Hat packets/libraries to properly run that command.

I get the following error: "./lmutil: /lib64/ld-lsb-x86-64.so.3; bad ELF interpreter: No such file or directory".

But I can say that I have asked to my colleague to verify the version on the server and it is the following: 11.14.1.0.

Another thing I can say is that with Vivado everything works, so I think that the license is correctly addressed. I can use the IP within Block Design, I can configure it and so on.

The problems is with System Generator. When I create a project with the IP I am not able to run the simulation and to configure the core.

Do you have any other test I can do to help you understanding? If the previous test is mandatory I can try to ask for an internet access but I think it will be very difficult to obtain for security reasons.

Thank you again for cooperation.

Best Regards,

Andrea

0 Kudos
Highlighted
Moderator
Moderator
1,092 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @andreadicola ,

Can you please ask your colleague to cd to C:/Xilinx/Vivado/2019.1/bin/unwrapped/win64.o (or if this is Linux OS< to ../xilinx/Vivado/2019.1/bin/unwrapped/lnx64.o and from here,run  lmutil lmstat –a –c 2100@thsmlablic01.wflab.chieti.thales -i
And then please share a screenshot of what the output be?

To me, this appears to be SysGen specific related issue, as you've confirmed that all is OK in Vivado.

Can i ask you please to set FLEXLM_DIAGNOSTICS Environment variable value 3,

eg:     FLEXLM_DIAGNOSTICS=3

And then try and see if you get an additional licensing pop up dialog box with additional info at the time when SysGen produces a licensing error?

I would also suggest running SysGen as an administrator, as sometimes this helps with a wide range of issues in SysGen

Are you only seeing issues with RS Encoder IP and perhaps RS Decoder IP works fine without any license errors? I've seen this behaviour before, so would like to check on this with you too. Can you try and confirm if the issue is only seen with RS Encoder IP, but not with RS Decoder IP?

And lastly, is there a chance for you to try and use the latest Vivado tools, including SysGen, such as v2019.1?

I know back with 2017.x and perhaps 2018.x, we had some issues with SysGen, however these all should now be addressed in 2019.1 and newer releases.

BTW, Supported MATLAB Versions with 2019.1 are : R2017a, R2017b, and R2018a.

The licenses that you have are also all perfect for 2019.1 version of Vivado tools, so i don't see any issue for you to try and work with Vivado 2019.1 tools, including System Generator. Would that be possible for you to test this with the latest SysGen 2019.1?

If you have any questions for me on the above, please let me know.

Have a nice day and enjoy your weekend.

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Moderator
Moderator
1,088 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

@andreadicola 

...and lastly, can you confirm please that you also have a valid MATLAB license file in place? As i know, MATLAB is a licensed tool, so also require a valid matlab related license on top of your Vivado related license files.
Please note that Xilnx don't provide such a license, so if needed, this can be obtained from Mathworks.

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
1,078 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @anatoli,

I try to answer to all your questions.

1. My colleague launched the "lmutil" on the license server and I attached you the output.

2. I put the FLEXLM_DIAGNOSTICS=3 environment variable in the .flexlmrc file under the user Home, but I have only many more messages on the console regarding the Mathworks toolboxes.

3. I cannot launch the SysGen as administrator because the MATLAB license is linked to the user.

4. I am seeing the issue both for Reed-Solomon Encoder and Decoder IPs.

5. Unfortunately I cannot install for the moment the Vivado 2019.1. If it is very important I have to plan it but I could have then integration problems.

6. I have a valid MATLAB license on my workstation. I am able to create and run SysGen projects and only when I use the RS Encoder/Decoder IPs I get the error.

I hope to have been clear.
Thank you againg.
Have a nice weekend too.
Best Regards,
Andrea

0 Kudos
Highlighted
Moderator
Moderator
1,050 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @andreadicola ,

That is strange indeed, as we have seen this happening before for other users, and we never could find an actual root cause, as everything seems to be working fine from the Vivado side, however when it comes to SysGen + Matlab, the issue is seen then.

For us to be able to gain more info in relation to the licensing error, FLEXLM_DIAGNOSTICS=3 environment variable needs to be set the same way as your XILINXD_LICENSE_FILE was set to point to your floating license server.
As such, can you please just open a terminal and run ‘set FLEXLM_DIAGNOSTICS=3’ (or setenv FLEXLM_DIAGNOSTICS 3) and once done, within the same terminal, if you can open SysGen, then please monitor the additional info that would get generated.

Would you please copy these into a file and send this file to me for examination?

Can you also please set your XILINXD_LICENSE_FILE to point to ‘2100@thsmlablic01’ instead of 2100@thsmlablic01.wflab.chieti.thales? Then please try running SysGen/matlab once again and let me know if the same behaviour is seen then or not?

As a workaround, are you even able to generate these IPs in Vivado design flow and then using black box, can you then import core in SysGen? License check only happen during core generation . So when you generate core successfully you should able to integrate these then in sysgen 


Here are the steps 

1. Generate core in vivado 
2. Create sysgen design and import Vivado IP in sysgen using black box

 

In any case, I won’t be able to reproduce this, as I don’t have any Matlab related licenses in place for me to be able to reproduce this issue at my end.
Let’s see if our DSP IP and Tools experts can advice here on something else to try.

 @nathanx , @meherp , Can you please see if you can reproduce this licensing behaviour at your end, as to me, SysGen perhaps is looking for a licensing feature such as e.g. 'rs_encoder_v9' instead of ‘rs_encoder’ (the same as in Vivado).

Please note that using Vivado flow, everything works as expected targeting these IP Cores ( both Reed-Solomon Encoder and Decoder IPs).

However, when comes to SysGen, a licensing error is seen then, that is only occur when using the RS Encoder/Decoder IPs in SysGen.

Can you please help here further, as i would assume you'd have access to the relevant Matlab license file, to be able to reproduce this issue?

Thanks a lot in advance.

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
1,045 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @anatoli,

I have just terminated a test substituting Vivado 2018.2 with Vivado 2018.3 (not 2019.1 because of an internal tool we are using that supports for the moment up to the 2018.3).

I have to say that is very strange but now the situation has changed: I am able to use the RS IP cores within SysGen !!!

I did nothing particular: only installed Vivado 2018.3 and configured the PATH with the new Vivado 2018.3 one; then I launched the SysGen and now it works.

So I am not able to say what is changed and why it is working now.

Do you think I have to execute your instructions the same?

 

Thank you very much for your precious support.

Best Regards,

Andrea

0 Kudos
Highlighted
Moderator
Moderator
1,039 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Excellent news @andreadicola , glad all works fine with 2018.3.

Sound like the PATH perhaps wasn't previously configured correctly with Vivado 2018.2 and perhaps this was causing this strange behvaiour?

To be honest, it is just a guess, as I can't be 100% sure on this, as i've never could reproduce this issue.

All i know is that back with the older versions of SysGen, there were a few issues that got addressed in the latest release, so maybe the bahaviour you saw in 2018.2 was one of these issues that got addressed in 2018.3 and newer releases?

Anyhow, as the issue is now resolved in 2018.3, are you OK to continue to work with 2018.3 for now or are you must remain 2018.2 for your design? If not, please use 2018.3 or newer Vivado releases.

Have a nice evening.

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
1,037 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @anatoli,

I am OK with Vivado 2018.3. So if it continues to work I am OK. :-)

Regarding the PATH, it was configured properly also with Vivado 2018.2. Now I have only changed it due to the upgrade to Vivado 2018.3. So I think it was not an issue related to the PATH.

As said before I don't know why now is working...but it is OK! :-)

Perhaps it was an issued that has been addressed in new versions of Vivado, as you said.

Thank you again.

Best Regards,

Andrea

Highlighted
Observer
Observer
541 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi all, Hi @anatoli,

I had to migrate to Vivado 2015.3 for team project reasons and I still have the same license problems with the Reed-Solomon Encoder/Decoder I described at the end of 2019.

When I use the System Generator libraries for the Reed-Solomon Encoder/Decoder and I try to open/configure them I get again the error: "This block requires one or more mandatory licenses but no valid licenses were found. Please update the license settings to use this block. Error occurred during "Block Configuration"".

Within the Vivado License Manager everithing seems to be ok: I can see the licenses for the System Generator and for the Reed-Solomon blocks too.

I have valid licenses for Vivado System Edition, Reed-Solomon Encoder/Decoder IPs and MATLAB.

This is very frustrating because I am wasting a lot of time on my project trying to fix this issue.

 

Is there any update on this issue?

Last year I have resolved with Vivado 2018.3 but after some days the problem was still there.

 

Thank you in advance for cooperation.

0 Kudos
Highlighted
Moderator
Moderator
488 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @andreadicola ,

You see, when dealing with such old versions of Vivado, it is hard to figure out an actual root cause, as back then there were issues that got resolved in the latest Vivado releases.

In any case, we may need to get SysGen experts involved here, so let first check the licensing side and if all is good, we can then request SysGen experts to help out further on this.

1) Can you please send me your up-to-date Xinfo report.

2) Can you also please set this environment variable: XILINX_VLM_DIAGNOSTICS=1 and then re-open Vivado License Manager (VLM) and you should then see a License Diagnostics tab added in VLM, as shown below.

Can you then do a “Diagnose Now” task and send me the xlicdiag_xxxx.rpt report for examination? This should provide us some additional info regarding where the issue is coming from.

image.png

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
474 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @anatoli ,

first of all thank you for your answer.

 

Yes, I know that it can be hard to find a solution for problems in old Vivado versions but, as I said in my previous message, I still have this problem in Vivado 2018.3.

So at the moment I have this problem in both Vivado 2015.3 and Vivado 2018.3.

As requested by you, I attach to this messages an archive with 3 reports.

The first two are the "xinfo" files obitained with the two versions of Vivado. The third is the "xlicdiag" file.

Unfortunately I succeded in generating the "xlicdiag" file only in Vivado 2018.3. Is it possible that the feature to generate the report was not available in Vivado 2015.3? I was not able to see the additional diagnostic tab.

 

I hope that reports helps you in finding something useful.

 

Thank you again.

Regards,

Andrea

0 Kudos
Moderator
Moderator
432 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @andreadicola ,

Thanks for the files.

Based on what i see, from the licensing point of view, all is perfect.

Since you are able to generate the IPs under Vivado without problems, this means it is somehow an issue with Sysgen and MATLAB configuration.

Hello @vkanchan ,

Would you be able to help here to debug this issue further from Sysgen and MATLAB configuration point of view?


When @andreadicola tries to use the System Generator libraries for the Reed-Solomon Encoder/Decoder he gets this below error every time he tries to configure the blocks: "This block requires one or more mandatory licenses but no valid licenses were found. Please update the license settings to use this block. Error occurred during "Block Configuration"".

I've confirmed that the licenses are valid, and since Andrea is able to generate the IPs under Vivado without problems, this is to me an issue with Sysgen and MATLAB configuration (somehow). Since i'm not an expert in this area and not sure what logs to check, would you please help out here?

Thanks in advance.

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
411 Views
Registered: ‎09-18-2018

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @andreadicola ,

Could you try the below steps:

1. Remove the RS blocks from your design.

2. Delete all contents in the Sysgen IP cache path. The path can be found using the command "xilinx.environment.getipcachepath" in MATLAB console.

3. Reload the licenses for the RS blocks.

4. Insert the RS blocks in your design and try configuring.

Most likely this block is picking up the data from the IP cache and not getting updated. Please try this and let us know.

Highlighted
Observer
Observer
398 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @vkanchan @

thank you for your prompt answer.

We have tried to follow your indications with the following results:

1. Opened the project whit the RS block.
2. Tried to configure the RS block.
3. Got the error (mentioned in previous messages).
4. Deleted the RS block e re-saved the project.
5. Launched the command "xilinx.environment.getipcachepatch" in MATLAB console.
6. Copied the provided path ("/home/T0102991/.Xilinx/Sysgen/SysgenVivado/lnx64.o/ip").
7. Opened a console and tried to go in the path ("cd /home/.../.../ip").
8. The path does not exist. We can find until the upper level (lnx64.o folder) which includes many folders but not the "ip" one.

Is this strange? Do you have other suggestions?

Another thing I do not understand is your step 3. How do we have to reload the licenses?
We have a floating license on a server and within Vivado it is correctly seen as @anatoli said.

Thank you again for you help.

Regards,
Andrea

0 Kudos
Highlighted
Moderator
Moderator
394 Views
Registered: ‎06-14-2010

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hello @andreadicola ,

In relation to the licensing cache, to clear the cache, on Linux operating systems please remove $HOME/.flexlmrc file (not the files under $HOME/.Xilinx) 

You can also run this Tcl command:

config_ip_cache -clear_output_repo

Hope this helps.

 

Kind Regards,
Anatoli Curran,
Xilinx Technical Support
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
393 Views
Registered: ‎09-18-2018

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @andreadicola ,

copy until lnx64.0 , like this : /home/T0102991/.Xilinx/Sysgen/SysgenVivado/lnx64.o/

Then delete all the contents of this entire folder.

Make sure you close Sysgen and relaunch after this is completed.

View solution in original post

Highlighted
Observer
Observer
361 Views
Registered: ‎01-09-2019

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

Hi @anatoli and @vkanchan ,

we have tried both your indications, operating as follows:

1. Deleted the file $HOME/.flexlmrc.
2. Run Tcl command config_ip_cache -clear_output_repo.
3. Opened the SysGen project and tried to configure the RS block.
4. Got the error.

5. Deleted all the content of the lnx64.o folder.
6. Opened the SysGen project and tried to configure the RS block. It worked !!!
7. Configured RS block and launched simulations and IP generation which include the RS block.

We hope it continues to work in the next days and months too!

If you find other solutions like configuring some tool options instead of manually delete the cache, please let us know.

Thank you very very much for the support!!!

Regards,
Andrea

Highlighted
Xilinx Employee
Xilinx Employee
355 Views
Registered: ‎09-18-2018

Re: Licensing Error with Reed-Solomon Encoder/Decoder IP in System Generator for DSP

Jump to solution

HI @andreadicola ,

Good to know the issue is resolved. I would recommend to clear the cache if issue like working on this version but not other version, come up.

Sysgen uses cache of the blocks used so subsequent runs are faster. Sometimes this might be corrupted. So clearing the cache might help.