diff options
Diffstat (limited to 'testsuite/synth/case01/tb_case04.vhdl')
-rw-r--r-- | testsuite/synth/case01/tb_case04.vhdl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/synth/case01/tb_case04.vhdl b/testsuite/synth/case01/tb_case04.vhdl new file mode 100644 index 000000000..ea3b6b5e6 --- /dev/null +++ b/testsuite/synth/case01/tb_case04.vhdl @@ -0,0 +1,24 @@ +entity tb_case04 is +end tb_case04; + +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +architecture behav of tb_case04 is + signal s : std_logic_vector (4 downto 0); + signal o : std_logic; +begin + dut: entity work.case04 + port map (s, o); + + process + begin + s <= "00010"; + wait for 1 ns; + + assert o = '1' severity failure; + + wait; + end process; +end behav; |