Hi,
I am a beginner in ocean. I have the following ocean script which reports the source current of transistor M3.
;*****************************
openResults("~/simulation/TEST_OPAMP_POLY_TB/spectre/schematic/psf/")
p=outfile("/home/mt2775_loc/simulation/TEST_OPAMP_POLY_TB/spectre/schematic/netlist/resultsSpectre.txt" "w")
fprintf(p, "Hello World! to make sure it is working\n" )
selectResult('dcOp)
fprintf(p,"%f",i("/I0/M3/S"))
;*****************************
I also know if I use outputs() command, all DC values will be printed out. I need a such command fprintf(p,"%f", outputs()).
The question is that which command can print all DC values into the file (instead of calling function "fprintf" for each one by one like above) ? If I need to use a loop would you please let me for that.
Thank for your help
Mohammad