#ifndef morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_rename_select_Parameters_h
#define morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_rename_select_Parameters_h

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

#include "Common/include/Debug.h"
#include "Behavioural/include/Parameters.h"
#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/include/Types.h"

namespace morpheo {
namespace behavioural {
namespace core {
namespace multi_ooo_engine {
namespace ooo_engine {
namespace rename_unit {
namespace rename_select {


  class Parameters : public morpheo::behavioural::Parameters
  {
    //-----[ fields ]------------------------------------------------------------
  public : uint32_t          _nb_front_end          ;
  public : uint32_t *        _nb_context            ;//[nb_front_end]
  public : uint32_t          _max_branch_speculated ;
//public : uint32_t          _size_general_data     ;
  public : uint32_t          _nb_inst_rename        ;
  public : uint32_t *        _nb_inst_decod         ;//[nb_front_end]
  public : uint32_t          _nb_front_end_select   ;
  public : Tpriority_t       _priority              ;
  public : Tload_balancing_t _load_balancing        ;

  public : uint32_t          _max_nb_inst_decod     ;
//public : uint32_t          _size_depth            ;
//public : uint32_t          _size_front_end_id     ;
//public : uint32_t          _size_context_id       ;

//public : bool              _have_port_front_end_id;
//public : bool              _have_port_context_id  ;
//public : bool              _have_port_depth       ;

    //-----[ methods ]-----------------------------------------------------------
  public : Parameters  (uint32_t          nb_front_end         ,
			uint32_t *        nb_context           ,
//                      uint32_t          size_front_end_id    ,
//                      uint32_t          size_context_id      ,
			uint32_t          max_branch_speculated,
			uint32_t          size_general_data    ,
			uint32_t          nb_inst_rename       ,
			uint32_t *        nb_inst_decod        ,
			uint32_t          nb_front_end_select  ,
			Tpriority_t       priority             ,
			Tload_balancing_t load_balancing       ,
                        bool              is_toplevel=true);
//public : Parameters  (Parameters & param) ;
  public : ~Parameters () ;

  public :        void            copy       (void);

  public :        Parameters_test msg_error  (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::rename_select::Parameters & x);
  };

}; // end namespace rename_select
}; // end namespace rename_unit
}; // end namespace ooo_engine
}; // end namespace multi_ooo_engine
}; // end namespace core

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

#endif
