Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by py

  1. py

    Conversion program

    Here is Mikes solution to the problem which works really well.<br> <br> #!/usr/bin/perl<br> while(&lt;&gt;){<br> if(/^\s*output\s+(.*);\s*$/){<br> print &quot;$1\t: out std_ulogic;\n&quot;;<br> }<br> if(/^\s*input.+(..):(..)]\s*(.*);\s*$/){<br> print &quot;$3\t...
  2. py

    Conversion program

    Sorry ,looking at it now that example is awfull. The following is an example of what I need to convert.<br> This=&gt; input [31:24] rgf_bd_addr;<br> input rsm_vld_bit;<br> output r_data; <br> <br> To This=&gt; rgf_bd_addr : in...
  3. py

    Conversion program

    Hi,<br> I am currently writing a program to convert Verilog to VHDL using perl. Does anyone know how to get perl to pull certain words out of a string.<br> EG.<br> std_ulogic anyword [31:24;;<br> <br> I need to pull anyword from the string and write it to a file.<br> Any help would be greatly...

Part and Inventory Search

Back
Top