1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_pattern_history_table_Parameters_h |
---|
2 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_pattern_history_table_Parameters_h |
---|
3 | |
---|
4 | /* |
---|
5 | * $Id: Parameters.h 81 2008-04-15 18:40:01Z rosiere $ |
---|
6 | * |
---|
7 | * [ Description ] |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #include "Common/include/Debug.h" |
---|
12 | #include "Behavioural/include/Parameters.h" |
---|
13 | // Internal structure |
---|
14 | #include "Behavioural/Generic/Counter/include/Parameters.h" |
---|
15 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h" |
---|
16 | #include <math.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 | namespace meta_predictor { |
---|
27 | namespace two_level_branch_predictor { |
---|
28 | namespace pattern_history_table { |
---|
29 | |
---|
30 | |
---|
31 | class Parameters : public morpheo::behavioural::Parameters |
---|
32 | { |
---|
33 | //-----[ fields ]------------------------------------------------------------ |
---|
34 | public : const uint32_t _size_counter ; |
---|
35 | public : const uint32_t _nb_counter ; |
---|
36 | public : const uint32_t _nb_prediction ; |
---|
37 | public : const uint32_t _nb_branch_complete; |
---|
38 | |
---|
39 | public : morpheo::behavioural::generic::counter::Parameters * _param_counter; |
---|
40 | public : morpheo::behavioural::generic::registerfile::registerfile_monolithic::Parameters * _param_registerfile; |
---|
41 | |
---|
42 | //-----[ methods ]----------------------------------------------------------- |
---|
43 | public : Parameters (uint32_t size_counter , |
---|
44 | uint32_t nb_counter , |
---|
45 | uint32_t nb_prediction , |
---|
46 | uint32_t nb_branch_complete); |
---|
47 | public : Parameters (Parameters & param) ; |
---|
48 | public : ~Parameters () ; |
---|
49 | |
---|
50 | public : string msg_error (void); |
---|
51 | |
---|
52 | public : string print (uint32_t depth); |
---|
53 | public : friend ostream& operator<< (ostream& output_stream, |
---|
54 | morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters & x); |
---|
55 | }; |
---|
56 | |
---|
57 | }; // end namespace pattern_history_table |
---|
58 | }; // end namespace two_level_branch_predictor |
---|
59 | }; // end namespace meta_predictor |
---|
60 | |
---|
61 | }; // end namespace core |
---|
62 | }; // end namespace multi_front_end |
---|
63 | }; // end namespace front_end |
---|
64 | }; // end namespace prediction_unit |
---|
65 | }; // end namespace direction |
---|
66 | |
---|
67 | |
---|
68 | }; // end namespace behavioural |
---|
69 | }; // end namespace morpheo |
---|
70 | |
---|
71 | #endif |
---|