• 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. SKILL command to read category files from disc

Stats

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

SKILL command to read category files from disc

TeeBro
TeeBro over 6 years ago

Hi All,

I'm writing some SKILL code to perform some statistics on cells that are in various categories.  Basically, I generate lists of cells in these categories.  Once I run the script it seems that subsequent calls to the script result in the exact same list even though I have confirmed that the category has changed.  It seems as if it's using a category list from memory and not reading it directly from the disc. If I quit ICFB and restart I get the current category contents as expected.  I have tried to close data, etc and nothing seems to work.  I'm just using the ddCatFindCat and ddCatGetCatMembers functions. Does anyone have any ideas on what I could try?

Best Regards,

TeeBro

  • Cancel
Parents
  • TeeBro
    TeeBro over 6 years ago

    Sorry, I should have put that in the original post.  getVersion() yields --> @(#)$CDS: virtuoso version 6.1.7-64b 12/16/2018 07:36 (sjfhw317) $

    Below is the procedure I'm using.

    procedure( pestGetCellList( libName cat )
       let( (catCellList catID catMemList)
          catCellList = nil
          catID = ddCatFindCat( ddGetObj( libName ) cat "r" )
          if( catID
             then
                catMemList = ddCatGetCatMembers( catID )
                if( catMemList
                   then
                      foreach( item catMemList
                         if( cadr(item) == "cell"
                            then
                               catCellList = cons( car(item) catCellList )
                         ); if
                      ); foreach
                ); if
          ); if
          catCellList = sort( catCellList nil )
       ); let
    ); procedure

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • TeeBro
    TeeBro over 6 years ago

    Sorry, I should have put that in the original post.  getVersion() yields --> @(#)$CDS: virtuoso version 6.1.7-64b 12/16/2018 07:36 (sjfhw317) $

    Below is the procedure I'm using.

    procedure( pestGetCellList( libName cat )
       let( (catCellList catID catMemList)
          catCellList = nil
          catID = ddCatFindCat( ddGetObj( libName ) cat "r" )
          if( catID
             then
                catMemList = ddCatGetCatMembers( catID )
                if( catMemList
                   then
                      foreach( item catMemList
                         if( cadr(item) == "cell"
                            then
                               catCellList = cons( car(item) catCellList )
                         ); if
                      ); foreach
                ); if
          ); if
          catCellList = sort( catCellList nil )
       ); let
    ); procedure

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to TeeBro

    Add a call:

    ddCatRefresh(catID)

    on the line after ddCatFindCat. That will cause it to refresh from disk if needed, and will solve your problem.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TeeBro
    TeeBro over 6 years ago in reply to Andrew Beckett

    I thought I had looked at the documentation but apparently not close enough.  Sorry for not paying closer attention.  Thanks for the help!!

    • 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