diff options
author | Tristan Gingold <tgingold@free.fr> | 2013-12-18 05:53:22 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2013-12-18 05:53:22 +0100 |
commit | bd4aff0f670351c0652cf24e9b04361dc0e3a01c (patch) | |
tree | afcc1050ac74fc64b5756e2550bc32ea61d1e7bb /testsuite/gna/sr3028 | |
parent | 5fde24d46fae799e6c0723850097a8fccd64d747 (diff) | |
download | ghdl-bd4aff0f670351c0652cf24e9b04361dc0e3a01c.tar.gz ghdl-bd4aff0f670351c0652cf24e9b04361dc0e3a01c.tar.bz2 ghdl-bd4aff0f670351c0652cf24e9b04361dc0e3a01c.zip |
Add initial testsuite, using regression tests from bugs or support
reported on gna.org
Diffstat (limited to 'testsuite/gna/sr3028')
-rwxr-xr-x | testsuite/gna/sr3028/testsuite.sh | 14 | ||||
-rw-r--r-- | testsuite/gna/sr3028/top.vhdl | 7 | ||||
-rw-r--r-- | testsuite/gna/sr3028/vc.vhdl | 4 |
3 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/gna/sr3028/testsuite.sh b/testsuite/gna/sr3028/testsuite.sh new file mode 100755 index 000000000..e63a031d0 --- /dev/null +++ b/testsuite/gna/sr3028/testsuite.sh @@ -0,0 +1,14 @@ +#! /bin/sh + +. ../../testenv.sh + +echo "Skipped !!!!" +exit 0 + +analyze vc.vhdl +analyze top.vhdl +elab_simulate_failure top + +clean + +echo "Test successful" diff --git a/testsuite/gna/sr3028/top.vhdl b/testsuite/gna/sr3028/top.vhdl new file mode 100644 index 000000000..e194a63cd --- /dev/null +++ b/testsuite/gna/sr3028/top.vhdl @@ -0,0 +1,7 @@ +entity top is +end top; + +use work.vc_fakeram_pkg; +architecture behav of top is +begin +end behav; diff --git a/testsuite/gna/sr3028/vc.vhdl b/testsuite/gna/sr3028/vc.vhdl new file mode 100644 index 000000000..b140f826f --- /dev/null +++ b/testsuite/gna/sr3028/vc.vhdl @@ -0,0 +1,4 @@ +package vc_fakeram_pkg is + type memory_type is array (0 to 4294967296) of integer; + shared variable memory:memory_type; +end vc_fakeram_pkg; |