• 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 SKILL
  3. How can I set the license of usage in Ocean ?

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 143
  • Views 13045
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I set the license of usage in Ocean ?

ichiro
ichiro over 4 years ago

I'd like to set the license of usage in Ocean script instead of automatically select to use licenses for other department.

Can I select the license?

Best regards,

Ichiro

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Ichiro,

    I have no idea what you're asking here. Please clarify.

    In general the application will checkout whatever licenses it needs. You're presumably asking how to restrict access to licenses somehow, but I don't understand precisely what you're asking for.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ichiro
    ichiro over 4 years ago in reply to Andrew Beckett

    Hi Andrew,

    I want to expressly checkout ADE-L license when I start Ocean script without getting assembler license which is bought by other department.  It means our department has no right (no priority) for the assembler license.

    Ichiro

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to ichiro

    Ichiro,

    If you do this at the beginning:

    envSetVal("license" "ADELicenseCheckoutOrder" 'string  "L")
    envSetVal("license" "adeMaestroCheckoutOrder" 'string  "Classic")

    then it will only check out ADE L licenses. This means that if ADE L licenses are not available, then the OCEAN script will fail, of course.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ichiro
    ichiro over 4 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for the idea, but I'm not sure where commands should be inserted. 

    regards,

    Ichiro

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to ichiro

    How about at the beginning of the OCEAN script? Or at the OCEAN prompt or Virtuoso prompt before doing a load("oceanScript.ocn") - I don't know how you're running it. Essentially they need to be called before the simulator() call within the script (that triggers the license checkout; there are other things that do too, but assuming it's a normal OCEAN script that runs simulation, it would be the simulator() call that checks out the license).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ichiro
    ichiro over 4 years ago in reply to Andrew Beckett

    ---run command---

    runVirtuosotoolL -ver test_IC618 -T ocean -restore start.ocn

    ---start.ocn---

    envSetVal("license" "ADELicenseCheckoutOrder" 'string  "L")
    envSetVal("license" "adeMaestroCheckoutOrder" 'string  "Classic")

    ・

    ・

    my code...

    ---end of my code---

    It occurred errors..

    ERROR (ELI-00111) Failed to check out license 'Virtuoso_Visual_Analysis_XL'.
    ERROR (ELI-00111) Failed to check out license 'Analog_Design_Environment_L'.
    ERROR (ELI-00111) Failed to check out license 'Analog_Design_Environment_L'.
    ERROR (ELI-00131) License check out failed for tier 'XL'. Ensure that this tier is defined in the 'license:adeMaestroCheckoutOrder' variable in your local .cdsenv file.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to ichiro

    OK, as I said, it will fail now if you don't have an ADE L license. From the error above, you don't have any (free) ADE L licenses, so it's doing what you asked. 

    Presumably you do actually have some ADE L licenses, but they're all in use? Otherwise restricting your script to require ADE L is a bit of a limitation!

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ichiro
    ichiro over 4 years ago in reply to Andrew Beckett

    No one uses ADE-L license now, and I can simulate with ADE-L too. So, should I edit any environment variables ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to ichiro

    Presumably if you're simulating in ADE L, you've actually checked out a different license. Normally ADE searches for several alternative licenses when the ADE L license isn't available. When you're running ADE L, check with Options->License in the CIW and see what license you're actually using.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to ichiro

    Presumably if you're simulating in ADE L, you've actually checked out a different license. Normally ADE searches for several alternative licenses when the ADE L license isn't available. When you're running ADE L, check with Options->License in the CIW and see what license you're actually using.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • ichiro
    ichiro over 4 years ago in reply to Andrew Beckett

    Yes, you're right. As you said, I maybe don't have ADE-L license because I use explore license in simulation from ADE-L GUI.

    I understood I can only use explore license.

    Thanks,

    Ichiro

    • Cancel
    • Vote Up 0 Vote Down
    • 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