Choosing Perl/Python for my particular niche

Paul McGuire ptmcg at austin.stopthespam_rr.com
Sat Mar 27 08:26:45 EST 2004


"Fred Ma" <fma at doe.carleton.ca> wrote in message
news:40652B0D.7C313F77 at doe.carleton.ca...
<snip>
> One thing I expect to have to do is to modify design
> files.  For example, there is a tool which takes ASCII
> hardware desscription language (HDL) and converts it
> to a C++ (augmented by hardware simulation library).
> The translator is freeware, so has limitations which I
> have to make up for by tweaking the HDL code.

If you eventually find yourself in the Python realm, please look into the
pyparsing text parsing module, more information at
http://pyparsing.sourceforge.net/.  I have implemented an easily-extended
99% Verilog parser using this module, and it may provide some shortcuts for
you in dealing with your HDL files.

-- Paul McGuire





More information about the Python-list mailing list