• 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 Code for listing all views

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 142
  • Views 16520
  • 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 Code for listing all views

Elnic8745
Elnic8745 over 6 years ago

Hi all

I am looking for a skill code for listing all the views inside a particular cell

For example for a certain cell inside my library I would like to return all the ade states - all the schematic views - all the config state ...

Do you have some similar skill code? 

Thanks in advance

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Maybe you mean something like this? The key is ddGetObj() and then using ~>views to get the views.

    procedure(CCFshowViewInfo(lib cell)
      let((cellObj masterObj viewType)
        cellObj=ddGetObj(lib cell)
        foreach(view cellObj~>views
          ; find the master file (that's what the "*" is for)
          masterObj=ddGetObj(lib cell view~>name "*")
          viewType=if(masterObj then ddMapGetFileViewType(masterObj) else "unknown")
          printf("%-20s %s\n" view~>name viewType)
        )
        t
      )
    )
    
    

    Then the results look like this:

    CCFshowViewInfo("opamp090" "full_diff_opamp")
    adexl_1              adexl
    maestroSing2         maestro
    maestroSing6         maestro
    maestroSing1         maestro
    maestroSing7         maestro
    maestroSing4         maestro
    maestro              maestro
    maestroSing8         maestro
    symbol               schematicSymbol
    adexl                adexl
    maestroSing3         maestro
    adexlSingle          adexl
    schematic            schematic
    maestroSing5         maestro
    

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Elnic8745
    Elnic8745 over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    yes exactly what I was thinking

    Many thanks! 

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

    Hi Andrew,

    yes exactly what I was thinking

    Many thanks! 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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