Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4908

Printing all DC operating points of all devices

$
0
0

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 


Viewing all articles
Browse latest Browse all 4908

Trending Articles



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