diff options
Diffstat (limited to 'testsuite/synth/issue937/enot.vhdl')
-rw-r--r-- | testsuite/synth/issue937/enot.vhdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/synth/issue937/enot.vhdl b/testsuite/synth/issue937/enot.vhdl new file mode 100644 index 000000000..ea583d4ed --- /dev/null +++ b/testsuite/synth/issue937/enot.vhdl @@ -0,0 +1,20 @@ +entity enot is + port ( + i : in bit; + x : in boolean; + o : out bit + ); +end entity; + +architecture a of enot is +begin + process(i, x) + begin + if not x then + o <= i; + else + o <= '0'; + end if; + end process; +end; + |