Procedure Call Rules¶
These rules handle procedure_call_statement and concurrent_procedure_call_statement elements.
procedure_call_001¶
This rule checks for labels on procedure call statements. Labels on procedure calls are optional and do not provide additional information.
Violation
WR_EN_OUTPUT : WR_EN(parameter);
Fix
WR_EN(parameter);
procedure_call_002¶
This rule checks for labels on concurrent procedure call statements. Labels on procedure calls are optional and do not provide additional information.
Violation
WR_EN_OUTPUT : WR_EN(parameter);
Fix
WR_EN(parameter);
procedure_call_003¶
This rule checks the structure of concurrent procedure calls.
Violation
connect_ports(port_1 => data, port_2 => enable, port_3 => overflow, port_4 => underflow);
Fix
connect_ports(
port_1 => data,
port_2 => enable,
port_3 => overflow,
port_4 => underflow
);
procedure_call_100¶
This rule checks for a single space between the following block elements: label, label colon, postponed keyword and the procedure name.
Violation
procedure_label : postponed WR_EN(parameter);
Fix
procedure_label : postponed WR_EN(parameter);
procedure_call_300¶
This rule checks the indent of the procedure_call label.
Violation
a <= b;
procedure_label : WR_EN(parameter);
Fix
a <= b;
procedure_label : WR_EN(parameter);
procedure_call_301¶
This rule checks the indent of the postponed keyword if it exists..
Violation
a <= b;
postponed WR_EN(parameter);
Fix
a <= b;
postponed WR_EN(parameter);
procedure_call_302¶
This rule checks the indent of the procedure name.
Violation
a <= b;
WR_EN(parameter);
Fix
a <= b;
WR_EN(parameter);
procedure_call_400¶
This rule checks the alignment of multiline procedure calls.
Violation
connect_ports(port_1, port_2, port_3,
port_4, port_5,
port_6, port_7);
Fix
connect_ports(port_1, port_2, port_3,
port_4, port_5,
port_6, port_7);
procedure_call_401¶
This rule checks the alignment of =>
keywords in procedure calls.
Violation
connect_ports(
port_1=> data,
port_2 => enable,
port_3 => overflow,
port_4 => underflow
);
Fix
connect_ports(
port_1 => data,
port_2 => enable,
port_3 => overflow,
port_4 => underflow
);
procedure_call_500¶
This rule checks the label has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
PROCEDURE_CALL_LABEL : WR_EN(paremeter);
Fix
procedure_call_label : WR_EN(paremeter);
procedure_call_501¶
This rule checks the postponed keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
POSTPONED WR_EN(parameter)
Fix
postponed WR_EN(parameter)