Variable Assignment |
LRM §8.5. |
A variable assignment statement replaces the current value of a variable with a new value specified by an expression.
[ label: ] target_variable := expression;
The expression assigned to a variable must give results of the same type as the variable. The target at the left-hand side of the assignment can be either a name of a variable or an aggregate.
A variable name can be in the form of simple name, selected name, indexed name or slice name.
If the target is an aggregate, then the type of the aggregate must be determinable from the context.
A := A + 1; (X, Y):= Z;
Expression, Sequential statement, Signal assignment, Variable