我想语法是野牛文件https://github.com/steveicarus/iverilog/blob/master/vvp/parse.y
(带有词法分析器https://github.com/steveicarus/iverilog/blob/master/vvp/lexor.lex
)。您可以开始在https://github.com/steveicarus/iverilog/blob/master/vvp/compile.cc
.
这些只是基于查看存储库几分钟的猜测。祝你好运。