/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/include/Register_translation_unit_Glue.h"

namespace morpheo                    {
namespace behavioural {
namespace core {
namespace multi_ooo_engine {
namespace ooo_engine {
namespace rename_unit {
namespace register_translation_unit {
namespace register_translation_unit_glue {


#undef  FUNCTION
#define FUNCTION "Register_translation_unit_Glue::deallocation"
  void Register_translation_unit_Glue::deallocation (void)
  {
    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");

    if (_usage & USE_SYSTEMC)
      {
	delete     in_CLOCK ;
	delete     in_NRESET;

	delete []  in_INSERT_RENAME_VAL    ;
	delete [] out_INSERT_RENAME_ACK    ;
	delete [] out_INSERT_INSERT_VAL    ;
	delete []  in_INSERT_INSERT_ACK    ;
	delete [] out_INSERT_RAT_INSERT_VAL;
	delete []  in_INSERT_RAT_RENAME_ACK;
	delete []  in_INSERT_RAT_INSERT_ACK;
	delete [] out_INSERT_FREE_LIST_VAL ;
	delete []  in_INSERT_FREE_LIST_ACK ;
	delete [] out_INSERT_STAT_LIST_VAL ;
	delete []  in_INSERT_STAT_LIST_ACK ;

	delete []  in_RETIRE_VAL           ;
	delete [] out_RETIRE_ACK           ;
	delete [] out_RETIRE_RAT_VAL       ;
	delete []  in_RETIRE_RAT_ACK       ;
	delete [] out_RETIRE_STAT_LIST_VAL ;
	delete []  in_RETIRE_STAT_LIST_ACK ;
      }
    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    

    delete _component;

    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
  };

}; // end namespace register_translation_unit_glue
}; // end namespace register_translation_unit
}; // end namespace rename_unit
}; // end namespace ooo_engine
}; // end namespace multi_ooo_engine
}; // end namespace core

}; // end namespace behavioural
}; // end namespace morpheo              
