#ifndef morpheo_behavioural_core_multi_front_end_front_end_decod_unit_Parameters_h
#define morpheo_behavioural_core_multi_front_end_front_end_decod_unit_Parameters_h

/*
 * $Id: Parameters.h 111 2009-02-27 18:37:40Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/include/Parameters.h"
#include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/include/Parameters.h"

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

namespace morpheo {
namespace behavioural {
namespace core {
namespace multi_front_end {
namespace front_end {
namespace decod_unit {


  class Parameters : public morpheo::behavioural::Parameters
  {
    //-----[ fields ]------------------------------------------------------------
  public : uint32_t            _nb_context                   ;
  public : uint32_t          * _nb_inst_fetch                ; //[nb_context]
  public : uint32_t            _nb_inst_decod                ;
  public : uint32_t            _size_queue                   ;
  public : decod_queue::Tdecod_queue_scheme_t
                               _queue_scheme                 ;
//public : uint32_t            _size_general_data            ;
  public : uint32_t          * _nb_branch_speculated         ; //[nb_context]
//public : uint32_t          * _size_branch_update_prediction; //[nb_context]
  public : uint32_t            _nb_context_select            ;
  public : Tpriority_t         _select_priority              ;
  public : Tload_balancing_t   _select_load_balancing        ;
  public : bool             ** _instruction_implemeted       ; //[nb_context][nb_instruction]
  public : morpheo::behavioural::custom::custom_information_t (*_get_custom_information) (void);

//public : uint32_t            _size_address_inst;
  public : uint32_t            _max_nb_inst_fetch;

  public : morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod      ::Parameters * _param_decod;
  public : morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod_queue::Parameters * _param_decod_queue;

    //-----[ methods ]-----------------------------------------------------------
  public : Parameters  (uint32_t            nb_context                   ,
			uint32_t          * nb_inst_fetch                ,
			uint32_t            nb_inst_decod                ,
			uint32_t            size_queue                   ,
                        decod_queue::Tdecod_queue_scheme_t
                        		    queue_scheme                 ,
			uint32_t            size_general_data            ,
			uint32_t          * nb_branch_speculated         ,
// 			uint32_t          * size_branch_update_prediction,
			uint32_t            nb_context_select            ,
			Tpriority_t         select_priority              ,
			Tload_balancing_t   select_load_balancing        ,
			bool             ** instruction_implemeted       ,
			morpheo::behavioural::custom::custom_information_t (*get_custom_information) (void),
                        bool                is_toplevel=false
                        );
//   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_front_end::front_end::decod_unit::Parameters & x);
  };

}; // end namespace decod_unit
}; // end namespace front_end
}; // end namespace multi_front_end
}; // end namespace core

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

#endif
