Error: COMP96_0071: Operator "<operator>" is not defined for such operands

Description

COMP96_0071 is caused by using the undefined %s operator.

entity en is
end;

architecture ar of en is
 signal a : integer;
 signal c : bit_vector(3 downto 0);
 signal d : bit_vector(3 downto 0);
begin
  d<= a+c; --COMP96_0071
end;

Solution

Please do one of the following:



Printed version of site: www.aldec.com/en/support/resources/documentation/faq/1735