Forum Discussion
Altera_Forum
Honored Contributor
13 years agoActually, output c is (!a[3],a[2..0]) which is correct.
A 'free' double-quoted string produces a std_logic_vector(0 to n), setting bit(3) to one The following code will translate correctly:Constant ONE : std_logic_vector(3 downto 0) := b"0001" ;
c <= plus_s_s(a, ONE);