perlquestion
sumathigokul
<p>
Hi all, i have a text file contains following lines...
<code>
2 INT_NET Net : c_c
2 INT_NET Net : b_c
2 INT_NET Net : a_c
</code>
Here, i want to extract string next to colon ':' i.e c_c, b_c and a_c and save them in another text file. How to print next to pattern matching?
</p>
<p>
I also want your comments on my approach of this problem. I have two files, one is .vhd file (which contains nets names as a_c, b_c and c_c)and another is designer.log file which lists high fanout nets of the design. i have to extract these high fanout nets from designer.log file and accordingly i have to modify those nets in .vhd file.
For this problem, i wrote perl script which extract high fanout nets with its corresponding statements also as shown above. From this statements i want to extract those nets name alone??
</p>
<p>
Thank you all.
</p>