diff options
Diffstat (limited to 'testsuite/gna/issue1994')
-rw-r--r-- | testsuite/gna/issue1994/tb.vhdl | 16 | ||||
-rwxr-xr-x | testsuite/gna/issue1994/testsuite.sh | 10 |
2 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/gna/issue1994/tb.vhdl b/testsuite/gna/issue1994/tb.vhdl new file mode 100644 index 000000000..fa5663903 --- /dev/null +++ b/testsuite/gna/issue1994/tb.vhdl @@ -0,0 +1,16 @@ +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +entity tb is +end entity; + +architecture sim of tb is + signal clk : std_logic := '1'; +begin + clk <= not clk after 100 ms; -- period / 2; + process is + begin + wait until rising_edge(clk); + end process; +end architecture; diff --git a/testsuite/gna/issue1994/testsuite.sh b/testsuite/gna/issue1994/testsuite.sh new file mode 100755 index 000000000..4ee9e994f --- /dev/null +++ b/testsuite/gna/issue1994/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze tb.vhdl +elab_simulate tb + +clean + +echo "Test successful" |