Ⅰ. 插件描述
utility for verilog instance generationⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/vlog-inst-gen'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/vlog-inst-gen'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/vlog-inst-gen'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vlog_inst_gen
Ⅳ. 文档说明
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 in this script "let g:vlog_inst_gen_mode=x", x is the default working mode; or you can add "let g:vlog_inst_gen_mode=x" to your _vimrc or .vimrc file.
User defined command:
VlogInstGen : generate verilog instance
VlogInstMod : change working mode
Default hot-keys:
,ig : VlogInstGen
,im : VlogInstMod
Contact:
mingforregister@163.com