From ecb84e353efaf3628a8d20407f7c336dc315793c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 18 Sep 2021 07:10:15 +0200 Subject: testsuite/gna: add a test for #1515 --- testsuite/gna/issue1515/ent.vhdl | 11 +++++++++++ testsuite/gna/issue1515/testsuite.sh | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 testsuite/gna/issue1515/ent.vhdl create mode 100755 testsuite/gna/issue1515/testsuite.sh diff --git a/testsuite/gna/issue1515/ent.vhdl b/testsuite/gna/issue1515/ent.vhdl new file mode 100644 index 000000000..f6fe2ea70 --- /dev/null +++ b/testsuite/gna/issue1515/ent.vhdl @@ -0,0 +1,11 @@ +entity ent is + port ( + inp : BIT_VECTOR(1 downto 0); + outp : buffer BOOLEAN + ); +end; + +architecture a of ent is +begin + outp <= inp'delayed(1 ns)(0) = '0'; +end; diff --git a/testsuite/gna/issue1515/testsuite.sh b/testsuite/gna/issue1515/testsuite.sh new file mode 100755 index 000000000..9bc0d1b47 --- /dev/null +++ b/testsuite/gna/issue1515/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze ent.vhdl +elab_simulate ent + +clean + +echo "Test successful" -- cgit v1.2.3