aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/synth34/module.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/synth34/module.vhdl')
-rw-r--r--testsuite/synth/synth34/module.vhdl20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/synth/synth34/module.vhdl b/testsuite/synth/synth34/module.vhdl
new file mode 100644
index 000000000..67f3dd4b3
--- /dev/null
+++ b/testsuite/synth/synth34/module.vhdl
@@ -0,0 +1,20 @@
+library ieee;
+ use ieee.std_logic_1164.all;
+
+entity module is
+ port (
+ clk : in std_logic;
+ a : in std_logic_vector(7 downto 0);
+ b : out std_logic_vector(7 downto 0)
+ );
+end module;
+
+architecture rtl of module is
+begin
+ i_submodule : entity work.submodule
+ port map (
+ clk => clk,
+ a => a,
+ b => b
+ );
+end rtl;