DZC
Full Member level 2
I'm trying the script from cedence application note as follows:
"
out = outfile("./paramResults.out" "w") ; name the output file and open it for write access
run() ; run the file
results() ; open up the results
selectResults(`tran) ; Select the transient results
outputs() ; View the outputs
;Below, voltage measurements of VOUT_tran node are found at time points 0 to
;50 msec by increments of 1 msec.
for(tt 1 51
time = tt*0.001 - 1*0.001
fprintf(out "%5.3f " time) ; Print the time stamp
fprintf(out "%1.6e \n" value(VT("/VOUT_tran"),time)) ; Print the voltage associate with the time
stamp
)
close(out)
"
But got a empty file"paramResults.out",and two warnnings.
Spectre seems create output file of unknown data type...
*Error* fprintf/sprintf: format spec. incompatible with data - nil
*Error* parser: terminated by signal while reading input
Any suggestions,plz ??Thanks.
"
out = outfile("./paramResults.out" "w") ; name the output file and open it for write access
run() ; run the file
results() ; open up the results
selectResults(`tran) ; Select the transient results
outputs() ; View the outputs
;Below, voltage measurements of VOUT_tran node are found at time points 0 to
;50 msec by increments of 1 msec.
for(tt 1 51
time = tt*0.001 - 1*0.001
fprintf(out "%5.3f " time) ; Print the time stamp
fprintf(out "%1.6e \n" value(VT("/VOUT_tran"),time)) ; Print the voltage associate with the time
stamp
)
close(out)
"
But got a empty file"paramResults.out",and two warnnings.
Spectre seems create output file of unknown data type...
*Error* fprintf/sprintf: format spec. incompatible with data - nil
*Error* parser: terminated by signal while reading input
Any suggestions,plz ??Thanks.