diff options
-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" |