• 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. Determine Cellview used in Test using SKILL in ADE-XL

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 13967
  • 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

Determine Cellview used in Test using SKILL in ADE-XL

KGh94
KGh94 over 7 years ago

Hello,

I am running multiple tests on ADE-XL. Each test runs a different cellview (schematic, config, etc.). Is it possible to determine which cellview is my test running (using SKILL in CIW)?

Example:

car(car(resDB->points())->tests())->cellview

Also is saving a config cellview as a table possible from CIW?

Any hints would be highly appreciated.

Best regards,

Karam

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Karam,

    sess=axlGetWindowSession()
    sdb=axlGetMainSetupDB(sess)
    foreach(testName cadr(axlGetTests(sdb))
      test=axlGetTest(sdb testName)
      toolArgs=axlGetTestToolArgs(test)
      printf("Test %s %s/%s/%s\n" testName
        cadr(assoc("lib" toolArgs))
        cadr(assoc("cell" toolArgs))
        cadr(assoc("view" toolArgs))
      )
    )

    You can't do it from the test object in the RDB - that tells  you the test name, but not the lib/cell/view of the test bench.

    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 your response. This works like a charm!

    Is there a function to save the config cell-view as a table?

    Example:

    libName=cadr(assoc("lib" toolArgs))

    cellName=cadr(assoc("cell" toolArgs))

    viewName=cadr(assoc("view" toolArgs))

    when(hdbIsConfig(libName cellName viewName)

        saveAsTable(libName cellName viewName mySaveDirectory)

    )

    Your kind assistance would be highly appreciated.

    Best regards,

    Karam

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

    Karam,

    What do you mean by saving a config view as a table? Do you mean the equivalent of File->Save Cell Table Data in the hierarchy editor?

    If so, the answer is no. You'd have to write something yourself using the "hdb" APIs to collect the information. You could look at <ICinstDir>/tools/hdb/examples/hdbTraverse.il as a starting point.

    Regards,

    Andrew.

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

    Hello Andrew,

    Your assumption is correct, I was referring to the equivalent of File->Save Cell Table Data in the GUI.

    I will check out the file, thank you for your tremendous help. I highly appreciate it.

    Best regards,

    Karam

    • 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