2 use IEEE.std_logic_1164.all;
3 use IEEE.numeric_std.all;
12 architecture behav of bug is
13 constant A : positive := 4;
14 constant B : positive := 1100;
15 constant C : positive := to_integer(A * to_unsigned(B, 11));
16 constant D : positive := to_integer(to_unsigned(B, 11) * A);