source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/include/Parameters.h @ 82

Last change on this file since 82 was 82, checked in by rosiere, 16 years ago
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_decod_unit_decod_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_decod_unit_decod_Parameters_h
3
4/*
5 * $Id: Parameters.h 82 2008-05-01 16:48:45Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Common/include/Debug.h"
12#include "Behavioural/include/Parameters.h"
13#include "Behavioural/include/Types.h"
14#include "Behavioural/Custom/include/Custom.h"
15#include "Behavioural/Custom/include/Custom_default.h"
16
17namespace morpheo {
18namespace behavioural {
19namespace core {
20namespace multi_front_end {
21namespace front_end {
22namespace decod_unit {
23namespace decod {
24
25  class Parameters : public morpheo::behavioural::Parameters
26  {
27    //-----[ fields ]------------------------------------------------------------
28  public : uint32_t            _nb_context                   ;
29  public : uint32_t          * _nb_inst_fetch                ; //[nb_context]
30  public : uint32_t            _nb_inst_decod                ;
31  public : uint32_t            _size_general_data            ;
32  public : uint32_t            _nb_branch_speculated         ;
33  public : uint32_t            _size_branch_update_prediction;
34  public : uint32_t            _nb_context_select            ;
35  public : Tpriority_t         _priority                     ;
36  public : Tload_balancing_t   _load_balancing               ;
37  public : bool             ** _instruction_implemeted       ; //[nb_context][nb_instruction]
38  public : morpheo::behavioural::custom::custom_information_t (*_get_custom_information) (uint32_t);
39   
40  public : uint32_t            _max_nb_inst_fetch     ;
41
42  public : uint32_t            _size_context_id       ;
43  public : uint32_t            _size_depth            ;
44  public : uint32_t            _size_inst_ifetch_ptr  ;
45                                                     
46  public : bool                _have_port_context_id                 ;
47  public : bool                _have_port_depth                      ;
48  public : bool                _have_port_branch_update_prediction_id;
49  public : bool                _have_port_inst_ifetch_ptr            ;
50
51    //-----[ methods ]-----------------------------------------------------------
52
53  public : Parameters  (uint32_t            nb_context                   ,
54                        uint32_t          * nb_inst_fetch                ,
55                        uint32_t            nb_inst_decod                ,
56                        uint32_t            size_general_data            ,
57                        uint32_t            nb_branch_speculated         ,
58                        uint32_t            size_branch_update_prediction,
59                        uint32_t            nb_context_select            ,
60                        Tpriority_t         priority                     ,
61                        Tload_balancing_t   load_balancing               ,
62                        bool             ** instruction_implemeted       ,
63                        morpheo::behavioural::custom::custom_information_t (*get_custom_information) (uint32_t));
64
65//   public : Parameters  (Parameters & param) ;
66  public : ~Parameters () ;
67
68  public :        Parameters_test msg_error  (void);
69
70  public :        std::string     print      (uint32_t depth);
71  public : friend std::ostream&   operator<< (std::ostream& output_stream,
72                                              morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod::Parameters & x);
73  };
74
75}; // end namespace decod
76}; // end namespace decod_unit
77}; // end namespace front_end
78}; // end namespace multi_front_end
79}; // end namespace core
80
81}; // end namespace behavioural
82}; // end namespace morpheo             
83
84#endif
Note: See TracBrowser for help on using the repository browser.