aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug040/muxb_784.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug040/muxb_784.vhd')
-rw-r--r--testsuite/gna/bug040/muxb_784.vhd22
1 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/bug040/muxb_784.vhd b/testsuite/gna/bug040/muxb_784.vhd
new file mode 100644
index 000000000..02ee063d1
--- /dev/null
+++ b/testsuite/gna/bug040/muxb_784.vhd
@@ -0,0 +1,22 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+library ieee;
+use ieee.numeric_std.all;
+
+entity muxb_784 is
+ port (
+ in_sel : in std_logic;
+ out_data : out std_logic_vector(31 downto 0);
+ in_data0 : in std_logic_vector(31 downto 0);
+ in_data1 : in std_logic_vector(31 downto 0)
+ );
+end muxb_784;
+
+architecture augh of muxb_784 is
+begin
+
+ out_data <= in_data0 when in_sel = '0' else in_data1;
+
+end architecture;
+