DVT SystemVerilog IDE User Guide
Rev. 21.1.24, 8 June 2021
When enabled, this option performs vertical alignment.
The lines of code inside the same scope are aligned by the specified comma separated list of vertical alignment tokens.
if(a) begin if(a) begin
Vertical alignment is performed left to right, by the same token. For example assuming '=' and ':' as vertical align tokens:
var x : int = 1; // "first level :", "second level ="
a = 1; // not aligned to "second level =" above, as this is a "first level ="
In order to use the comma character ',' as a vertical alignment token, the character must be preceded by the escaping character '\'.
class class1 #(
rand bit [15:0] addr;
`define MACRO_A 5
// Different define group is aligned separately from above because of empty line above iff '''Only consecutive lines''' is on
task write_byte (input bit [7:0] data,
input [7:0] a, // comment
reg signed [7:0] data_out; // c1