I wish to run optimization for getting the maximum frequency tuning range of a VCO. This means that i need two frequencies corresponding to Vtune=0 V and Vtune=1.2V. (Vtune is the voltage applied to the varactors)
The optimization should then take the difference of the two frequencies and maximize it based on the parameters given.
To achieve this, i added two tests providing the two frequencies and naming them Freq0 and Freq1 but ADE-GXL does not allow to write an expression including outputs from two different tests.
Is there a way to write an expression like Freq1-Freq0 and then add a specification to maximize it? Please see attached screenshot for reference.
Kind help from the Cadence officials will be appreciated. Any other method which i can do?
What you need is the calcVal() function. You can use calcVal("outName" "testName"). The easiest way is to bring up the calculator, and then drag from the ADE XL output pane - pick the output you wish to reference - and then drag into the calculator input buffer. This will automatically generate the calcVal() expression for you. Then you can have an output on one of the two tests which references the other test; ADE XL/GXL will take care of ensuring that the tests are run in the right order so that it can do the calculation.
In reply to Andrew Beckett:
Thanks Andrew and Firas Barakat who sent a detailed email to answer the question. I am able to combine the two outputs of different tests in one expression.
In reply to hmcheema: