diff options
-rw-r--r-- | testsuite/synth/issue2035/cdc_fifo_rtl.vhdl | 13 | ||||
-rwxr-xr-x | testsuite/synth/issue2035/testsuite.sh | 8 |
2 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/synth/issue2035/cdc_fifo_rtl.vhdl b/testsuite/synth/issue2035/cdc_fifo_rtl.vhdl new file mode 100644 index 000000000..059804d69 --- /dev/null +++ b/testsuite/synth/issue2035/cdc_fifo_rtl.vhdl @@ -0,0 +1,13 @@ + +ENTITY cdc_fifo IS +END ENTITY cdc_fifo; + +LIBRARY IEEE; +USE IEEE.std_logic_1164.ALL; + +ARCHITECTURE rtl OF cdc_fifo IS + SIGNAL ver_clk : std_logic; + ATTRIBUTE gclk : boolean; + ATTRIBUTE gclk OF ver_clk : SIGNAL is true; +BEGIN +END ARCHITECTURE; diff --git a/testsuite/synth/issue2035/testsuite.sh b/testsuite/synth/issue2035/testsuite.sh new file mode 100755 index 000000000..f1064aaca --- /dev/null +++ b/testsuite/synth/issue2035/testsuite.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=--std=08 +synth -Werror cdc_fifo_rtl.vhdl -e > syn_cdc_fifo_rtl.vhdl + +echo "Test successful" |