From ba342a67ebf6afc00ea25c3b463d7beb93cd16d2 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 29 Apr 2020 08:24:58 +0200 Subject: testsuite/synth: add test for #1272 --- testsuite/synth/issue1272/issue.vhdl | 12 ++++++++++++ testsuite/synth/issue1272/testsuite.sh | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 testsuite/synth/issue1272/issue.vhdl create mode 100755 testsuite/synth/issue1272/testsuite.sh (limited to 'testsuite') diff --git a/testsuite/synth/issue1272/issue.vhdl b/testsuite/synth/issue1272/issue.vhdl new file mode 100644 index 000000000..3a232d0c9 --- /dev/null +++ b/testsuite/synth/issue1272/issue.vhdl @@ -0,0 +1,12 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity issue is + port (clk : std_logic); +end entity issue; + +architecture beh of issue is +begin + --psl default clock is rising_edge (clk); + --psl assert (always (true or true)); +end architecture; diff --git a/testsuite/synth/issue1272/testsuite.sh b/testsuite/synth/issue1272/testsuite.sh new file mode 100755 index 000000000..9c407db39 --- /dev/null +++ b/testsuite/synth/issue1272/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS="--std=08 -fpsl" + +synth issue.vhdl -e > syn_issue.vhdl + +echo "Test successful" -- cgit v1.2.3