diff options
Diffstat (limited to 'testsuite/synth/comp03/sub2.vhdl')
-rw-r--r-- | testsuite/synth/comp03/sub2.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/synth/comp03/sub2.vhdl b/testsuite/synth/comp03/sub2.vhdl new file mode 100644 index 000000000..9b579c43a --- /dev/null +++ b/testsuite/synth/comp03/sub2.vhdl @@ -0,0 +1,14 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity sub2 is + generic + (width : natural); + port (p : std_logic_vector (width - 1 downto 0); + o : out std_logic); +end; + +architecture behav of sub2 is +begin + o <= p (0); +end behav; |