vhdl_reference_93:function_call

Function call

function _name [ ( actual_parameter_part ) ]

parameter _association_list

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);