• 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. Can a pcell invoke an Ocean script?

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 12974
  • 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

Can a pcell invoke an Ocean script?

Mohellayali82
Mohellayali82 over 14 years ago

dear all

 

i have a question regarding the feasability of what i want to do with pcells

so i want to cretae a pcell called inverter, and the parameter i pass to it would be a "gm" (the transconductance of the inverter)

so once the user introduce the gm he wants, the pcell invoke then an ocean script which calculates the width of the pmos and the nmos and the number of finger to meet this gm and then return the 3 parameters wn wp nfing

 

so far i am able to create an inverter pcell starting fron the wn wp nfing, but i want to automate the step gm--> (wn, wp, nfing)

do you think its possible, can soembody give a hint about this

 

many thanks in advance 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    In theory this would be possible (particularly if it's a schematic pcell) provided you only ever wanted to open it within Virtuoso (external applications such as stream out or ITKDB apps wouldn't work because you'd be using functions that are not legal in pcells, because they are not guaranteed to work).

    However, it is really not a good idea. pcells should evaluate reasonably quickly - if you're suggesting that you run a simulation (or more than one) and then compute the dimensions based on the results of simulation, it's not going to be quick. Remember that this would get re-triggered any time you change a parameter on the instance, or indeed any time you reopen the instance in a new virtuoso session.

    It would be better to use some kind of optimisation approach (e.g. ADE GXL in IC61) to size the dimensions appropriately based on simulation, and then this would harden the design. I see no benefit in having to repeatedly re-simulate the design (and in fact there would be danger that the design changes over time due to (for example) changes in the model files).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Mohellayali82
    Mohellayali82 over 14 years ago

    Thank you Andrew, i will investigate what you told me

     

    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