diff options
Diffstat (limited to 'testsuite/synth/issue2139/repro.vhdl')
-rw-r--r-- | testsuite/synth/issue2139/repro.vhdl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/synth/issue2139/repro.vhdl b/testsuite/synth/issue2139/repro.vhdl new file mode 100644 index 000000000..e38f2562d --- /dev/null +++ b/testsuite/synth/issue2139/repro.vhdl @@ -0,0 +1,13 @@ +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +entity repro is + port (o : out unsigned (7 downto 0); + i : in std_logic_vector(7 downto 0)); +end repro; + +architecture behav of repro is +begin + o <= unsigned(i) + 1; +end behav; |