• 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. Checks/Asserts disabled

Stats

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

Checks/Asserts disabled

dragank
dragank over 3 years ago

Dear all.

I am using IC6.1.8-64b.500.10

I have added assert file to the model libraries and I am running simulation which produces results but when I switch to Checks/Asserts I see that they are disabled.

Is there a way to enable them?

Best regards,

Dragan

  • Cancel
  • dragank
    dragank over 3 years ago

    The only way I found so far was to add .scs file with asserts to Model files of corner:

    There is no difference if Checks/Asserts are enabled or disabled:

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

    This is to be expected. It's nothing to do with the fact that the file contains asserts - if you add files using the model libraries on the test, and then have model files defined in corners, the model libraries from the test are replaced with the model files from the corner. If you don't want to add the file containing asserts to every corner, you could add to the test as a Definition File on the Setup->Simulation Files form. These files are kept regardless of whether corners are enabled or not.

    The reason this happens if that if you are using models from corners, you want them to replace the model files from the test, and the tool has no way of knowing which files you want replaced and which you don't - so it replaces the lot.

    Andrew

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

    Thank you.

    I need to:

    add to the test as a Definition File on the Setup->Simulation Files form

    from SKILL code.

    I already asked question on that subject and adding files to test is working, but adding to definition files is not.

    I will open another thread on this.

    Best regards,

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to dragank
    dragank said:
    I already asked question on that subject and adding files to test is working, but adding to definition files is not.

    If it's the thread I'm thinking of, I did give an answer a few weeks ago.

    Andrew

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

    Yes, that is it, but adding to definition files did not work.

    Here is the code I used:

    contains = nil
    sevSess = axlGetToolSession(axlGetWindowSession() testName)
    testSess = sevEnvironment(sevSess)
    foreach( sessionElement asiGetEnvOptionVal(testSess "definitionFiles") ;modelFiles
      if( eqv(car(sessionElement) outFileName)
      then
        contains = 't
      )
    )
    if( not(contains)
    then
      asiSetEnvOptionVal(testSess "definitionFiles" ; modelFiles
      append(
        asiGetEnvOptionVal(testSess "definitionFiles") ; modelFiles
          list(
            list(outFileName)
          )
        )
      )
    )

    First part contains prevention of adding same file multiple times.

    Lower part is adding .scs file to definition fies,

     

    Best regards,

    Dragan

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

    There was a mistake in my earlier code - it had an extra list in there (I probably hadn't adapted it properly from when it was adding modelFiles). So here's a corrected version of the code (the eqv check needs to change too because of the lack of an extra list level):

    contains = nil
    sevSess = axlGetToolSession(axlGetWindowSession() testName)
    testSess = sevEnvironment(sevSess)
    foreach( sessionElement asiGetEnvOptionVal(testSess "definitionFiles") ;modelFiles
      if( eqv(sessionElement outFileName)
      then
        contains = 't
      )
    )
    if( not(contains)
    then
      asiSetEnvOptionVal(testSess "definitionFiles" ; modelFiles
      append(
        asiGetEnvOptionVal(testSess "definitionFiles") ; modelFiles
            list(outFileName)
        )
      )
    )
    
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dragank
    dragank over 3 years ago in reply to Andrew Beckett

    Thank you for correction.

    I'd never found it out.

    Best regards,

    Dragan

    • 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