From 75d82a9f92a1845ae933d2599cddf92f938446af Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 29 Nov 2019 19:09:13 +0100 Subject: testsuite: add case for #1046 --- testsuite/synth/issue1046/tb_concat01.vhdl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testsuite/synth/issue1046/tb_concat01.vhdl (limited to 'testsuite/synth/issue1046/tb_concat01.vhdl') diff --git a/testsuite/synth/issue1046/tb_concat01.vhdl b/testsuite/synth/issue1046/tb_concat01.vhdl new file mode 100644 index 000000000..1c6f25cc2 --- /dev/null +++ b/testsuite/synth/issue1046/tb_concat01.vhdl @@ -0,0 +1,20 @@ +entity tb_concat01 is +end tb_concat01; + +library ieee; +use ieee.std_logic_1164.all; + +architecture behav of tb_concat01 is + signal a : std_logic_vector(15 downto 0); +begin + dut: entity work.concat01 + port map (a); + + process + begin + wait for 1 ns; + assert a = x"ab9e" severity failure; + + wait; + end process; +end behav; -- cgit v1.2.3