Forum: FPGA, VHDL & Verilog Vim plugin for verilog instance generation, highly recommended!

Author: ming zhang (Company: none) (zhangwenming)
Posted on:

Rate this post
0 useful
not useful
This script is used for automatically generating verilog instance from 
the file. When you type the given hot-key, instance will be copied to 
system clipboard, and display or not by  its working mode. Once your 
file can access syntax check, this plunin will work, or there must be a 
bug. It's encouraged to share it with me and all other people.

Supported working mode:
    mode 0(default):
        copy inst to clipboard and echo inst in commandline
    mode 1:
        only copy to clipboard
    mode 2:
        copy to clipboard and echo inst in split window
    mode 3:
        copy to clipboard and update inst_comment to file

  To change the default working mode, you should modify the line "let 
g:vlog_inst_gen_mode=x", x is the default working mode.

User defined command:
        VlogInstGen : generate verilog instance
        VlogInstMod : change working mode
Default hot-keys:
        ,ig         : VlogInstGen
        ,im        : VlogInstMod

Newest version from:


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.