我有 doxygen 1.8.5 和 Doxverilog(用于 doxygen 1.7.0)。按照下面引用的说明,我收到消息说之前已经应用了补丁。然后一些 HUNK 失败了。
如果我仍然继续并设置 verilog.cfg,则使用此 cfg 运行 doxygen 会产生
“警告:忽略不支持的标签‘OPTIMIZE_OUTPUT_VERILOG =’在第 35 行,文件 verilog.cfg”然后空白输出。
我用来设置 doxverilog 的说明是:
install the doxygen-1.7.0 sources
1. copy the Verilog files verilogparser.y verlogscanner.l and the source files to the doxygen-1.7.0\src directory
2. copy the patch file verilog.patch to directory doxygen-1.7.0
3. open a shell in the doxygen-1.7.0 directory
3.1 configure doxygen
sh configure
3.2 make patch # patch -p1 < verilog.patch
4 compile the source files
make all
5 If the compilation was successful create a doxygen configuration file with # doxygen -s -g verilog.cfg
In the configuration file you should see the option OPTIMIZE_OUTPUT_VERILOG.
The file patterns for the Verilog parser are *.v and *.V