DVT SystemVerilog IDE User Guide
Rev. 24.2.25, 31 October 2024

14.3 Vertical Alignment

When enabled, this option performs vertical alignment.

  • Vertical Alignment Tokens (ro.amiq.vlogdt/format.vertical_align.tokens)

The lines of code inside the same scope are aligned by the specified comma separated list of vertical alignment tokens. Vertical alignment is performed left to right, by the same token. For example assuming '=' and ':' as vertical align tokens: In order to use the comma character ',' as a vertical alignment token, the character must be preceded by the escaping character '\'.

Before After (":" token)
  • Only consecutive lines (ro.amiq.vlogdt/format.vertical_align.consecutive_lines) - When enabled, only consecutive lines are vertically aligned. Two lines are consecutive if they follow each other or are separated by comment lines.

Before After
  • Vertical align single line comments (ro.amiq.vlogdt/format.vertical_align.sl_comments) - When enabled, single line comments are aligned.

Before After
  • Vertical align to open parenthesis (ro.amiq.vlogdt/format.vertical_align.paren) - When enabled, vertical align to open parenthesis.

Before After
  • Vertical align to open curly (ro.amiq.vlogdt/format.vertical_align.curly) - When enabled, vertical align to open curly.

Before After
  • Independent `ifdefs (ro.amiq.vlogdt/format.vertical_align.independent_ifdefs) - When enabled, `ifdefs are independent alignment scopes:

Before After
  • Vertical Align Patterns (ro.amiq.vlogdt/format.vertical_align.vregex) :

By Name Port Connections (VlogByNamePortConnections) - When enabled, this pattern aligns instance port connections by name:

Before After

Class Declarations (VlogClassDeclarationsGroupDimensions) - When enabled, this pattern aligns class parameters while excluding vertical alignment of dimensions:

Before After

Class Declarations (split dimensions) (VlogClassDeclarations) - When enabled, this pattern aligns class parameters while vertically aligning dimensions:

Before After

Class Variable Declarations (VlogClassVariableDeclarationsGroupDimensions) - When enabled, this pattern aligns class variable while excluding vertical alignment of dimensions:

Before After

Class Variable Declarations (split dimensions) (VlogClassVariableDeclarations) - When enabled, this pattern aligns class variables while vertically aligning dimensions:

Before After

`defines (VlogDefines) - When enabled, this pattern aligns `defines:

Before After

Function Declarations (VlogFunctionDeclarationsGroupDimensions) - When enabled, this pattern aligns function and task declarations while excluding vertical alignment of dimensions:

Before After

Function Declarations (split dimensions) (VlogFunctionDeclarations) - When enabled, this pattern aligns function and task declarations while vertically aligning dimensions:

Before After

Function Variable Declarations (VlogFunctionVariableDeclarationsGroupDimensions) - When enabled, this pattern aligns function and task while excluding vertical alignment of dimensions:

Before After

Function Variable Declarations (split dimensions) (VlogFunctionVariableDeclarations) - When enabled, this pattern aligns function and task while vertically aligning dimensions:

Before After

Interface Port Declarations (VlogInterfacePortDeclarationsGroupDimensions) - When enabled, this pattern aligns interface ports while excluding vertical alignment of dimensions:

Before After

Interface Port Declarations (split dimensions) (VlogInterfacePortDeclarations) - When enabled, this pattern aligns interface ports while vertically aligning dimensions:

Before After

Interface Signal Declarations (VlogInterfaceSignalDeclarationsGroupDimensions) - When enabled, this pattern aligns interface signals while excluding vertical alignment of dimensions:

Before After

Interface Signal Declarations (split dimensions) (VlogInterfaceSignalDeclarations) - When enabled, this pattern aligns interface signals while vertically aligning dimensionss:

Before After

Module Port Declarations (VlogModulePortDeclarationsGroupDimensions) - When enabled, this pattern aligns module ports while excluding vertical alignment of dimensions:

Before After

Module Port Declarations (split dimensions) (VlogModulePortDeclarations) - When enabled, this pattern aligns module ports while vertically aligning dimensions:

Before After

Module Signal Declarations (VlogModuleSignalDeclarationsGroupDimensions) - When enabled, this pattern aligns module signals while excluding vertical alignment of dimensions:

Before After

Module Signal Declarations (split dimensions) (VlogModuleSignalDeclarations) - When enabled, this pattern aligns module signals while vertically aligning dimensions:

Before After

`xvm_field macros (VlogXVMFieldMacros) - When enabled, this pattern aligns `xvm_field factory registration macros:

Before After
  • Compact whitespace for vertical align patterns (ro.amiq.vlogdt/format.vertical.align.vregex.compact.whitespace) - When enabled, consecutive whitespace characters are trimmed to a single space character for vertical align patterns.

Before After