Gvim syntax file for SystemVerilog & AVM can be downloaded from the following link: http://www.sibridgetech.com/download/systemverilog_avm.zip
For gvim (portable) installed on windows, the following steps need to be followed:
1. The unzipped file needs to saved in ...\GVimPortable\App\vim\vim71\syntax directory.
2. Then, edit the file ..\GVimPortable\App\vim\vim71\filetype.vim to add the following lines (search line containing "verilog" in the file and insert the below lines beneath it):
" System Verilog
au BufNewFile,BufRead *.sv,*.svh setf systemverilog_avm
3. Close and open any systemverilog file having .sv and/or .svh extension.
No comments:
Post a Comment