Friday, December 18, 2009

Re: To print module's name

Am 18.12.2009 15:51, schrieb Bu Rak:
> While browsing in verilog or vhdl code, there is a need to get which
> "module" or "entity" (these are the required keywords) the line is.
>
> My solution is maybe writing a function and map a key to call this function.
>
> Any example code for the function would be very well...

> The case is
> --------------------------------------
> module aaa
> ...
> <the cursor here somewhere>
> ...
> endmodule
> --------------------------------------
> Just press a key (or key combination) to get (or print) aaa

map command in vim to match module/instance names in verilog
(from Jan 2009)

http://groups.google.de/group/vim_use/browse_thread/thread/cb8428efdb5b550b/574000345d69f35?q=#0574000345d69f35

--
Andy

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: