Is there a free verilog parser available?
Yes. There are two known public domain parsers. ftp.siliconlogic.com:/pub/comp.lang.verilog/hdl.y.Z This one was donated by Frank Bennett (fwb@hpfcso.FC.HP.COM). Here’s what Frank had to say about it: hdl.y below is a verilog parser written using the Unix utility – yacc. It by no means is a complete verilog parser. This only represents a few nights of effort in front of the ole PC. This is donated in the hope that this will enable additional work by individuals interested in learning verilog & yacc. ftp.siliconlogic.com:/pub/comp.lang.verilog/verilog_parser.tar.Z The second is from Michael A. Riepe (riepe@eecs.umich.edu). Here’s what he had to say about it: I ran across a verilog-HDL parser authored by stcheng@ic.berkeley.edu. It is available by anonymous FTP from ic.berkeley.edu in directory /pub/stcheng/vl2mv.tar.Z. It is part of a verilog->bliff translator. It comes complete with a wrapper for the translator, and contains the parser and code to build the parse tree. One of the handi