diff options
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/sr3217/tests.vhd | 20 | ||||
-rwxr-xr-x | testsuite/gna/sr3217/testsuite.sh | 11 |
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" |