diff options
Diffstat (limited to 'testsuite/synth/unary01/snot.vhdl')
-rw-r--r-- | testsuite/synth/unary01/snot.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/synth/unary01/snot.vhdl b/testsuite/synth/unary01/snot.vhdl new file mode 100644 index 000000000..7518d3885 --- /dev/null +++ b/testsuite/synth/unary01/snot.vhdl @@ -0,0 +1,15 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity snot is + generic ( + v : std_logic := '0'); + port ( + o : out std_logic); +end snot; + +architecture behav of snot is +begin + o <= not v; + assert (not v) = '1' severity failure; +end behav; |