diff options
-rw-r--r-- | testsuite/issue11/test_or.vhdl | 14 | ||||
-rw-r--r-- | testsuite/issue11/test_xor.vhdl | 14 | ||||
-rwxr-xr-x | testsuite/issue11/testsuite.sh | 11 |
3 files changed, 39 insertions, 0 deletions
diff --git a/testsuite/issue11/test_or.vhdl b/testsuite/issue11/test_or.vhdl new file mode 100644 index 0000000..d39d064 --- /dev/null +++ b/testsuite/issue11/test_or.vhdl @@ -0,0 +1,14 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity test_or is port ( + sel0, sel1: in std_logic; + c: out std_logic); +end test_or; + +architecture synth of test_or is +begin + + c <= sel1 or sel0; + +end synth; diff --git a/testsuite/issue11/test_xor.vhdl b/testsuite/issue11/test_xor.vhdl new file mode 100644 index 0000000..b856745 --- /dev/null +++ b/testsuite/issue11/test_xor.vhdl @@ -0,0 +1,14 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity test_xor is port ( + sel0, sel1: in std_logic; + c: out std_logic); +end test_xor; + +architecture synth of test_xor is +begin + + c <= sel1 xor sel0; + +end synth; diff --git a/testsuite/issue11/testsuite.sh b/testsuite/issue11/testsuite.sh new file mode 100755 index 0000000..59e440b --- /dev/null +++ b/testsuite/issue11/testsuite.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +. ../testenv.sh + +analyze test_or.vhdl +synth test_or + +analyze test_xor.vhdl +synth test_xor + +clean |