aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/issues/pr64/vector.vhdl
blob: c88c117f73702d42fde55ed5723d87c39dae6d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity vector is
    port (
        s : out signed(127 downto 0);
        u : out unsigned(127 downto 0)
        );
end entity vector;

architecture synth of vector is
begin
    s <= signed'(x"ffff000000fffff0") * signed'(x"fff0000ffff00000");
    u <= unsigned'(x"ffff000000fffff0") * unsigned'(x"fff0000ffff00000");
end synth;