• 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. Creating an ADE-L State, and Export as OCEAN, using SKI...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 15548
  • 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

Creating an ADE-L State, and Export as OCEAN, using SKILL

KGh94
KGh94 over 7 years ago

Hello,

I am trying to set up a complete ADE-L test-bench (including analysis, output expressions, and local variables) using SKILL. Then I would like to export it (also using SKILL) as an OCEAN file.

I have tried to do this for an ADE-XL test-bench and I was able to add a test, output expressions, and global variables (but was not successful with local variables or an analysis). Also I was not able to find a SKILL command to export the ADE-XL test-bench as an OCEAN file.

Going through the documentation of OCEAN, it was stated and creating an OCEAN file is done in two ways: using a text editor or using the GUI. Is all hope lost for what I'm trying to do?

Any pointers would be appreciated.

Best regards,
Karam

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

    Hi Karam,

    Did you try just using File->Save Script in ADE XL? Or you could use this function:

    axlWriteOceanScriptLCV("blah.ocn" "opamp090" "full_diff_opamp" "adexl")

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KGh94
    KGh94 over 7 years ago in reply to Andrew Beckett

    Hello Andrew,

    Thank you for the quick reply. I would like to use SKILL, so File->Save Script is not an option for me.

    axlWriteOceanScriptLCV looks like what I need. Would it be possible to set an analysis and local variables for a test in ADE-XL?

    testId = axlPutTest(sdb "myTest" "ADE") axlPutVar(testId "VDD" "0:0.1:5")  ;adds a test
    axlPutVar(testId "VDD" "5")                                                ; does not add a local variable to testId
    axlPutAnalysis(testId 'dc)?                                                ; is this possible?

    Best regards,
    Karam

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to KGh94

    Karam,

    This is much easier in ADE Assembler - there you have the "mae" (Maestro) functions which make it possible.

    You cannot set test (local) variables with axlPutVar, and you cannot set analyses using axlPutAnalysis (there's no such API). It has to be done with "asi" functions when doing this (which is why it's much easier with ADE Assembler).

    This article gives some clues as to how to do it with ADE XL: How to create adexl view for existing schematic with SKILL

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • KGh94
    KGh94 over 7 years ago in reply to Andrew Beckett

    Hello Andrew,

    Maestro looks perfect for setting up a test-bench. Can an OCEAN file be exported from maestro using axlWriteOceanScriptLCV?

    Best regards,
    Karam

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to KGh94

    Hi Karam,

    Yes, you can use it there too (the same menu is available). However, better still is that you have the maeOpenSetup function and maeRunSimulation which means you can just load the setup from the maestro view and run that in batch. You can also change variables, change corners, enable and disable things, change other stuff with other mae functions.

    So the key benefit is that you don't need to dump out an OCEAN script which duplicates everything in the setup and then maintain that; you can directly run (in batch) the current contents of the maestro view, and tweak stuff as needed. 

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to KGh94

    Hi Karam,

    Yes, you can use it there too (the same menu is available). However, better still is that you have the maeOpenSetup function and maeRunSimulation which means you can just load the setup from the maestro view and run that in batch. You can also change variables, change corners, enable and disable things, change other stuff with other mae functions.

    So the key benefit is that you don't need to dump out an OCEAN script which duplicates everything in the setup and then maintain that; you can directly run (in batch) the current contents of the maestro view, and tweak stuff as needed. 

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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