--
-- Component : ab_mux
--
-- Generated by System Architect version v8.5_2.2 by ja-wells on Mar 21, 97
--
-- sensitivity_attr :: 'transaction

ARCHITECTURE spec OF ab_mux IS
BEGIN
   -------------------------------------------------------------------
   vhdl_ab_mux : PROCESS (selAB, ALU_M, DOut, Imm_X, ROut2_X)
   -------------------------------------------------------------------
	variable result : mips_word;
   BEGIN
	case selAB is
	when "00" =>
		result := ROut2_X;
	when "01" =>
		result := Imm_X;
	when "10" =>
		result := ALU_M;
	when "11" =>
		result := DOut;
	when others =>
		result := (OTHERS => 'X');
	end case;

	inB <= result after 2 ns;

   END PROCESS vhdl_ab_mux ;
END spec ;