diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/synth/case01/case06.vhdl | 24 | ||||
-rwxr-xr-x | testsuite/synth/case01/testsuite.sh | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/synth/case01/case06.vhdl b/testsuite/synth/case01/case06.vhdl new file mode 100644 index 000000000..f66569dbf --- /dev/null +++ b/testsuite/synth/case01/case06.vhdl @@ -0,0 +1,24 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity case06 is + port ( + a : in std_logic; + b : out std_logic + ); +end entity; + +architecture a of case06 is +begin + process(a) + begin + case a is + when '0' => + b <= '0'; + when 'L' => + b <= '1'; + when others => + b <= 'Z'; + end case; + end process; +end architecture; diff --git a/testsuite/synth/case01/testsuite.sh b/testsuite/synth/case01/testsuite.sh index 519aaff89..ef530ebe1 100755 --- a/testsuite/synth/case01/testsuite.sh +++ b/testsuite/synth/case01/testsuite.sh @@ -7,5 +7,6 @@ for t in case01 case02 case03 case04; do done synth case05.vhdl -e case05 > syn_case05.vhdl +synth case06.vhdl -e case06 > syn_case06.vhdl echo "Test successful" |