Home > Community > Forums > Custom IC SKILL > Update P-Cell calculations

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Update P-Cell calculations 

Last post Wed, Aug 26 2009 3:00 AM by Andrew Beckett. 5 replies.
Started by rodneyc76 23 Aug 2009 10:24 PM. Topic has 5 replies and 2832 views
Page 1 of 1 (6 items)
Sort Posts:
  • Sun, Aug 23 2009 10:24 PM

    • rodneyc76
    • Not Ranked
    • Joined on Mon, Aug 24 2009
    • Posts 2
    • Points 55
    Update P-Cell calculations Reply

    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

     

     

    Filed under:
    • Post Points: 35
  • Mon, Aug 24 2009 7:32 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,569
    • Points 15,600
    Re: Update P-Cell calculations Reply

    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.

    Filed under: ,
    • Post Points: 20
  • Mon, Aug 24 2009 4:16 PM

    • rodneyc76
    • Not Ranked
    • Joined on Mon, Aug 24 2009
    • Posts 2
    • Points 55
    Re: Update P-Cell calculations Reply

     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.

    • Post Points: 20
  • Mon, Aug 24 2009 8:55 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,569
    • Points 15,600
    Re: Update P-Cell calculations Reply

    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.

    • Post Points: 20
  • Wed, Aug 26 2009 3:00 AM

    Re: Update P-Cell calculations Reply
    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
    • Post Points: 5
  • Wed, Aug 26 2009 3:00 AM

    Re: Update P-Cell calculations Reply
    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
    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by rodneyc76 at 23 Aug 2009 10:24 PM. Topic has 5 replies.