• 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. Hierarchical copy with prefix and pcells

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 15017
  • 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

Hierarchical copy with prefix and pcells

Petya
Petya over 9 years ago

Hi,

I need to do a Hierarchical copy of top level design with a prefix. I tried using Solution Article 11807102, but the problem is the design has some pcells in the hierarchy that seem to be repeating, and are randomly placed in different libraries so I cannot add them to a skipLibs list. So either the script doesn't work because they are repeating layouts or it doesn't work because I'm trying to copy and rename a pcell.

I was wondering is there a way to exclude the pcells the same way i'm excluding some of the libraries. I tried excluding them by  cv~>isParamCell, but the problem is the ccpExpandDesign used to create the spec already has those layouts too and it doesn't seem to work, just crashes the ccpCopyExactDesign. I tried also not using ccpExpandDesign, and creating the spec manually from all the subcells, but that gave the same result.

I'm probably doing something very wrong, because I'm running out of ideas.....

Thanks in advance!

Petya

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    The trouble is that the code is using ccpCopy and so doesn't see the database objects of the cellViews themselves. 

    Regards,

    Andrew.

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

    Sorry for that short reply - I was having trouble posting what I wanted. I'd suggest contacting customer support, because I don't have the bandwidth to rewrite the solution (written by somebody else).

    The solution may be to use ccpExpandDesign to collect the cellViews, and then open each using dbOpenCellViewByType and filtering out those which are pcells.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Petya
    Petya over 9 years ago
    Hi Andrew,

    Thank you! This is what i actually tried, but i'm struggling to find a way to remove the filtered ones from the specList, so I just continue getting the ccpCopy error. I couldn't find anything that works for actually getting rid of a spec or two :)

    Sorry for the stupid question, but how do I contact customer support? I've never done it :) Still hoping I could figure it out...

    Kind Regards,
    Petya
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Petya,

    You probably need to create a new spec list and then iterate through the existing spec list, and either add a spec to the new spec list or not depending on whether it's a PCell. Don't think there's a function to delete a spec from a spec list.

    To access customer support, cast your eyes upwards (on the forum web site) to the top of the page, where there's a fairly large "Support" link in the very top row. Alternatively go to  

    Normally I make my mentions of "customer support" a hyperlink but I was having problems replying to your post earlier for some reason, so I omitted it. The many hundreds of other references to customer support I've made in posts tend to have the link though.

    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