aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue424/subBlock.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue424/subBlock.vhd')
-rw-r--r--testsuite/gna/issue424/subBlock.vhd15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue424/subBlock.vhd b/testsuite/gna/issue424/subBlock.vhd
new file mode 100644
index 000000000..4b866abc9
--- /dev/null
+++ b/testsuite/gna/issue424/subBlock.vhd
@@ -0,0 +1,15 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity subBlock is
+ port (outPort : out std_logic;
+ inPort : in std_logic_vector(3 downto 0)
+ );
+end entity subBlock;
+
+architecture behavioral of subBlock is
+
+begin
+ outPort <= inPort(0);
+
+end architecture behavioral;