• 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. Copying cellviews that are saved ADE states?

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 142
  • Views 13851
  • 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

Copying cellviews that are saved ADE states?

SharksFan
SharksFan over 14 years ago

Hi All,

I have a routine that is doing cellview operations using dbOpenCellViewByType that fails when it encounters a cellview that is a saved ADE state.

My code is this:
(setq origCV (dbOpenCellViewByType originLib (getq cell name) (getq view name) "" "r"))
(setq destCV (dbCopyCellView origCV destLib destCellview (getq view name) nil nil nil))

How do I copy these ADE saved states?

Is there a way to get the cellview Id using something other than dbOpenCellViewByType?

There's nothing graphical going on, so I can't use those methods to get the cellview Id.

Any and all help is appreciated.  Thanks.

  • Cancel
Parents
  • SharksFan
    SharksFan over 14 years ago

    Thanks Andrew,

    Now, I have a related question after trying to use the ccpCopy function combined with the gdm* functions.

    I did this (which I thought looked reasonable):

    (setq originSpecLst (gdmCreateSpecList))
    (setq destSpecLst (gdmCreateSpecList))
    (gdmAddSpecToSpecList (gdmCreateSpec originLib (getq cell name) (getq view name) "" "CDBA") originSpecLst)
    (gdmAddSpecToSpecList (gdmCreateSpec destLib destCellview (getq view name) "" "CDBA") destSpecLst)
    (ccpCopy originSpecLst destSpecLst nil 'CCP_NO_EXPAND)

     But it gives me the following warning and does not perform the copy:

    *WARNING* (ccpiBuildDestSpeclist) The destination list contains illegal spec object.The destination spec must be either a libFile or cellFile or viewFile, if the expand option is CCP_NO_EXPAND.

    I don't see what is wrong here.  I used the gdmResetSpecList and then gdmInspectSpec with gdmNextFromSpecList to inspect that the gdmSpecList was as I expected and it returned answers of the form ("libNameA" "cellNameA" "viewNameA" nil) for both mygdmSpecLists.  That looked the viewFile spec to me...

     

    Any ideas anyone?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • SharksFan
    SharksFan over 14 years ago

    Thanks Andrew,

    Now, I have a related question after trying to use the ccpCopy function combined with the gdm* functions.

    I did this (which I thought looked reasonable):

    (setq originSpecLst (gdmCreateSpecList))
    (setq destSpecLst (gdmCreateSpecList))
    (gdmAddSpecToSpecList (gdmCreateSpec originLib (getq cell name) (getq view name) "" "CDBA") originSpecLst)
    (gdmAddSpecToSpecList (gdmCreateSpec destLib destCellview (getq view name) "" "CDBA") destSpecLst)
    (ccpCopy originSpecLst destSpecLst nil 'CCP_NO_EXPAND)

     But it gives me the following warning and does not perform the copy:

    *WARNING* (ccpiBuildDestSpeclist) The destination list contains illegal spec object.The destination spec must be either a libFile or cellFile or viewFile, if the expand option is CCP_NO_EXPAND.

    I don't see what is wrong here.  I used the gdmResetSpecList and then gdmInspectSpec with gdmNextFromSpecList to inspect that the gdmSpecList was as I expected and it returned answers of the form ("libNameA" "cellNameA" "viewNameA" nil) for both mygdmSpecLists.  That looked the viewFile spec to me...

     

    Any ideas anyone?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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