diff options
Diffstat (limited to 'testsuite/synth/issue2129/isx.vhdl')
-rw-r--r-- | testsuite/synth/issue2129/isx.vhdl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/synth/issue2129/isx.vhdl b/testsuite/synth/issue2129/isx.vhdl new file mode 100644 index 000000000..e72f2a8a9 --- /dev/null +++ b/testsuite/synth/issue2129/isx.vhdl @@ -0,0 +1,23 @@ +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +entity isx is + port ( + s : in std_ulogic_vector(1 downto 0); + u : in signed(1 downto 0) + ); +end entity isx; + +architecture rtl of isx is +begin + test1 : process(all) + begin + if is_X(s) then + report "std_ulogic test" severity FAILURE; + end if; + if is_X(u) then + report "unsigned test" severity FAILURE; + end if; + end process; +end; |