• 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. Update P-Cell calculations

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 13927
  • 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

Update P-Cell calculations

rodneyc76
rodneyc76 over 16 years ago

Hi,

 

I'm trying to write a skill script to update pcell parameters for a schematic, and then run a simulation.

 

With help of forums so far, I've been able to get to updating the parameter width parameter:

cv = dbOpenCellViewByType("afe" "amplifer2" "schematic" "" "a")
inst=dbFindAnyInstByName(cv "M5")
inst->w="34u"
schCheck(cv)
dbSave(cv)
dbClose(cv)
 

 However, is there a way to force the instance to execute its pcell callback to update all the other parameters than depend on "w"?

 

Thanks!

 

Rodney

--

Rodney Chandler
Ph.D. Candidate
Electrical Engineering, University of California, Los Angeles

 

 

  • Cancel
  • skillUser
    skillUser over 16 years ago

    Hi Rodney,

    There is a solution for this on the Cadence online support website: Solution 11018344

    Hopefully this answers your question completely.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rodneyc76
    rodneyc76 over 16 years ago

     Hi Lawrence,

     I'm using the skill code from 

    http://groups.google.com/group/comp.cad.cadence/msg/4dae4e6c08b6278d?&q=trigger+callback

     I should have the sourceLink solutions after our sys admin can log in and grab them, but your post pointed me in the right direction, and its working perfectly.

    Thanks for the quick reply.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 16 years ago

    Hi Rodney,

    I am glad to hear that it is working. (Good job Andrew, it is still one of the most useful and frequently used bits of code I've seen)

    Yes, that is essentially the same solution though Andrew has updated it so the Solution date appears to be older, however there is a little more commentary in the Solution, so it is good to read both I think.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago
    Hi Rodney,

    I assume you mean CDF callbacks, as there aren't such things as pcell callbacks. Look at sourcelink solution number 11018344 - it gives SKILL code to do precisely this.

    Best Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago
    I'll check the solution and update it to the latest version of the code. Any difference is likely to be minor though.

    Cheers,

    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