Verissimo SystemVerilog Testbench Linter User Guide
Rev. 24.1.12, 12 June 2024

12.1 Command Line

To perform auto-correct from the command line, you must add the '-autocorrect' argument to your existing command.

To specify which rules to auto-correct, you can either add the autocorrect="on" attribute in your ruleset file to the corresponding rules or add the '-autocorrect_rule RuleName' argument to your command. You can specify multiple '-autocorrect_rule' arguments in a single invocation (e.g. -autocorrect_rule RuleName1 -autocorrect_rule RuleName2). When both methods are used, the rules for which the auto-correct will be performed will be those specified by either of them.

By default, the auto-correct will modify the original files. If you would like to keep the files unmodified, you can generate a copy of the auto-corrected files with the '-autocorrect_generate_modified_files' argument. This will generate a verissimo_autocorrect directory in the current working directory. You can specify the location of this directory with the '-autocorrect_files_location' argument.