From f9976fcdb4e1955231c3908c731c4954c6053e1c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 13 Dec 2020 10:13:08 +0100 Subject: testsuite/synth: add test for #1534 --- testsuite/synth/issue1534/ent.vhdl | 13 +++++++++++++ testsuite/synth/issue1534/testsuite.sh | 9 +++++++++ 2 files changed, 22 insertions(+) create mode 100644 testsuite/synth/issue1534/ent.vhdl create mode 100755 testsuite/synth/issue1534/testsuite.sh diff --git a/testsuite/synth/issue1534/ent.vhdl b/testsuite/synth/issue1534/ent.vhdl new file mode 100644 index 000000000..ee5a53c15 --- /dev/null +++ b/testsuite/synth/issue1534/ent.vhdl @@ -0,0 +1,13 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity ent is + port ( + o: out std_ulogic + ); +end entity; + +architecture arch of ent is +begin + o <= to_stdulogic('0'); +end architecture; diff --git a/testsuite/synth/issue1534/testsuite.sh b/testsuite/synth/issue1534/testsuite.sh new file mode 100755 index 000000000..5742decf4 --- /dev/null +++ b/testsuite/synth/issue1534/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +synth_analyze ent + +clean + +echo "Test successful" -- cgit v1.2.3