-- Model Name : Reduced Activity - Parwan Accumulator -- 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 accumulator_unit IS
    PORT (load, zero : IN std_logic);
END accumulator_unit;
--
ARCHITECTURE synthesizable_behavioral OF accumulator_unit IS
BEGIN
PROCESS (load, zero)
    BEGIN
      IF zero'EVENT THEN
        ac_out := "00000000";
      ELSE
        ac_out := obus;
      END IF;
    END PROCESS;
END synthesizable_behavioral;