#ifndef morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_register_translation_unit_free_list_unit_Parameters_h
#define morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_register_translation_unit_free_list_unit_Parameters_h

/*
 * $Id: Parameters.h 109 2009-02-16 20:28:31Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Common/include/Debug.h"
#include "Behavioural/include/Types.h"
#include "Behavioural/include/Parameters.h"

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


  class Parameters : public morpheo::behavioural::Parameters
  {
    //-----[ fields ]------------------------------------------------------------
  public : uint32_t    _nb_thread            ;
  public : uint32_t    _nb_general_register  ;
  public : uint32_t    _nb_special_register  ;
  public : uint32_t    _nb_bank              ;
  public : uint32_t    _nb_pop               ;
  public : uint32_t    _nb_push              ;
  public : Tpriority_t _priority             ;

//public : uint32_t    _size_general_register;
//public : uint32_t    _size_special_register;

//   public : uint32_t    _nb_bank_by_pop       ;
  public : uint32_t    _bank_gpr_nb_slot     ;
  public : uint32_t    _bank_gpr_size_slot   ;
  public : uint32_t    _bank_spr_nb_slot     ;
  public : uint32_t    _bank_spr_size_slot   ;
  public : uint32_t    _mask_gpr             ;
  public : uint32_t    _mask_spr             ;

    //-----[ methods ]-----------------------------------------------------------
  public : Parameters  (uint32_t    nb_thread          ,
			uint32_t    nb_general_register,
			uint32_t    nb_special_register,
			uint32_t    nb_bank            ,
			uint32_t    nb_pop             ,
			uint32_t    nb_push            ,
			Tpriority_t priority           ,
                        bool        is_toplevel=false);
//   public : Parameters  (Parameters & param) ;
  public : ~Parameters () ;

  public :        Parameters_test msg_error  (void);

  public :        void            copy       (void);

  public :        std::string     print      (uint32_t depth);
  public : friend std::ostream&   operator<< (std::ostream& output_stream,
					      morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::register_translation_unit::free_list_unit::Parameters & x);
  };

}; // end namespace free_list_unit
}; // 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              

#endif
