Hi
I need to sweep the impedance of an analogLib port component including both resistance and the reactance parameters. To do this a little complex math is required to calculate R and X including functions real(),imag() and complex().
When i attempt to use complex() in a global variable assignment I get a sim err and the spectre.out shows "Cannot run the simulation because the expression of the parameter `j': Function `complex' is not defined. Update the netlist to define the function."
The expressions i'm using to calculate R and X work fine if I type them into the CIW. Is there a way to make complex() work in a global variable assignment?
It sure would be convenient to handle this with the Assembler global variables block on the gui but I'm starting to suspect I'll need to define my functions in an included .scs file.
Using IC6.1.8-64b.500.23
Regards,
Brad