Reputation: 31
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
Reputation: 6978
You can read all about it here. Despite the name, it supports SystemVerilog as well.
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