====== Function call ======
===== Definitions =====
==== function_call ====
''function _[[.:bnf#name]] [ ( actual_parameter_part ) ]''
==== actual_parameter_part ====
''parameter _[[.:bnf#association_list]]''
===== Examples =====
With this function call //exnor_out// receives the return value of the function //exnor// .
exnor_out <= exnor(in1, in2);
----
//x2// receives the return value of the function //exnor// . Here, the transfer parameters //a// and //b// have the values of the stated vector ranges.
x2 <= exnor (
a => in1(2 downto 0),
b => in2(2 downto 0) );
----
i receives the sum of the return values of the two functions //bit_to_integer// and //count_ones// .
i <= bit_to_integer(bit_a => in(8)) +
count_ones(in2);