SALT

Documentation
Source

YAML include/exclude globs, enablement, severity, and rule-specific options.

Configure file discovery and rule policy

salt.yaml

include:
  - "**/*.sv"
  - "**/*.svh"
exclude:
  - "**/build/**"
  - "**/sim/**"

rules:
  no_tabs:
    enabled: true
  max_line_length:
    enabled: true
    max: 100
    severity: warning
  module_name:
    enabled: true
    pattern: "^[a-z][a-z0-9_]*$"

Built-in defaults

Without --config, SALT searches **/*.sv and **/*.svh while excluding build and sim directories. Core style, naming, end-tag, RTL, and UVM rules are enabled with their built-in settings.

Configuration merges by rule name

A configured rule starts with its default options, then applies YAML overrides. New rule names can also be configured. severity accepts only error, warning, or info; invalid values stop configuration loading.

Naming patterns are team policy

RuleDefault pattern
module_name lowercase letter followed by lowercase letters, digits, or underscore
interface_name lowercase identifier ending in _if
package_name lowercase identifier ending in _pkg
class_name lowercase identifier