diff options
Diffstat (limited to 'testsuite/gna/issue1493/test.vhdl')
-rw-r--r-- | testsuite/gna/issue1493/test.vhdl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/issue1493/test.vhdl b/testsuite/gna/issue1493/test.vhdl new file mode 100644 index 000000000..d7d921c50 --- /dev/null +++ b/testsuite/gna/issue1493/test.vhdl @@ -0,0 +1,19 @@ +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +entity test is +end test; + +architecture test of test is + + subtype word is unsigned (15 downto 0); + subtype byte is unsigned (7 downto 0); + + signal w: word; + signal b: byte; + signal mask: byte; + +begin + w <= (byte'range => (b and mask), others => '1'); +end test; |