/*
 * $Id: Parameters.cpp 88 2008-12-10 18:31:39Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/include/Parameters.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::Parameters"
  Parameters::Parameters (uint32_t nb_inst_insert,
			  uint32_t nb_inst_retire,
			  uint32_t size_general_register,
			  uint32_t size_special_register,
                          bool     is_toplevel)
  {
    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");

    _nb_inst_insert        = nb_inst_insert;
    _nb_inst_retire        = nb_inst_retire;

    test();

    if (is_toplevel)
      {
        _size_general_register = size_general_register;
        _size_special_register = size_special_register;

        copy ();
      }

    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
  };
  
// #undef  FUNCTION
// #define FUNCTION "Register_translation_unit_Glue::Parameters (copy)"
//   Parameters::Parameters (Parameters & param)
//   {
//     log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
//     test();
//     log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
//   };

#undef  FUNCTION
#define FUNCTION "Register_translation_unit_Glue::~Parameters"
  Parameters::~Parameters (void) 
  {
    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
  };

#undef  FUNCTION
#define FUNCTION "Register_translation_unit_Glue::copy"
  void Parameters::copy (void) 
  {
    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
    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              
