• 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. rename cells automatically with "Update Instance" selec...

Stats

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

rename cells automatically with "Update Instance" selected

marcop
marcop over 16 years ago

 Hi all,

I need to rename a lot of cells and change also the references from old cell to new ones.

From Library Manager it is present "Rename Cell" with Update Instance that is the right function, but I did't find skill code to do the operation automatically.

 

 Thanks

Marco 

  • Cancel
  • skillUser
    skillUser over 16 years ago

    Hi Marco,

    You can use the ccp* functions combined with the gdm* functions to achieve this.  For example there is a ccpCopy function that can perform a copy followed by an update operation. Here is a snippet taken from my CCShierCopyCell.il that can be found on SourceLink:

    ccpCopy(
          specList        ;; source spec list
          destSpecList        ;; destination spec list
          nil            ;; overwrite?
          'CCP_NO_EXPAND    ;; expandflag
          nil            ;; copyViewType list
          nil            ;; copyViewName list
          ""            ;; viewName regular expression
          "CDBA"        ;; name space referring to previous 2 arguments
          'CCP_UPDATE_DESTLIB_ONLY    ;; whatToUpdate
          )

     Get the code here or here

    Also, check the documentation for the ccpCopy(), ccpExpandDesign(), gdmCreateSpec(), gdmCreateSpecList(), gdmAddSpecToSpecList(), gdmResetSpecList() and gdmInspectSpec() SKILL functions.

     I hope this helps you.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • marcop
    marcop over 16 years ago

     Hi Lawrence,

    thank you for you help

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • LeO99
    LeO99 over 13 years ago
    where to find documentation on ccpCopy() function.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    How about using the search capability in the documentation? You can get to the documentation either using the Help menus in the tools (surprise, surprise), or by using cdnshelp in IC61 or cdsdoc in IC5141. Or you can search on Cadence Online Support.

    Or if that's too difficult,  it's in <ICinstDir>/doc/caiuser/caiuser.pdf (The Cadence Application Infrastructure Guide).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • LeO99
    LeO99 over 13 years ago

     Well Andrew that helped. But while copying and updating cells in the destination library only a few of the cells are updated and not all of them. Can you think of something why this is happening.

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

    Not based on the information you've provided.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • LeO99
    LeO99 over 13 years ago

     The purpose of the script is to rename the cells in the source library and copy them to the destination library. This script creates a GUI wherein you have to give the name of the source library, destination library, prefix and suffix. Suppose you have a cell named XYZ in source library than it will be copied as "prefix"XYZ"suffix" to the destination library. But not all the cells are updated in the desitnation library. For more clarity I am attaching the SKILL code with this reply.

    ccpCopy.il
    • 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