I added a CDF to device pfet called vb which is calculated by callback of l and w. vb default value = 0
The pfet that were already instantiated have vb set to 0 independent of l and w value.
How do I force the instantiated instance to calculate vb based on l & w automatically?
I have a way to trigger the callback of l or w to fix correct the vb value but I prefer not to edit the existing schematics.
vb info :
Default Value : 0
Store Default : yes
Parse as CEL : yes
Editable Condition : nil
Parse as Number : yes
Units : don't use
Is the parameter going to just be used in a model? Could you create your model as a subckt model and compute vb in the subckt itself?
Otherwise I think you'll probably need to trigger the callbacks - not sure what else you could do.
Overall, I don't know that the intention of this vb parameter is - if you'd explained that (does it need to be displayed to the user, or is it just for simulation purposes) then perhaps I could suggest an alternative.