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

ARCHITECTURE spec OF pc_mux IS
BEGIN
   -------------------------------------------------------------------
   vhdl_pc_mux : PROCESS (BAddr, JAddr, NextPC, PCmode, B1)
   -------------------------------------------------------------------
	variable result : mips_word;
   BEGIN
	case PCmode is
	when "00" =>
		result := NextPC;
	when "01" =>
		result := JAddr;
	when "10" =>
		result := BAddr;
	when "11" =>
		result := B1;
	when others =>
		result := (OTHERS => 'X');
	end case;

   PCIn <= result after 2 ns;
   END PROCESS vhdl_pc_mux ;
END spec ;