diff options
Diffstat (limited to 'testsuite/synth/issue2080/tb_ent.vhdl')
-rw-r--r-- | testsuite/synth/issue2080/tb_ent.vhdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/synth/issue2080/tb_ent.vhdl b/testsuite/synth/issue2080/tb_ent.vhdl new file mode 100644 index 000000000..d9aed6d71 --- /dev/null +++ b/testsuite/synth/issue2080/tb_ent.vhdl @@ -0,0 +1,20 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity tb_ent is +end entity; + +architecture a of tb_ent is + signal a, b : std_logic_vector(7 downto 0); +begin + uut: entity work.ent port map (a => a, b => b); + + process + begin + a <= x"42"; + wait for 1 ns; + assert b = x"00"; + + wait; + end process; +end architecture; |