Abdo_Mgdy
Newbie level 6
I need to develop bash shell script extracting capacitance values of nets from post pnr spf file and put them in a column vector.
The spf file is like following:
I need to capture only the value after net name, i.e. first value after "*|NET". How can I do it??
The spf file is like following:
Code - [expand] 1 2 3 4 5 6 7 8 9 10 11 *|NET top33_dft_1/top33_orig_1/rf0_1/n503 0.008406PF *|I (top33_dft_1/top33_orig_1/rf0_1/U924:A1 *+ top33_dft_1/top33_orig_1/rf0_1/U924 A1 I 0.002625PF 184.520 304.920) *|I (top33_dft_1/top33_orig_1/rf0_1/U918:A2 *+ top33_dft_1/top33_orig_1/rf0_1/U918 A2 I 0.002814PF 189.000 289.240) .... *|NET top33_dft_1/top33_orig_1/wradd_hold/FE_OFN38_smc18_rf_wradd_hold_1_ *+ 0.000132PF *|I (top33_dft_1/top33_orig_1/wradd_hold/FE_OFC37_smc18_rf_wradd_hold_1_:ZN *+ top33_dft_1/top33_orig_1/wradd_hold/FE_OFC37_smc18_rf_wradd_hold_1_ ZN ....
I need to capture only the value after net name, i.e. first value after "*|NET". How can I do it??