diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gna/bug018/repro.vhdl | 9 | ||||
-rw-r--r-- | testsuite/gna/bug018/repro1.vhdl | 9 | ||||
-rwxr-xr-x | testsuite/gna/bug018/testsuite.sh | 13 |
3 files changed, 31 insertions, 0 deletions
diff --git a/testsuite/gna/bug018/repro.vhdl b/testsuite/gna/bug018/repro.vhdl new file mode 100644 index 0000000..c2f2fcf --- /dev/null +++ b/testsuite/gna/bug018/repro.vhdl @@ -0,0 +1,9 @@ +ENTITY repro_ent IS +port( S : string := "abcdef"); +END repro_ent; + +ARCHITECTURE repro_arch OF repro_ent IS + constant C : string := "abcdef"; +BEGIN + assert S = C; +END repro_arch; diff --git a/testsuite/gna/bug018/repro1.vhdl b/testsuite/gna/bug018/repro1.vhdl new file mode 100644 index 0000000..05fa363 --- /dev/null +++ b/testsuite/gna/bug018/repro1.vhdl @@ -0,0 +1,9 @@ +ENTITY repro1_ent IS +port( S : inout string := "abcdef"); +END repro1_ent; + +ARCHITECTURE repro1_arch OF repro1_ent IS + constant C : string := "abcdef"; +BEGIN + assert S = C; +END repro1_arch; diff --git a/testsuite/gna/bug018/testsuite.sh b/testsuite/gna/bug018/testsuite.sh new file mode 100755 index 0000000..7b46eef --- /dev/null +++ b/testsuite/gna/bug018/testsuite.sh @@ -0,0 +1,13 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze repro.vhdl +elab_simulate repro_ent + +#analyze repro1.vhdl +#elab_simulate repro1_ent + +clean + +echo "Test successful" |