2 use ieee.std_logic_1164.all;
3 use ieee.numeric_std.all;
6 port (sub_uns : out unsigned (8-1 downto 0);
7 sub_sgn : out signed (8-1 downto 0));
10 architecture beh of issue is
12 sub_uns <= unsigned'(b"0000_0000") - 1; -- works
13 sub_sgn <= signed'(b"0000_0000") - 1; -- fails