Configuring Port Mode Alignment

The number of spaces before and after each port mode (‘in’, ‘out’, ‘inout’, ‘buffer’, ‘linkage’) can be individually set. This is accomplished using the spaces_before and spaces_after options for those rules.

The default options for each rule are:

Rule spaces_before spaces_after
port_007 port_008 port_009 1 1 1 4 3 1

which results in the following format being enforced:

I_INPUT  : in    std_logic;
O_OUTPUT : out   std_logic;
IO_INOUT : inout std_logic;

Setting the spaces_before and spaces_after options for each mode aligment rule to:

Rule spaces_before spaces_after
port_007 port_008 port_009 1 3 1 4 1 1

would result in the following format being enforced:

I_INPUT  : in    std_logic;
O_OUTPUT :   out std_logic;
IO_INOUT : inout std_logic;

Rules Enforcing Aligment