I have a set of parmetric sweep results generated through spectre simulation . These file names are of the format
I am trying to read the file through Ocean and perform some analysis on data generated. My ocean script looks like following:
; The above sets the results directory to the psf folder. All parametric sweep results are dumped there.
selectResult('tran)clip_v1p=clip(v("/V1P" ?result "sweepb2_1-000_sweepb1_1-000_sweepb0_1-001_tran-tran") 010e-09 28e-09)
On executing the script i get following error message
The output '/V1P' you selected does not exist. Type outputs() to see the list of available outputs or type help('v) for more information on the 'v' command.
However when I execute outputs() I get the netname in the list.
What am I doing wrong ?
I can read single spectre simulation data through ocean but Can I read parametric sweep spectre simulation data through ocean ?
Thanks & regards
I am not an expert, but my experience with accessing parametric results suggest that you need to use the value attribute to access the results for a specific sweep. I am not aware that you can change the name of the transient results to correspond to a specific analysis.
In other words, in my experience, the output file containing the analysis is still called tran.trn, (i.e., ?results "tran-tran"), but the family of waveforms is accessed and the value function is used to select the specific analysis within the family of waveforms.
Perhaps this example will help...
If my parametric wave isVLOAD waveformobject-------------------------------0 w10.1 w20.5 w3
Here are 2 potential expressions :val1 = value(i("/IB25_0/PLUS" ?resultsDir "./spectre/101508_css_ss_bc" ?result "ac-ac") "VLOAD" 0.5)val2 = value(i("/IB25_0/PLUS" ?resultsDir "./spectre/101508_css_ss_bc" ?result "ac-ac") 0.5)val1 will return the waveform object corresponding to VLOAD=0.5 ie w3.val2 will return a new waveform as given below :VLOAD waveformobject-------------------------------0 value( w1 0.5 )0.1 value( w2 0.5 )0.5 value( w3 0.5 )The famValue function can also be used in this case ie :ib25_0 = famValue( ib25_0f VLOAD)
Does this help?