vim syntax highlighting file for Verilog, Systemverilog and UVM


About This File

 This file, when sourced via your .vimrc file, highlights the HDL (Verilog, SystemVerilog) and Methodology layer (UVM) keywords in the vim editor. 





User Feedback

have you tried doing this in your global .vimrc file?? If not add this line in ~/.vimrc file and check .

 

>>au BufNewFile,BufRead *.sv,*.svh,*.vh,*.v so ~/.vim/syntax/verilog_systemverilog.vim

Hongnhattl likes this

Share this comment


Link to comment

Hi,

 

I am unable to get this working. Below are the setps I did:

1) downloaded the file and copied it to : ~/.vim/syntax/verilog_systemverilog.vim

 2) added the following in .gvimrc ->  au BufNewFile,BufRead *.sv,*.svh,*.vh,*.v so ~/.vim/syntax/verilog_systemverilog.vim

 

Is there anything else i need to do?

The comments int he file say , It Requires $VIMRUNTIME/syntax/verilog.vim to exist.

How do I set the variable and what should verilog.vim contain?

 

Thanks

Mstones likes this

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now