diff options
-rw-r--r-- | testsuite/issues/pr61/vector.vhdl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/issues/pr61/vector.vhdl b/testsuite/issues/pr61/vector.vhdl index 61a0d67..ea83bc2 100644 --- a/testsuite/issues/pr61/vector.vhdl +++ b/testsuite/issues/pr61/vector.vhdl @@ -8,8 +8,12 @@ entity vector is end vector; architecture synth of vector is + signal v1 : signed (63 downto 0); + signal u1 : unsigned (63 downto 0); begin - v <= signed'(x"0ffffffffffffff0")+(-1); - u <= unsigned'(x"00ffffffffffff00")+4294967290; + v1 <= x"0ffffffffffffff0"; + v <= v1+(-1); + u1 <= x"00ffffffffffff00"; + u <= u1 +4294967290; end synth; |