• 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. Selecting all instances in a cellview without opening window...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 17259
  • 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

Selecting all instances in a cellview without opening window view

lc2710
lc2710 over 12 years ago

 Hi all,

I am writing a program which involves displaying the heirarchical tree of all the instances and nets in a Cadence cell, exactly like it appears in the side of the cellview in Cadence. To do this I am writing a .restore file to the command line which should select all objects in the cellview. My problem is that I don't want my program to open Cadence, but can't find a way to select all the objects in a cellview without having the view window open and using the function geSelectAll().

 

Is this possible to do? 

 

All help is much appreciated

Louis

  • Cancel
  • dmay
    dmay over 12 years ago

    I'm not sure why you want to "select" the items. You can loop through all the instances in a cellview without opening it in a window if you have the cellview id:

    cvId = dbOpenCellViewByType("myLib" "myCell" "myView")
    foreach(inst cvId~>instances
        printf("Lib: %s  Cell: %s  View: %s  Inst Name: %s\n" inst~>libName inst~>cellName inst~>viewName inst~>name)
    )

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • lc2710
    lc2710 over 12 years ago

     Hi Derek,

    Thanks alot that's just what I needed! 

    Louis

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • theopaone
    theopaone over 12 years ago

     To generate a tree, you may want to loop through the instance headers instead of all the instances. The instHeader (cvId~>instHeaders) points to a master and to all the instances which use that master. A regular hierarchical cell has only one instHeader pointing to all of its instances. A pcell or via may have multiple instHeaders, one for the superMaster and one for each variant master.

    Ted

    • 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