vhdl_reference_93:variable_assignment

Variable assignment ... := ..."

[ label : ] target := expression ;
  • function_statement_part
  • procedure_statement_part
  • process_statement_part
  • relation { and relation }
  • relation { or relation }
  • relation { xor relation }
  • relation [ nand relation ]
  • relation [ nor relation ]
  • relation { xnor relation }

var receives the value 0 .

var := 0;

a receives the current value of b .

a := b;

a receives the result of the function my_function as a new value.

a := my_function ( data, 4 );

str_a is assigned a string which consists of three interlinked parts.

str_a := "Mein Name ist "
        & get_name & ", und Ihrer ?";

var_int receives the result of the right equation as its value.

var_int := my_function( data, 4 ) + 4 * a_function(var_int) - 2 ** data;