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

entity vector is
  port (v: out signed(63 downto 0);
        u: out unsigned(63 downto 0));
end vector;

architecture synth of vector is

begin
  v <= signed'(x"0ffffffffffffff0")+(-1);
  u <= unsigned'(x"00ffffffffffff00")+4294967290;
end synth;