diff options
Diffstat (limited to 'testsuite/synth/issue1096/my_entity.vhdl')
-rw-r--r-- | testsuite/synth/issue1096/my_entity.vhdl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/synth/issue1096/my_entity.vhdl b/testsuite/synth/issue1096/my_entity.vhdl new file mode 100644 index 000000000..39e236412 --- /dev/null +++ b/testsuite/synth/issue1096/my_entity.vhdl @@ -0,0 +1,26 @@ +library ieee; +use ieee.std_logic_1164.all; + +package mask_pkg is + constant MASK: std_logic_vector(0 downto 0); +end package; + +package body mask_pkg is + constant MASK: std_logic_vector(0 downto 0) := "0"; +end package body; + +library ieee; +use ieee.std_logic_1164.all; + +entity my_entity is + port ( + data: out std_logic_vector(0 downto 0) + ); +end entity; + +use work.mask_pkg.all; + +architecture arch of my_entity is +begin + data <= MASK; +end architecture; |