Menu:

Latest news:

चिंटू वापस हाजिर ...
Sun May 16 2010

सकाळने esakal.com ह्या संकेतस्थळाचे स्वरुप बदललेले आहे.


Read More...

Categories


मराठी लेखन

General

News

Personal

Technical

Travelogues

Archives


August, 2007

July, 2007

VIM syntax for SystemVerilog

Jul 13, 2007 by aditya
Vim is a highly configurable text editor built to enable efficient text editing.
It is an improved version of the vi editor distributed with most UNIX systems. Vim is distributed free as charityware
The official vim site is here.
This syntax file can be found here
The VBA package for syntax file can be found here

Description
IEEE 1800 SystemVerilog is the industry's first unified hardware description and verification language (HDVL) standard. SystemVerilog is a major extension of the established IEEE 1364 Verilog language.

Install details
Step 1: Drop the file in ~/.vim/syntax (if the directory does not exist then create it)
Note: If you are using vim 7.0 or better, you can source sv.vba to auto-magically install it regardless of which-ever flavor of
operating system you are using VIM on!!

vim sv.vba
and followed by

:source %

Step 2: Append following lines in ~/.vim/filetype.vim

if exists("did_load_filetypes")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile *.sv setfiletype SV
au! BufRead,BufNewFile *.svi setfiletype SV
augroup END

happy vimming!!
Filed Under Technical

Comments

Jul 16, 2007, 03:16:15 Visitor565 wrote:

I have visited your site 241-times

Add Comment

Note: All comments are moderated.
This item is closed, it's not possible to add new comments to it or to vote on it