• 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. Error when using 'sevActiveSelectedAna()'

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 1209
  • 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

Error when using 'sevActiveSelectedAna()'

Upasana Acharya
Upasana Acharya over 2 years ago

Hello, 

I want to extract the analyses that are selected (regardless if they were enabled or not) under each test in maestro ADE Assembler. Hence, I decided to use 'sevActiveSelectedAna()' and 'sevNonActiveSelectedAna()'. However, I get the following error message in CIW: 
   """ *Error* slotValue: no such slot - axlsession in class spectre_session. Valid slot names: (icrpFreeMode isSmIcCorModelSpec deviceParamList swiftHeartBeatCallback swiftHeartBeatInstanceCount swiftHeartBeatCellCount name parent scopeStore scope valid modified data access children initFunc state parentSession netlistObject masterOptionTable oppointSaveInfo aliasfd inPOLONameMapDBGenFlow spectreXFlag preserveInstFlag netlistMasterOptions) """

Following is my code:

s1 = axlGetWindowSession()
session = axlGetMainSetupDB(s1)
tTests = axlGetTests(session)

foreach( t tTests

testSession = axlGetToolSession(s1 r)
asiSess = asiGetSession(testSession)

aE = sevActiveSelectedAna(asiSess)
aNE = sevNonActiveSelectedAna(asiSess)

printf("%L\n" aE)
printf("%L\n" aNE)

);foreach

Can anyone else figure out the issue?

Thank you!

  • Cancel
  • Upasana Acharya
    Upasana Acharya over 2 years ago

    Sorry, need to make a correction: testSession = axlGetToolSession(s1 t)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Upasana Acharya

    There are several things wrong with the code:

    1. The loop variable can't be called t because that's reserved (to mean true) and would give an error if you did that. So your correction can't be right either
    2. You would need to do foreach(test cadr(tTests) ...) or you would need to have tTests=cadr(axlGetTests(session)) for the loop to be correct
    3. The argument to sevActiveSelectedAna/sevNonActiveSelectedAna needs to be a sevSession not an asiSession - so in your case, it would need to be the variable testSession not asiSess

    However, even with this, it doesn't work (it doesn't fail with an error, but it doesn't work). I don't believe these functions work properly in Explorer/Assembler - looking at them they return t/nil (rather than a list of analysis objects) if the session is for Explorer; for Assembler I think they always return nil because it's looking for an ADE XL test editor type list box to find the selected objects, and that doesn't exist in Explorer or Assembler.

    Even with ADE XL this strikes me as being of questionable value (I found only a single reference to sevActiveSelectAna in any case or CCR over the years),  because you could only select objects for a single test at a time.

    So my question is (before I report these functions as being broken and suggest their retirement or at least indication that they are only useful for ADE L or an ADE XL test editor) what do you mean by "selected"? Are you trying to find all the analyses that are present in the test (whether enabled or not), or are you trying to determine which have been selected (i.e. click and shift-click a range) in the data view assistant? If so, why do you need this?

    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