aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1254/simple02.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-22 18:53:39 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-22 21:31:26 +0200
commite4efd609757cc9c303e3a27f421f5b75f551e5d2 (patch)
treea807876b394ea64db7808df019f1e2cd6a203a41 /testsuite/synth/issue1254/simple02.vhdl
parentb7992d8601cac632b75897182fb529c9409105ea (diff)
downloadghdl-e4efd609757cc9c303e3a27f421f5b75f551e5d2.tar.gz
ghdl-e4efd609757cc9c303e3a27f421f5b75f551e5d2.tar.bz2
ghdl-e4efd609757cc9c303e3a27f421f5b75f551e5d2.zip
testsuite/synth: add a test for #1254
Diffstat (limited to 'testsuite/synth/issue1254/simple02.vhdl')
-rw-r--r--testsuite/synth/issue1254/simple02.vhdl17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/synth/issue1254/simple02.vhdl b/testsuite/synth/issue1254/simple02.vhdl
new file mode 100644
index 000000000..01255409a
--- /dev/null
+++ b/testsuite/synth/issue1254/simple02.vhdl
@@ -0,0 +1,17 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity simple01 is
+ port (a : in std_logic;
+ z : out std_logic);
+end simple01;
+
+--use work.pkg.all;
+
+architecture behav of simple01 is
+begin
+ process(A)
+ begin
+ Z <= not a;
+ end process;
+end behav;