Friday, April 13, 2012

Verilog-Mode Emacs

http://www.veripool.org/papers/verilog-mode_veritedium_snug.pdf


Reduce spins on fixing lint or compiler warnings
ƒ Reduce sensitivity problems
- If you forget (or don’t have) a linter, these are horrible to debug!
ƒ Make it easier to name signals consistently
through the hierarchy
- Reduce cut & paste errors on multiple instantiations.
- Make it more obvious what a signal does.
ƒ Reducing the number of lines is goodness alone.
- Less code to "look" at.
- Less time typing.


This expansion is best if in the editor
• You can “see” the expansion and edit as needed
ƒ There is a Verilog package for Emacs
• Written by Michael McNamara <mac@versity.com>
• Auto highlighting of keywords
• Standardized indentation
ƒ Expanded it to read & expand /*AUTOs*/
• Magic key sequence for expand/deexpand

C-c C-a  and C-c C-d

With this key sequence,
Verilog-Mode parses the verilog code, and
expands the text after any /*AUTO*/ comments.




No comments:

Post a Comment