aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/synth110/top.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/synth110/top.vhdl')
-rw-r--r--testsuite/synth/synth110/top.vhdl27
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/synth/synth110/top.vhdl b/testsuite/synth/synth110/top.vhdl
new file mode 100644
index 000000000..aec306ea2
--- /dev/null
+++ b/testsuite/synth/synth110/top.vhdl
@@ -0,0 +1,27 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity top is
+ port(
+ clk : in std_logic;
+ di : in std_logic;
+ do : out std_logic
+ );
+end top;
+
+architecture behavioral of top is
+ signal data : std_logic;
+begin
+
+ mylabel: process (clk)
+ variable tmp : std_logic;
+ begin
+ if rising_edge(clk) then
+ tmp := di; -- Post-synthesis name : mylabel.tmp
+ end if;
+ data <= not(tmp);
+ end process;
+
+ do <= not(data);
+
+end behavioral;