;; This script. exports PLL's tran simulation result
;; specifically, VCO's oscillation output for postprocessing in
Matlab;; Usage A: under Unix comm
and line mode
;; ocean -nograph
;; load("exportPLLtran.ocn")
;; Usage B: under CIW command line mode
;; load("exportPLLtran.con")
;; Author: vikinglan
;; Date: 2009.5.10
;; open the simulation result in "Dir"
openResults("/home/vikinglan/pll_tsmc013/simulation/Rvco_v1/spectre/schematic-save/psf")
;; point out which result to process
selectResult('tran)
;; export result to a txt file
ocnPrint(?output "./VCO_clk.txt" ?precision 10 ?numberNotation 'none ?from 5n ?to 10n ?step 20p v("/VCO_clk"))
exit()