简体   繁体   English

如何为系统verilog生成ctags?

[英]How to generate ctags for system verilog?

I want to generate tags file for system verilog. 我想为系统verilog生成tags文件。

I found this really helpful link , and I was able to generate UVM tags file. 我发现这个链接非常有用,我能够生成UVM标签文件。

But my question is about SV. 但我的问题是关于SV。 Since there is no separate sv files, the language is build into the compiler itself, how do i go about creating tags file for that? 由于没有单独的sv文件,语言是构建到编译器本身的,我如何为此创建标记文件?

Thanks in advance. 提前致谢。

For improved support of SystemVerilog you can try Universal Ctags , where the Verilog parser was improved to also support SystemVerilog. 为了改进对SystemVerilog的支持,您可以尝试使用Universal Ctags ,其中Verilog解析器已得到改进,也支持SystemVerilog。

I also suggest that you use this Verilog/SystemVerilog Vim Plugin that also includes some basic omni-completion. 我还建议您使用此Verilog / SystemVerilog Vim插件 ,其中还包括一些基本的全向完成。

Disclaimer: most of this is my work. 免责声明:大部分是我的工作。 Your mileage may vary, but feel free to report issues and ask for improvements. 您的里程可能会有所不同,但随时可以报告问题并要求改进。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM