Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62947

Forum Post: RE: Accessing power results from transient analysis in spectremdl

$
0
0
Hello. Thank you for your reply. I seem to be able to use this workaround, meanwhile I have asked my admin to file a change request. I have another problem right here though. I define my measurement alias exactly as you have, but the log files tell me that the rise time is not found. Here is exactly how I define my measurement alisas: ``` alias measurement trans { // definition of transient analysis with autostop turned on run tran( stop=1u, autostop='yes ) // computation of risetime for signal V(out) from 10% to 90% export real rise=risetime(sig=V(OUT), initval=0.0, inittype='y, finalval=0.35, finaltype='y, theta1=10, theta2=90) //computation of falltime for signal V(out) from 90% to 10% export real fall=falltime(sig=V(OUT), initval=0.35, inittype='y, finalval=0.0, finaltype='y, theta1=90, theta2=10) export real max_pwr = max(abs(I2.NM0:pwr)) } ``` This is what my input.measure file tells me: ``` Exported variables from results directory: ././input.raw/ date : 8:26:43 PM, Mon Nov 29, 2021 design : // Generated for: spectre simulator : spectre version : 19.1.0.396.isr8 Measurement Name : trans Analysis Type : tran fall = 1.30558e-07 max_pwr = 4.22013e-08 rise = NaN Swept Measurements : Measurement Name : trans-meas_optimize Analysis Type : tran fall WP @ 1e-07 WN @ 1.03162e-07 = 1.30742e-07 max_pwr WP @ 1e-07 WN @ 1.03162e-07 = 4.218e-08 rise WP @ 1e-07 WN @ 1.03162e-07 = NaN ``` This is how my test bench is being created, part of the spectre netlist that goes as an input to spectremdl: ``` // View name: schematic I2 (0 IN OUT net7) char V0 (IN 0) vsource dc=0 type=pulse val0=0 val1=350m period=100n delay=0 \ rise=100p fall=100p C0 (OUT 0) capacitor c=20f V1 (net7 0) vsource dc=350m type=dc simulatorOptions options psfversion="1.4.0" reltol=1e-3 vabstol=1e-6 \ iabstol=1e-12 temp=27 tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 \ maxnotes=5 maxwarns=5 digits=5 cols=80 pivrel=1e-3 \ sensfile="../psf/sens.output" checklimitdest=psf tran tran stop=500n write="spectre.ic" writefinal="spectre.fc" \ annotate=status maxiters=5 finalTimeOP info what=oppoint where=rawfile modelParameter info what=models where=rawfile element info what=inst where=rawfile outputParameter info what=output where=rawfile designParamVals info what=parameters where=rawfile primitives info what=primitives where=rawfile subckts info what=subckts where=rawfile saveOptions options save=all pwr=all ``` I am using SPECTRE 19.1 Can you tell me if I am doing something wrong? Thanks in advance!

Viewing all articles
Browse latest Browse all 62947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>