• 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 Design
  3. Copying p-cell from one library to another.

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 125
  • Views 17623
  • 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 p-cell from one library to another.

skillEater
skillEater over 6 years ago

Hi all,

I tried copying a p-cell from our tech library to a local library.

But the p-cell is copied as a normal cell.

Can anybody tell me how to copy a p-cell from one library to another library.

Thanks,

Ganesh Doddipatla.

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

    Hi Ganesh,

    Assuming you're really talking about a PCell, this can't happen - it can't convert itself into a normal cellView by doing a copy, because it's an attribute within the cellView itself. Most technology libraries just have layout pcells (occasionally schematic pcells but less frequently) - did you copy just the layout cellView?

    What exactly did you copy, and what is the behaviour you're seeing after the copy? You've really not given enough information here.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillEater
    skillEater over 6 years ago in reply to Andrew Beckett

    Sorry Andrew for the above description.

    Actually, what happened is when I am instantiating that PCell in another cell view it is showing PCell Evaluation failed. So I thought that it is copied as normal cell.

    Could you tell me what could be the mistake I made.

    FYI The cell I copied is a capacitor PCell (vncap_b) from our tech lib to my local library doing a test case for migration.

    Thanks,

    Ganesh Doddipatla.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to skillEater

    Hi Ganesh,

    First step I'd take is to do Verify->Marker->Explain and click on the text where it says pcellEvalFailed. What does it report?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillEater
    skillEater over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    This is the report  ("eval" 0 t nil ("*Error* eval: undefined function" Secln10lpp_vncap)) .

    Thanks,

    Ganesh Doddiptla.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to skillEater

    Hi Ganesh,

    OK, probably the original technology library has a libInit.il within the library that loads some additional code containing functions used within the pcells. You may need to copy and adapt that to ensure that all the code is loaded. Assuming that the above error function name is not somehow related to your new library name (conceivably the function name could have been constructed from the library name and cell name - hopefully not, because that would make it a challenge).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillEater
    skillEater over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    I copied libInit.il to my local library and checked it because I am still getting error

    I think it is constructed from lib name as u said earlier .I opened the file.It contains so much coding .

    What should i do now.Do I have to change anything in file.

    Thanks,

    Ganesh Doddipatla.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillEater
    skillEater over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    I copied libInit.il to my local library and checked it because I am still getting error

    I think it is constructed from lib name as u said earlier .I opened the file.It contains so much coding .

    What should i do now.Do I have to change anything in file.

    Thanks,

    Ganesh Doddipatla.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to skillEater

    Hi Ganesh,

    This is pretty hard for me to guess what might be wrong because it will be completely dependent upon how that particular PDK (and these pcells) have been developed. I don't know what you're using here. So I'll ask some generic questions with the hope that this might give me enough evidence to advise you appropriately:

    1. What is the original library name and the local library name that you have copied to? Please provide the actual names as this could really help to understand the issue.
    2. Do you still have the original tech library in your cds.lib?
    3. Does the pcell work if you've opened something from the original library first? (make sure you really have opened it first before using the local copy of the pcell).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillEater
    skillEater over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    1.The original library name is cmos10lpp and the copied library name is ln08lpp_vncap.

    2.No, I dont have the original library in my cds.lib.

    3.Yes, It is working when I opened from the original library.

    We were working on that library and using that PCell from so many days.

    Thanks,

    Ganesh doddipatla

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to skillEater

    Hi Ganesh,

    It wasn't clear from your response that if you have the original in the cds.lib still, does the pcell in the local copied library work? If it doesn't work in this situation, can you try calling your copied library something else (e.g. ln08lpp_temp) and see what the error message is in that case (from the pcellEvalFailed marker)?

    This would be a lot easier to resolve through customer support, to be honest.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillEater
    skillEater over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    Sorry for the late reply.

    My cds.lib does not have the original library.

    I tried copying the library as ln08lpp_temp but its not working.(The name does not matter u can call it any name)

    We have tried a bandage solution by flattening the cell and copying since we don't have much time . If you help us it will be a lot for us in future.

    BTW,It is a hierarchical  P-cell.

    Thanks,

    Ganesh Doddipatla.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to skillEater

    Hi Ganesh,

    The right thing to do here is to contact customer support (as I suggested earlier). Doing this without visibility of either your data or the PDK makes debugging this virtually impossible - I'm having to guess each time what the behaviour might be.

    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