[2] | 1 | #ifndef morpheo_behavioural_stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Parameters_h |
---|
| 2 | #define morpheo_behavioural_stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_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/Shifter/include/Parameters.h" |
---|
[15] | 15 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h" |
---|
[2] | 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 branch_history_table { |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 28 | { |
---|
| 29 | //-----[ fields ]------------------------------------------------------------ |
---|
| 30 | public : const uint32_t _size_shifter ; |
---|
| 31 | public : const uint32_t _nb_shifter ; |
---|
| 32 | public : const uint32_t _nb_prediction ; |
---|
| 33 | public : const uint32_t _nb_branch_complete; |
---|
| 34 | |
---|
| 35 | public : morpheo::behavioural::generic::shifter::Parameters * _param_shifter; |
---|
[15] | 36 | public : morpheo::behavioural::generic::registerfile::registerfile_monolithic::Parameters * _param_registerfile; |
---|
[2] | 37 | |
---|
| 38 | //-----[ methods ]----------------------------------------------------------- |
---|
| 39 | public : Parameters (uint32_t size_shifter , |
---|
| 40 | uint32_t nb_shifter , |
---|
| 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::branch_history_table::Parameters & x); |
---|
| 51 | }; |
---|
| 52 | |
---|
| 53 | }; // end namespace branch_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 | }; // end namespace behavioural |
---|
| 59 | }; // end namespace morpheo |
---|
| 60 | |
---|
| 61 | #endif |
---|