• 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. q_copySkipLibList arguments of ccpCopyDesign

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 7814
  • 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

q_copySkipLibList arguments of ccpCopyDesign

sbkuizlzl
sbkuizlzl over 2 years ago

Hi all.

I'm using Virtuoso IC6.1.8-500.19 and I want to copy all "maskLayout" cellviews in hierarchy from cellview A to library of cellview B.

So, I write the SKILL script as below.

src = gdmCreateSpec(A->libName A->cellName A->viewName "" "Library")

dest = gdmCreateSpec(B->libName "" "" "" "Library")

ccpCopyDesign(src dest nil 'CCP_NO_EXPAND nil list("maskLayout"))

However, it returns error with the message,

*Error* ccpCopyDesign: argument #5 should be a gdm spec list (type template = "GGgsqllttsqggg") - nil

Could you tell me how can I fix it?

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

    Two things:

    1. You can't pass CCP_NO_EXPAND to ccpCopyDesign (see the documentation)
    2. For the fifth argument, the documentation is incorrect. It doesn't accept nil if you don't want to give a list of libraries to ignore, but instead you can pass gdmCreateSpecList() - which will then produce an empty spec list.

    I've fed back to our documentation team about the error in the documentation to get this corrected.

    Andrew

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

    Two things:

    1. You can't pass CCP_NO_EXPAND to ccpCopyDesign (see the documentation)
    2. For the fifth argument, the documentation is incorrect. It doesn't accept nil if you don't want to give a list of libraries to ignore, but instead you can pass gdmCreateSpecList() - which will then produce an empty spec list.

    I've fed back to our documentation team about the error in the documentation to get this corrected.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • sbkuizlzl
    sbkuizlzl over 2 years ago in reply to Andrew Beckett

    Thank you, Andrew Beckett!

    It works after I modify

    1. CCP_NO_EXPAND -> CCP_EXPAND_ALL

    2. nil -> gdmCreateSpecList()

    • 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