From a5cf8c93a36d004577d92a951ea081682840dcd1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 10 Sep 2015 20:31:56 +0200 Subject: Add testcase for sr3217. --- testsuite/gna/sr3217/tests.vhd | 20 ++++++++++++++++++++ testsuite/gna/sr3217/testsuite.sh | 11 +++++++++++ 2 files changed, 31 insertions(+) create mode 100644 testsuite/gna/sr3217/tests.vhd create mode 100755 testsuite/gna/sr3217/testsuite.sh diff --git a/testsuite/gna/sr3217/tests.vhd b/testsuite/gna/sr3217/tests.vhd new file mode 100644 index 000000000..8c718dbb7 --- /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 000000000..214296972 --- /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" -- cgit v1.2.3