diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-09-18 07:10:15 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-09-18 07:10:15 +0200 |
commit | ecb84e353efaf3628a8d20407f7c336dc315793c (patch) | |
tree | a4bf5bfba9f645a106910841f63c029a6be2a979 | |
parent | 5caf2d3a874957a07e48791ba3102e25394936b7 (diff) | |
download | ghdl-ecb84e353efaf3628a8d20407f7c336dc315793c.tar.gz ghdl-ecb84e353efaf3628a8d20407f7c336dc315793c.tar.bz2 ghdl-ecb84e353efaf3628a8d20407f7c336dc315793c.zip |
testsuite/gna: add a test for #1515
-rw-r--r-- | testsuite/gna/issue1515/ent.vhdl | 11 | ||||
-rwxr-xr-x | testsuite/gna/issue1515/testsuite.sh | 10 |
2 files changed, 21 insertions, 0 deletions
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" |