Quantcast
Viewing all articles
Browse latest Browse all 33813

RE: Parameters Sweep in ADE-XL results in "netl err"

The CCR that was filed for you was related to sweeping parameters on pcells which affect the structure of the underlying schematic pcell. If you have a schematic pcell, then each pcell parameter produces a different subckt in the netlist - this is for parameters that affect the connectivity - so for a resistor, it might be the number of segments in a series connected resistor. Other parameters might just get passed into the subckt and not affect the connectivity - and hence may work fine. Because ADE creates the netlist once and then changes the parameter values for each point in the sweep, anything that requires a new subckt to be generated won't work - that's what the CCR is related to. Presumably you're not trying to sweep any parameter that requires it to netlist a different subckt - if you were, it wouldn't work. In your case it was failing because the CDF callback gets called for each point in the sweep, and it looks as if the CDF callback needs some additional data to be initialised in the formInitProc - this is something that normally gets called when you bring up the edit properties form on the component, and then the callbacks get called as each parameter is changed. The callback mechanism in ADE XL doesn't call the formInitProc, and so the code I provided is a special trigger that is called before the callback, and I've defined it so that it checks to see if there's a formInitProc and if so, it invokes it - hence providing the initialisation that was otherwise missing. Hope that helps. Regards, Andrew.Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 33813

Trending Articles