• 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. create a pcell ( symbol, not layout), and create its cdf...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 15658
  • 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

create a pcell ( symbol, not layout), and create its cdf.

youcanred
youcanred over 6 years ago

Hi, 

I want to create a symbol(not layout) by using pcell so that i can add cdf and easily change the pin number when use it. Just like analogLib, nport. i have already known how to dump the cdf code of "analogLib" so i can make a reference. however i have no ideal about writing a "symbol" pcell.

I noticed that cell in analogLib has "spectre" "symbol" "symbol_xform", there is a function  dbCreateXformPCell  ,i write a code as follows:

dbCreateXformPCell( "ind" "pcell_lib" )

But it has error:

argument #1 should be a database object (type template = "dt") - "ind"

Is there any command that I have to add to it?

and it will be very gratefull if you could give me a useful code to let me make a reference, or tell me how to dump the pcell code just like the cdf.

regards,

Jocelyn

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Jocelyn,

    That's not really going to help you. The dbCreateXformPCell is specifically for creating a variant of the existing fixed symbol which supports magnification and any-angle rotation. The primary motivation for this was to act as a substitute for the mag parameter that used to exist in CDB but doesn't exist in OA. It would not help with creating parameterised symbol with a variable number of pins.

    It failed because the first argument needs to be a cellView id (i.e the return value of dbOpenCellViewByType having opened the source cellView) and not the name of the cell. However since it's not the right approach, this is not going to help you terribly.

    You might find my article: How to create pcell symbol with variable pins and write custom netlist procedure for spectre useful though.

    Regards,

    Andrew.

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

    Hi Andrew,

    Thank you so much for your help. I think your article is just what I'm looking for. However I'm a student and I don't have the Host ID and Ref Key. Could you send the article to my email? I'll appreciate it. My email is: youcanred@hotmail.com 

    regards,

    Jocelyn

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

    Hi Jocelyn,

    Please work through the professor responsible for the Cadence tools at your university - they should be able have access to support.cadence.com . Alternatively (if part of the Europractice scheme), contact them and they should be able to help.

    I'd sooner make sure you have the access process set up for future reference...

    Kind 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