1 | #ifndef morpheo_behavioural_stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Parameters_h |
---|
2 | #define morpheo_behavioural_stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Parameters_h |
---|
3 | |
---|
4 | /* |
---|
5 | * $Id$ |
---|
6 | * |
---|
7 | * [ Description ] |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #include "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 stage_1_ifetch { |
---|
21 | namespace predictor { |
---|
22 | namespace meta_predictor { |
---|
23 | namespace two_level_branch_predictor { |
---|
24 | namespace pattern_history_table { |
---|
25 | |
---|
26 | |
---|
27 | class Parameters : public morpheo::behavioural::Parameters |
---|
28 | { |
---|
29 | //-----[ fields ]------------------------------------------------------------ |
---|
30 | public : const uint32_t _size_counter ; |
---|
31 | public : const uint32_t _nb_counter ; |
---|
32 | public : const uint32_t _nb_prediction ; |
---|
33 | public : const uint32_t _nb_branch_complete; |
---|
34 | |
---|
35 | public : morpheo::behavioural::generic::counter::Parameters * _param_counter; |
---|
36 | public : morpheo::behavioural::generic::registerfile::registerfile_monolithic::Parameters * _param_registerfile; |
---|
37 | |
---|
38 | //-----[ methods ]----------------------------------------------------------- |
---|
39 | public : Parameters (uint32_t size_counter , |
---|
40 | uint32_t nb_counter , |
---|
41 | uint32_t nb_prediction , |
---|
42 | uint32_t nb_branch_complete); |
---|
43 | public : Parameters (Parameters & param) ; |
---|
44 | public : ~Parameters () ; |
---|
45 | |
---|
46 | public : string msg_error (void); |
---|
47 | |
---|
48 | public : string print (uint32_t depth); |
---|
49 | public : friend ostream& operator<< (ostream& output_stream, |
---|
50 | morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters & x); |
---|
51 | }; |
---|
52 | |
---|
53 | }; // end namespace pattern_history_table |
---|
54 | }; // end namespace two_level_branch_predictor |
---|
55 | }; // end namespace meta_predictor |
---|
56 | }; // end namespace predictor |
---|
57 | }; // end namespace stage_1_ifetch |
---|
58 | |
---|
59 | }; // end namespace behavioural |
---|
60 | }; // end namespace morpheo |
---|
61 | |
---|
62 | #endif |
---|