• 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. How to change viewName of the pin in schematic view by Skill...

Stats

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

How to change viewName of the pin in schematic view by Skill?

Slayer
Slayer over 12 years ago

 Hi all!

Is it possible to change view name of the instance by the skill code? The question is, that I have in schematic view "iopin" instances with viewName "symbolr" and I need to change it on "symbol", I try to do it from instHeader:

[CODE]

    inst = setof(i pcCV->instances i->cellName == "iopin" && i->viewName == "symbolr");
  
   foreach(i inst
      dbSetInstHeaderMasterName(i~>instHeader i~>instHeader~>libName i~>instHeader~>cellName "symbol") ;
    );end foreach

[/CODE]

But in result I have WARNING message:

 *WARNING* can't set two instHeaders to the same master

 

Any ideas?

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

    Which version are you using? It's a bit odd iterating over the instances and then setting the instHeader on each instance - the instHeader is common to all instances of the same type - so setting it once will set all instances in one shot. So you'd iterate over cvId~>instHeaders and then change them once.

    If you want to set each instance separately, you'd set the master attribute on the instance - and the instHeaders will take care of themselves.

    So setting the instHeader master is a very quick way to change all instances of a lib/cell/view to a different lib/cell/view in one go.

    That said, I tried doing what you were doing in IC615, and couldn't reproduce the problem (but as I said, it's a bit of an odd way of doing things anyway).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Which version are you using? It's a bit odd iterating over the instances and then setting the instHeader on each instance - the instHeader is common to all instances of the same type - so setting it once will set all instances in one shot. So you'd iterate over cvId~>instHeaders and then change them once.

    If you want to set each instance separately, you'd set the master attribute on the instance - and the instHeaders will take care of themselves.

    So setting the instHeader master is a very quick way to change all instances of a lib/cell/view to a different lib/cell/view in one go.

    That said, I tried doing what you were doing in IC615, and couldn't reproduce the problem (but as I said, it's a bit of an odd way of doing things anyway).

    Andrew.

    • 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