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"?
Rodney ChandlerPh.D. CandidateElectrical Engineering, University of California, Los Angeles
There is a solution for this on the Cadence online support website: Solution 11018344
Hopefully this answers your question completely.
In reply to skillUser:
I'm using the skill code from
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.
In reply to rodneyc76:
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.