summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold2015-09-10 20:31:56 +0200
committerTristan Gingold2015-09-10 20:31:56 +0200
commita5cf8c93a36d004577d92a951ea081682840dcd1 (patch)
tree0d2972f496e9ba2b5a72ab4940fd4095afdd8174 /testsuite
parent1308fb84af4929a3d35f9d21da88216b48bb9b89 (diff)
downloadghdl-a5cf8c93a36d004577d92a951ea081682840dcd1.tar.gz
ghdl-a5cf8c93a36d004577d92a951ea081682840dcd1.tar.bz2
ghdl-a5cf8c93a36d004577d92a951ea081682840dcd1.zip
Add testcase for sr3217.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/sr3217/tests.vhd20
-rwxr-xr-xtestsuite/gna/sr3217/testsuite.sh11
2 files changed, 31 insertions, 0 deletions
diff --git a/testsuite/gna/sr3217/tests.vhd b/testsuite/gna/sr3217/tests.vhd
new file mode 100644
index 0000000..8c718db
--- /dev/null
+++ b/testsuite/gna/sr3217/tests.vhd
@@ -0,0 +1,20 @@
+use std.textio.all; -- Imports the standard textio package.
+library IEEE;
+use IEEE.std_logic_1164.all;
+use IEEE.numeric_std.all;
+
+-- Defines a design entity, without any ports.
+entity tests is
+end tests;
+
+architecture behaviour of tests is
+begin
+ process
+ variable l : line;
+
+ variable a : natural := 1;
+ begin
+ report "a = " & natural'simple_name(a);
+ wait;
+ end process;
+end behaviour;
diff --git a/testsuite/gna/sr3217/testsuite.sh b/testsuite/gna/sr3217/testsuite.sh
new file mode 100755
index 0000000..2142969
--- /dev/null
+++ b/testsuite/gna/sr3217/testsuite.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+# FIXME
+#analyze tests.vhd
+# elab_simulate tests
+
+clean
+
+echo "Test successful"