我可以找到几个与谷歌v2k完整语法 - 但要么我失去了我的想法,或者他们都以同样的方式关于港口声明破碎。 例输入:寻找verilog 2001模块声明语法
module foo (
input x,
output [2:0] y);
endmodule;
我无法找到一个语法,将解析语法,但他们会接受这样的事情 作为list_of_port一个“口”:
{ name[3:0], name2[2:0]}
.. or .. .name(othername)
即我期望在模块实例化端口绑定的语法中看到的东西被提供给模块端口声明。
例子
http://www.externsoft.ch/download/verilog.html#module_declaration
http://www.syncad.com/VeriLogger_bnf_Syntax_Verilog_2001.htm#list_of_ports
我想我可以看看伊卡洛斯源,或Perl :: Verilog的。尽管如此,我希望得到上述语法已被破解的确认 - 或者如果没有人能指出我错过了什么。一个正确的语法源将是伟大的...