Maurizio Vitale
Maurizio Vitale

Reputation: 31

indent/pretty-printing utility for System Verilog

Not properly a programming question, but is anybody aware of a open source indent (similar to gnu indent or astyle) capable of indenting System Verilog?

More sophisticated pretty-printing (such as aligning assignments or reformatting source to fit 80 character lines) would be very nice to have, but basic indentation would already be useful.

Upvotes: 2

Views: 3635

Answers (1)

dwikle
dwikle

Reputation: 6978

verilog-mode for Emacs

You can read all about it here. Despite the name, it supports SystemVerilog as well.

Vim syntax files

There are a few Vim syntax files floating around which will add syntax highlighting, as well as indentation to Vim. Search for 'systemverilog vim'.


Both of the above will indent as you edit; if you are specifically looking for a tool to reformat an entire file, take a look at:

Upvotes: 3

Related Questions