An explanation of the problem I am facing is in order -
I have created a schematic pcell (A) in which I am instantiating the instance of a foundry delivered pcell (B). There are some independent (e.g. Bp, Bq ) and some dependent CDF parameters (e.g. Bx) defined for the CDF of the pcell B.
So, Bx = FB_callback(Bp Bq)
Bx is calculated whenever I change Bp or Bq, using a call back function which I have absolutely no access to.
I have created 2 independent CDF parameters for A (which is the pcell I created) - Ap and Aq. In the code for my schematic pcell I pass these values Ap and Aq to Bp and Bq respectively. Something like this -
master_b = dbOpenCellViewByType( "foundry_library" "foundry_cell_B" "symbol" )inst_b = dbCreateInst( pcCellView master_b "I_B" list( 0.0 0.0 ) "R0")inst_b~>Bp = Apinst_b~>Bq = Aq
However, after this when I print out the inst_b~>Bx then I see that it is not getting changed and is always the default.
How do I make sure that the callback routine for the foudry cell gets called? Also how do I pass the new value of Bx back into my pcell's CDF Ax?
"gtotcap" is a cdf parameter that I defined for my schematic pcell and I want it to assign a value of "ctotal" which is actually a cdf parameter of the foundry delivered pcell that i am instantiating in my schematic pcell