• 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. A question about ccpCopy()...?

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 15796
  • 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

A question about ccpCopy()...?

Prabhu The ICL
Prabhu The ICL over 15 years ago

Hi! All, I am using Cadence IC514 version.
I have written the following script to copy a library to another library along with a new cell prefix added to all the cells.
/**********************soc_copy_add_prefix.il************

******************/
procedure(SoCrenameWithPrefix(libName topcell dlib prefix)
   let((src dst newName)
           srcList = gdmCreateSpecList()
           dstList = gdmCreateSpecList()
       foreach(cell ddGetObj(libName)~>cells
           if(cell~>name==topcell || rexMatchp("^rooTCA*" cell~>name) then
               newName = cell~>name
           else
               newName=strcat(prefix cell~>name)
           );if
           src=gdmCreateSpec(libName cell~>name nil nil "CDBA")
           gdmAddSpecToSpecList(src srcList)
           dst=gdmCreateSpec(dlib newName nil nil "CDBA")
           gdmAddSpecToSpecList(dst dstList)
       );foreach
           ccpCopy(srcList dstList t 'CCP_EXPAND_ALL nil nil "" "CDBA" 'CCP_UPDATE_DESTLIB_ONLY)
       println(" ccpCopy : Copy Job done ")
   ) ; let
) ; procedure
/**************************Ends here****************************************/

The code is working for all of my libraries except for a library....
The copying is taking place successfully while in the updating process it is giving the following warnings.
/**************************************************************************/
Info (ccp): ccpCdbaUpdtr ran successfully ...
\o (ccpiDispatchUpdators) Performing instance update.
\o
\w *WARNING* (ccpiDispatchUpdators) Error in running the updator: ccpHdbUpdtr for the data type: HierarchyDescription
\w
\w *WARNING* (ccpiDispatchUpdators) The updateFileList is at: /tmp/ccpHdbUpdtrOZnyQj
\w And the fullFromToListFile is at: /tmp/copyCcpP1of2rbCgAE
/**************************************************************************/

Can someone explain me what does this warning mean...?
Is there any probelm with the above code..? (However, it's working for other libs)
I tried using the namespace "LibraryUnix" instead of "CDBA" ...(giving same warning)
Is there any problem with the namespace...?


I hope the problem is understandable....

Thanks in Advance...

Prabhakar. K --- The ICL Engineer
SoCtronics

 

  • Cancel
  • lrl12skdev
    lrl12skdev over 15 years ago

    Hi,

    You are copying a topcell with subcells, in which I can only assume that there is a possibility that a subcell is reference from two diferent libraries. for example you have 2 "buffer" instances in the topcell, one is reference to libA and the other is referenced to libB,

    since you are copying all views including files like prop.xx then you will have a problem if you have not enabled the env variable auto rename because it cannot copy same file coming from to different locations to a newLib.

    I hope this makes sense.

    best regards

    • 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