 ****** UART_LED_pkg ******
 -- Components declarationrom uar_led.vhd
	component uart_rx is
	component reset_bridge is
	component meta_harden is
	component LED_manager is
	
 -- Constants declaration for gnd_i
    constant gnd_i                  : std_logic_vector(7 downto 0) := (others=>'0');

	
  --define functions
  function and_bits_together ( data_in : std_logic_vector ) return std_logic;
  function or_bits_together ( data_in : std_logic_vector ) return std_logic;


  function and_bits_together ( data_in : std_logic_vector ) return std_logic is
  begin
    for i in data_in'range loop
      if data_in(i) = '0' then return '0';
      end if;
    end loop;
    return '1';
  end function and_bits_together;

  function or_bits_together ( data_in : std_logic_vector ) return std_logic is
  begin
    for i in data_in'range loop
      if data_in(i) = '1' then return '1';
      end if;
    end loop;
    return '0';
  end function or_bits_together;





