• 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 Design
  3. Keeping Library colors in Library Manager

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 15471
  • 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

Keeping Library colors in Library Manager

GoRangers
GoRangers over 13 years ago

Hi,

I noticed IC6.1's new feature to allow you to "ASSIGN libname DISPLAY colorname".   It works, but you have to hand-hack the cds.lib.

 But I'm coding some library utilities which utilize the ccp functions, and I want to retain the colors whenever I copy/rename a library.  All the ASSIGN statements get orphaned whenever I move libraries around via ccp.   How do I keep the ASSIGN statements in lockstep with my ccp operations?    Do I actually have to open the cds.lib file as an ASCII and sed/grep everything with a series of system calls from Skill??  

 Surely someone has hit this before?   When your ASSIGN statements all get orphaned, that's pretty bad.

thanks

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    There's no SKILL API to manipulate the ASSIGN statements in cds.lib - you have to update the cds.lib (using SKILL I/O functions) yourself. If you would like a SKILL API to do this kind of manipulation, you'll need to file an enhancement request with customer support.

    Regards,

    Andrew.

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

    No kidding.  I filed a bug (not an enhancement) and it got binned.  An API should not be necessary--if you delete a library, the ASSIGNs should go with it.  If you copy or rename a library, the ASSIGNs should go with it.  The Skill I/O functions work, but as far as I'm concerned that is a bug that it is not default Virtuoso behavior.   Cadence should not be orphaning ASSIGNs in a way that is clearly wrong. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago
    What was the SR number? I'll take a look. I agree with you - it should be managed as part of copying/renaming the library.

    The SKILL API would be a useful enh too, but not so necessary if it did the right thing.

    Thanks,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • GoRangers
    GoRangers over 12 years ago

    SR
    43069480
    Closed

    CCR
    1054736
    Inactive

     

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

    OK, I checked. Your request has not been "binned". There has been some healthy debate about the request in the CCR, and it's agreed that there should be user control over which attributes get transferred to any new library. Some people might want some (or all) of the attributes copied, some might not. For example, if you've got an attribute indicating a reference library as readonly, and you take a (writable) copy of it, having it marked as readonly might not be appropriate any more.

    Also, it's perfectly reasonable to have attributes for a non-existent library in the cds.lib, so that when the library gets created, it gets those attributes.

    I'm not saying that these are necessarily what most people would want, just to illustrate that it's more complicated than it might seem from a first glance. It would also require changes to various APIs (not SKILL APIs, but the APIs used at a lower level in the tools) to allow better (selective) propagation of such attributes. So this needs careful architecting.

    Since it's impractical to plan any bug or enhancement request that comes in straightaway (unless it's a production-halting bug) - after all, we've already planned out the work for the next release - the normal process is for it to be backlogged (marked "Inactive") until the next planning phase - at which point it can be considered alongside all the other requests, and prioritized. If it doesn't make it for that planning phase, it can be considered at the next planning phase, and so on.

    So the CCR is awaiting consideration for implementation when we next do a planning session.

    Regards,

    Andrew.

    • 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