You must have ruby
, gem
, and git
installed before executing the following
instructions.
- git clone https://github.com/darkwind-mt/vhdl\_parser.git
- cd vhdl_parser
- gem build vhdl_parser.gemspec
- gem install vhdl_parser-*.gem
If you are using vundle
, you can install the software with the following
command in your .vimrc
Bundle 'https://github.com/darkwind-mt/vhdl_vim.git'
You must also list a configuation line that specifies the location of the the
vhdl\_parser
gem:
let g:vhdl\_parser\_parse\_dir = 'C:/Ruby192/lib/ruby/gems/1.9.1/gems/vhdl\_parser-0.3/lib/'
The following commands are available in insert
and normal
modes:
<Leader>vy
- In the current VHDL file copy the file location to the@v
register for usage with the paste commands.<Leader>vs
- Paste signals that correspond to the first entity in the@v
file
The follwoing commands are available in insert
and normal
modes:
<Leader>vy
- In the current VHDL file copy the file location to the@v
register for usage with the paste commands.<Leader>vs
- Paste signals that correspond to the first entity in the@v
file.<Leader>vc
- Paste component that corresponds to the first entity in the@v
file.<Leader>vc
- Paste instantiation that corresponds to the first entity in the@v
file.
If you don't like the formatting, you can always execute the gg=G
command to
reformat your entire file.