source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Parameters.h @ 120

Last change on this file since 120 was 120, checked in by rosiere, 15 years ago

1) Context_state : Add statistics
2) Add configuration with multi front_end
3) Add optionnal pid at log filename

  • Property svn:keywords set to Id
File size: 3.4 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_update_prediction_table_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_update_prediction_table_Parameters_h
3
4/*
5 * $Id: Parameters.h 120 2009-05-26 19:01:47Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Common/include/Debug.h"
12#include "Behavioural/include/Parameters.h"
13
14namespace morpheo {
15namespace behavioural {
16namespace core {
17namespace multi_front_end {
18namespace front_end {
19namespace prediction_unit {
20namespace update_prediction_table {
21
22
23  class Parameters : public morpheo::behavioural::Parameters
24  {
25    //-----[ fields ]------------------------------------------------------------
26  public : uint32_t   _nb_context                ;
27  public : uint32_t * _size_upt_queue            ; // [nb_context]
28  public : uint32_t * _size_ufpt_queue           ; // [nb_context]
29//public : uint32_t   _size_address              ;
30  public : uint32_t   _nb_inst_predict           ;
31  public : uint32_t   _nb_inst_decod             ;
32  public : uint32_t   _nb_inst_branch_complete   ;
33  public : uint32_t   _nb_inst_update            ;
34  public : uint32_t   _size_history              ;
35  public : uint32_t * _size_ras_index            ; // [nb_context]
36  public : uint32_t   _nb_thread                          ;
37  public : uint32_t * _translate_num_context_to_num_thread;//[nb_context]                   
38  public : const bool _accurate_block_predict    ;
39  public : const bool _accurate_block_decod      ;
40
41//public : uint32_t   _size_context_id           ;
42//public : uint32_t * _size_depth                ; // [nb_context]
43//public : uint32_t   _max_size_depth            ;
44  public : uint32_t   _max_size_ras_index        ;
45                                                 
46//public : bool       _have_port_context_id      ;
47//public : bool     * _have_port_depth           ; // [nb_context]
48//public : bool       _have_port_max_depth       ;
49  public : bool       _have_port_history         ;
50   
51  public : bool              * _have_thread             ;//[nb_thread]
52
53    //-----[ methods ]-----------------------------------------------------------
54  public : Parameters  (uint32_t   nb_context             ,
55                        uint32_t * size_upt_queue         ,
56                        uint32_t * size_ufpt_queue        ,
57                        uint32_t   size_address           ,
58                        uint32_t   nb_inst_predict        ,
59                        uint32_t   nb_inst_decod          ,
60                        uint32_t   nb_inst_branch_complete,
61                        uint32_t   nb_inst_update         ,
62                        uint32_t   size_history           ,
63                        uint32_t * size_ras_index         ,
64                        uint32_t   nb_thread                           ,
65                        uint32_t * translate_num_context_to_num_thread ,//[nb_context]                   
66                        bool       is_toplevel=false);
67//public : Parameters  (Parameters & param) ;
68  public : ~Parameters () ;
69
70  public :        void            copy       (void);
71
72  public :        Parameters_test msg_error  (void);
73
74  public :        std::string     print      (uint32_t depth);
75  public : friend std::ostream&   operator<< (std::ostream& output_stream,
76                                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::update_prediction_table::Parameters & x);
77  };
78
79}; // end namespace update_prediction_table
80}; // end namespace prediction_unit
81}; // end namespace front_end
82}; // end namespace multi_front_end
83}; // end namespace core
84
85}; // end namespace behavioural
86}; // end namespace morpheo             
87
88#endif
Note: See TracBrowser for help on using the repository browser.