diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gna/bug04/std_logic_warning.vhdl | 8 | ||||
-rw-r--r-- | testsuite/gna/issue72/fixed.vhdl | 2 | ||||
-rwxr-xr-x | testsuite/gna/issue72/testsuite.sh | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/testsuite/gna/bug04/std_logic_warning.vhdl b/testsuite/gna/bug04/std_logic_warning.vhdl index a71b2dd04..cbe731601 100644 --- a/testsuite/gna/bug04/std_logic_warning.vhdl +++ b/testsuite/gna/bug04/std_logic_warning.vhdl @@ -41,13 +41,13 @@ UNLABELLED: process begin wait for 1 ns; - a <= 'X'; + a <= ieee.std_logic_1164.'X'; wait for 1 ns; - b <= '1'; + b <= ieee.std_logic_1164.'1'; wait for 1 ns; - a <= '0'; + a <= ieee.std_logic_1164.'0'; wait for 1 ns; - b <= '0'; + b <= ieee.std_logic_1164.'0'; wait; end process; diff --git a/testsuite/gna/issue72/fixed.vhdl b/testsuite/gna/issue72/fixed.vhdl index 214c6049a..8b13577ff 100644 --- a/testsuite/gna/issue72/fixed.vhdl +++ b/testsuite/gna/issue72/fixed.vhdl @@ -22,7 +22,7 @@ begin -- architecture rtl process (clk) is begin -- process if clk'event and clk = '1' then -- rising clock edge - if input = one then + if input = work.issue_pkg.one then output <= '1'; else output <= '0'; diff --git a/testsuite/gna/issue72/testsuite.sh b/testsuite/gna/issue72/testsuite.sh index 309a6b47d..1119937bb 100755 --- a/testsuite/gna/issue72/testsuite.sh +++ b/testsuite/gna/issue72/testsuite.sh @@ -8,9 +8,9 @@ analyze fixed.vhdl clean -#GHDL_STD_FLAGS=--std=08 -#analyze issue_pkg.vhdl -#analyze issue.vhdl -#clean +GHDL_STD_FLAGS=--std=08 +analyze issue_pkg.vhdl +analyze issue.vhdl +clean echo "Test successful" |