Andrew Beckett
Senior Fellow
Offline
Life, don't talk to me about Life...
Posts: 1742
Bracknell, UK
|
Actually, spectre should save the value of any real variable in the module as an operating point parameter. If you don't want it to save all of them, you can define the variable as (say):
(* desc="Vds" *) real vds;
If you have variables with the desc attribute, then only those will be saved. In the absence of any variables with the desc attribute, they'll all get saved. This is a feature which is coming from the support of the compact_module attribute (search in cdnshelp for more information), although it doesn't require you to declare your module as a compact_module for the desc attribute to have an effect.
Then to annotate them, you'll need to update the CDF of the block to specify which operating point parameters to annotate by default. If using IC61, you'd edit the CDF (via Tools->CDF->Edit), pick the lib and cell and "Base" for CDF Layer, and then go to the Interpreted Labels tab. Change the "Use cdsParam to display" to "Operating Point Results" and then in the Parameter table on the right side, add the names of your operating point parameters (the real variables; it's the variable names themselves rather than what you called them in any desc attribute). You can set it back to display Instance/CDF Parameters afterwards - this is just to record which parameters you want displayed by default.
Of course, your symbol will need as many cdsParam(N) ILLabel labels (with N being a number corresponding to the position in the list of parameters) as you have opPoints to display.
Hope that helps!
Kind Regards,
Andrew.
|