• 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. skill to copy maestro

Stats

  • Replies 2
  • Subscribers 143
  • Views 745
  • Members are here 0

skill to copy maestro

dogman4
dogman4 2 months ago

Hi,friends

I want to copy maestro under the same cell named maestro2, what function is used.

I have tried the following code but it does not work.

srcList = gdmCreateSpec("Mylib_FVF" "FvfLdo_sim" "maestro" nil "CDBA")
dstList = gdmCreateSpec("Mylib_FVF" "FvfLdo_sim" "maestro_mc" nil "CDBA")
ccpCopyDesign(srcList dstList)

thx

  • Sign in to reply
  • Cancel
  • Andrew Beckett
    Andrew Beckett 2 months ago

    As both the warning message suggest when you run this "*WARNING* (ccpCopyDesign) Was expecting dest object of library type.", and the documentation states, the destination must be a library. This is not the appropriate API to use for copying a maestro view - it's for copying a design (after expansion). Instead you should use:

    src = gdmCreateSpec("Mylib_FVF" "FvfLdo_sim" "maestro" nil "CDBA")
    dst = gdmCreateSpec("Mylib_FVF" "FvfLdo_sim" "maestro_mc" nil "CDBA")
    srcList=gdmCreateSpecList()
    dstList=gdmCreateSpecList()
    gdmAddSpecToSpecList(src srcList)
    gdmAddSpecToSpecList(dst dstList)
    ; third argument of nil means don't overwrite
    ccpCopy(srcList dstList nil 'CCP_EXPAND_COMANAGED)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dogman4
    dogman4 2 months ago in reply to Andrew Beckett

    very thx,Andrew

    save a lot of time

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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