1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_Parameters_h |
---|
2 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_Parameters_h |
---|
3 | |
---|
4 | /* |
---|
5 | * $Id: Parameters.h 111 2009-02-27 18:37:40Z rosiere $ |
---|
6 | * |
---|
7 | * [ Description ] |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #include "Common/include/Debug.h" |
---|
12 | #include "Behavioural/include/Types.h" |
---|
13 | #include "Behavioural/include/Parameters.h" |
---|
14 | |
---|
15 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/include/Parameters.h" |
---|
16 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h" |
---|
17 | |
---|
18 | namespace morpheo { |
---|
19 | namespace behavioural { |
---|
20 | namespace core { |
---|
21 | namespace multi_front_end { |
---|
22 | namespace front_end { |
---|
23 | namespace prediction_unit { |
---|
24 | namespace direction { |
---|
25 | |
---|
26 | |
---|
27 | class Parameters : public morpheo::behavioural::Parameters |
---|
28 | { |
---|
29 | //-----[ fields ]------------------------------------------------------------ |
---|
30 | public : Tpredictor_t _predictor_scheme ; |
---|
31 | public : uint32_t _nb_inst_predict ; |
---|
32 | public : uint32_t _nb_inst_update ; |
---|
33 | //public : uint32_t _size_address ; |
---|
34 | public : bool _have_bht [3]; |
---|
35 | public : uint32_t _bht_size_shifter [3]; |
---|
36 | public : uint32_t _bht_nb_shifter [3]; |
---|
37 | public : bool _have_pht [3]; |
---|
38 | public : uint32_t _pht_size_counter [3]; |
---|
39 | public : uint32_t _pht_nb_counter [3]; |
---|
40 | public : uint32_t _pht_size_address_share [3]; |
---|
41 | |
---|
42 | public : uint32_t _size_history; |
---|
43 | |
---|
44 | public : bool _have_component_meta_predictor; |
---|
45 | public : bool _have_port_history; |
---|
46 | |
---|
47 | public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::direction_glue::Parameters * _param_glue; |
---|
48 | public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Parameters * _param_meta_predictor; |
---|
49 | |
---|
50 | //-----[ methods ]----------------------------------------------------------- |
---|
51 | public : Parameters (Tpredictor_t predictor_scheme , |
---|
52 | uint32_t nb_inst_predict , |
---|
53 | uint32_t nb_inst_update , |
---|
54 | uint32_t size_address , |
---|
55 | bool have_bht [3], |
---|
56 | uint32_t bht_size_shifter [3], |
---|
57 | uint32_t bht_nb_shifter [3], |
---|
58 | bool have_pht [3], |
---|
59 | uint32_t pht_size_counter [3], |
---|
60 | uint32_t pht_nb_counter [3], |
---|
61 | uint32_t pht_size_address_share [3], |
---|
62 | bool is_toplevel=false |
---|
63 | ); |
---|
64 | |
---|
65 | // public : Parameters (Parameters & param) ; |
---|
66 | public : ~Parameters () ; |
---|
67 | |
---|
68 | public : void copy (void); |
---|
69 | |
---|
70 | public : Parameters_test msg_error (void); |
---|
71 | |
---|
72 | public : std::string print (uint32_t depth); |
---|
73 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
74 | morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::Parameters & x); |
---|
75 | }; |
---|
76 | |
---|
77 | }; // end namespace direction |
---|
78 | }; // end namespace prediction_unit |
---|
79 | }; // end namespace front_end |
---|
80 | }; // end namespace multi_front_end |
---|
81 | }; // end namespace core |
---|
82 | |
---|
83 | }; // end namespace behavioural |
---|
84 | }; // end namespace morpheo |
---|
85 | |
---|
86 | #endif |
---|