Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

format output the captab

$
0
0

 Hi all,

    for some limitation in IC5141, i can't print the capacitance captab out perfectly, so i specifiy a file where the cadence can save all the node capacitance.  the file content looks like belowing:


************************************
Capacitance Table `tran-000_capInfo'
************************************
Capacitance values computed in Tran analysis `tran' at time = 1 ms (T = 27 C).

MCOLUMNAMP:int_d : MCOLUMNAMP:int_d     fixed=106.999 a    variable=2.72777 f  
        sum=2.83477 f   

MCOLUMNAMP:int_s : MCOLUMNAMP:int_s     fixed=106.999 a    variable=2.71843 f  
        sum=2.82542 f   

net7 : net7     fixed=245.898 a    variable=1.41725 f    sum=1.66315 f   

net11 : net11   fixed=245.898 a    variable=516.947 a    sum=762.845 a   

net15 : net15   fixed=245.898 a    variable=462.625 a    sum=708.523 a   

Vout : Vout     fixed=151.313 f    variable=2.72601 f    sum=154.039 f   

vdd! : vdd!     fixed=0            variable=0            sum=0           

Pixel1.MFOLLOWER:int_d : Pixel1.MFOLLOWER:int_d fixed=222.216 a   
        variable=2.44684 f    sum=2.66906 f   

Pixel1.MFOLLOWER:int_s : Pixel1.MFOLLOWER:int_s fixed=222.216 a   
        variable=2.75089 f    sum=2.97311 f   

Pixel1.MRESET:int_d : Pixel1.MRESET:int_d       fixed=106.999 a   
        variable=1.48203 f    sum=1.58903 f   

Pixel1.MRESET:int_s : Pixel1.MRESET:int_s       fixed=106.999 a   
        variable=1.58627 f    sum=1.69327 f   

Pixel1.MSELECT:int_d : Pixel1.MSELECT:int_d     fixed=106.999 a   
        variable=935.721 a    sum=1.04272 f   

Pixel1.MSELECT:int_s : Pixel1.MSELECT:int_s     fixed=106.999 a   
        variable=1.57613 f    sum=1.68313 f   

Pixel1.net8 : Pixel1.net8       fixed=31.9 a       variable=5.45466 f   
        sum=5.48656 f   

Pixel1.net18 : Pixel1.net18     fixed=508.232 a    variable=63.5291 f   
        sum=64.0374 f   

 

 there are too much infomation,  i tried to extracted only the Vout node capacitance, i used a script as "grep "Vout" capinfo.txt >Voutnodecap" , and in the Voutnodecap , the results show like following:

Vout : Vout     fixed=151.313 f    variable=2.72601 f    sum=154.039 f   
Vout : Vout     fixed=151.313 f    variable=2.74593 f    sum=154.059 f   
Vout : Vout     fixed=151.313 f    variable=2.79785 f    sum=154.111 f   
Vout : Vout     fixed=151.313 f    variable=3.24377 f    sum=154.557 f   
Vout : Vout     fixed=151.313 f    variable=3.24482 f    sum=154.558 f   
Vout : Vout     fixed=151.313 f    variable=3.24652 f    sum=154.559 f   
Vout : Vout     fixed=151.313 f    variable=2.85435 f    sum=154.167 f   
Vout : Vout     fixed=151.313 f    variable=2.85957 f    sum=154.172 f   
Vout : Vout     fixed=151.313 f    variable=2.87133 f    sum=154.184 f   
Vout : Vout     fixed=151.313 f    variable=2.86097 f    sum=154.174 f


it looks fine now, but the above Vout capacitance is extracted from different time points, such as timePoints=[1m 3m 6m 6.5m 7m 8m 10m 11m 20m 30m]
so what i want to know now is how to arrange the above data into a file like the followings automatically:

1m  154.039 f

3m  154.059 f

6m  154.111 f

..       ...

do you have some experience? no matter which function you used, skill or shell script is ok.


Viewing all articles
Browse latest Browse all 5066

Trending Articles



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