• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Cannot obtain the license for spectreRF when interfacing...

Stats

  • Replies 1
  • Subscribers 125
  • Views 64
  • Members are here 0

Cannot obtain the license for spectreRF when interfacing matlab with spectre

SW202509035411
SW202509035411 8 hours ago

Dear all,

I am current trying to read spectre simulation results into MATLAB using the Spectre/RF MATLAB toolbox, but I got the error message when using cds_srr function in MATLAB:

Error: License for the SpectreRF option could not be obtained.

I refered to the procedure in SpectreRF Simulation Option Theory, and I also checked according to the posts:

https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/34820/not-able-to-interface-spectre-data-with-matlab 

https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/41322/cds_srr-doesn-t/1359466?focus=true

I checked the license (by echo $LM_LICENSE_FILE) and it is pointed to two license servers (The $CDS_LIC_FILE is undefined).

Also, before launching MATLAB (from the shell window of virtuoso), I set the dynamic library path by

setenv LD_LIBRARY_PATH `cds_root spectre`/tools/dfII:`cds_root spectre`/tools/lib:${LD_LIBRARY_PATH}

(In the manual, it should be setenv LD_LIBRARY_PATH `cds_root spectre`/tools/dfII/lib:`cds_root spectre`/tools/lib:${LD_LIBRARY_PATH}. However, I did not find the lib directory under dfII, so I changed the path to dfII.)

Besides, the MATLABPATH was also set to include the `cds_root spectre`/tools/spectre/matlab.

Versions:

MMSIM: MMSIM131_186

MATLAB: 2016a

Thanks a lot in advance!

Best Regards,

Sai

  • Sign in to reply
  • Cancel
  • Andrew Beckett
    Andrew Beckett 7 hours ago

    Sai,

    Why are you trying to run a 12 year old version of Spectre? 

    It was changed many years ago to require just a Spectre license (or a single MMSIM token) - I have no means of (easily) running anything quite that old, I'm afraid. You also haven't needed to set LD_LIBRARY_PATH for a long time - I only do this nowadays:

    setenv MATLABPATH `cds_root spectre`/tools/spectre/matlab/64bit

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information