• 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. Function to add scs file to model libraries

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 12446
  • 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

Function to add scs file to model libraries

dragank
dragank over 3 years ago

HI all.

I am using IC6.1.8-64b.500.10

I am checking, but with no success so far.

Is there public function to add scs file to model libraries programmatically so it can be shown here:

 

or here 

Thank you in advance

Dragan

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    Use asiSetEnvOptionVal with either modelFiles (for the top) or definitionFiles for the bottom. See this post.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dragank
    dragank over 3 years ago in reply to Andrew Beckett

    When applied it adds new scs file when listed from CIW, but in GUI window it is not listed.

    Best regards,

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to dragank

    If you give the first argument as asiGetTool('spectre), it will update for new ADE setups (it won't affect any existing states/maestro views). If you have existing setups, you need to pass a session (e.g. asiGetCurrentSession() ) as the first argument.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dragank
    dragank over 3 years ago in reply to Andrew Beckett

    Applied and working on selected tests.

    Thank You.

    Best regards,

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dragank
    dragank over 3 years ago in reply to dragank

    Actually it adds .scs file to model libraries of last test.

    I am using IC6.1.8-64b.500.10.

    If this makes things clearer, when I apply:

    asiSetEnvOptionVal(asiGetCurrentSession() "modelFiles" ; definitionFiles
      append(
      asiGetEnvOptionVal(asiGetCurrentSession() "modelFiles") ; definitionFiles
        list(
          list(outFileName)
        )
      )
    )

    to:

    new scs file is added to "tran_noise test".

    At first it seemed to me it adds it to selected models, but it is not.

    Is there a way to supply test name or something similar that new .scs file shoud be added to it's libraries.

    Best regards,

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to dragank

    Dragan,

    OK, you didn't mention that you were using a multi-test environment such as ADE Assembler.

    You can do this for a specific test by doing:

    testSess=maeGetTestSession("testName")

    asiSetEnvOptionVal(testSess"modelFiles" ; definitionFiles
      append(
        asiGetEnvOptionVal(testSess "modelFiles") ; definitionFiles
            list( ; if setting definitionFiles don't include this extra list
              list(outFileName)
            )
        )
      )

    If you are using ADE XL then you'd have to use:

    sevSess=axlGetToolSession(axlGetWindowSession() "testName")
    testSess=sevEnvironment(sevSess)

    Andrew

    • 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