-- Model Name : Reduced Activity - Parwan Status Register -- Author : Zainalabedin Navabi -- Last Updated : 09 / 15 / 1996 -- This document is © copyrighted by the Author.
LIBRARY IEEE;
USE IEEE.std_logic_1164.ALL;
--
LIBRARY EXEMPLAR;
USE EXEMPLAR.exemplar_1164.ALL;
--
LIBRARY WORK;
USE WORK.synthesis_parameters.ALL;
USE WORK.synthesis_utilities.ALL;
USE WORK.global_environment.ALL;
--
ENTITY status_register_unit IS
    PORT (load, cm_carry : IN std_logic );
END status_register_unit;
--
ARCHITECTURE synthesizable_behavioral OF status_register_unit IS
BEGIN
    PROCESS (load, cm_carry)
    BEGIN
      IF load'EVENT THEN
        sr_out := shu_flags;
      ELSE
        sr_out (2) := NOT sr_out (2);
      END IF;
    END PROCESS;
END synthesizable_behavioral;