diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-10-27 08:55:47 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-10-27 08:55:47 +0200 |
commit | 5a97d9f219e116bd62b64294dc3d95678b3415f8 (patch) | |
tree | c1a3172c26aa897e2b8884879551fcf33c6a2eaa /testsuite/gna | |
parent | 39db720ffff84387d93802693c0cbd7186ca6501 (diff) | |
download | ghdl-5a97d9f219e116bd62b64294dc3d95678b3415f8.tar.gz ghdl-5a97d9f219e116bd62b64294dc3d95678b3415f8.tar.bz2 ghdl-5a97d9f219e116bd62b64294dc3d95678b3415f8.zip |
Add testcase for #679
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/issue679/repro.vhdl | 14 | ||||
-rwxr-xr-x | testsuite/gna/issue679/testsuite.sh | 9 |
2 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/gna/issue679/repro.vhdl b/testsuite/gna/issue679/repro.vhdl new file mode 100644 index 000000000..2aa5e63df --- /dev/null +++ b/testsuite/gna/issue679/repro.vhdl @@ -0,0 +1,14 @@ +entity repro is +end repro; + +architecture behav of repro is + signal clk : bit; + signal cyc: bit; + signal wen : bit; + signal lw : bit; +begin + -- psl default clock is clk; + + -- psl c1: assert always lw -> cyc and (next not(wen)) + -- report "error"; +end; diff --git a/testsuite/gna/issue679/testsuite.sh b/testsuite/gna/issue679/testsuite.sh new file mode 100755 index 000000000..d44aa19d3 --- /dev/null +++ b/testsuite/gna/issue679/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze -fpsl repro.vhdl + +clean + +echo "Test successful" |