Changeset 48 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include
- Timestamp:
- Aug 8, 2007, 9:16:10 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_Meta_Predictor_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_Meta_Predictor_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Meta_Predictor_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Meta_Predictor_h 3 3 4 4 /* … … 18 18 19 19 // Internal structure 20 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"21 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"20 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 21 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 22 22 23 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Parameters.h"24 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Types.h"23 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h" 24 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Types.h" 25 25 #ifdef STATISTICS 26 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Statistics.h"26 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Statistics.h" 27 27 #endif 28 28 #ifdef VHDL … … 35 35 namespace morpheo { 36 36 namespace behavioural { 37 namespace stage_1_ifetch { 38 namespace predictor { 37 namespace core { 38 namespace multi_front_end { 39 namespace front_end { 40 namespace prediction_unit { 41 namespace direction { 42 39 43 namespace meta_predictor { 40 44 … … 82 86 83 87 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Two_Level_Branch_Predictor * component_Two_Level_Branch_Predictor_0;85 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Two_Level_Branch_Predictor * component_Two_Level_Branch_Predictor_1;86 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Two_Level_Branch_Predictor * component_Two_Level_Branch_Predictor_2;87 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Meta_Predictor_Glue * component_Meta_Predictor_Glue ;88 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Two_Level_Branch_Predictor * component_Two_Level_Branch_Predictor_0; 89 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Two_Level_Branch_Predictor * component_Two_Level_Branch_Predictor_1; 90 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Two_Level_Branch_Predictor * component_Two_Level_Branch_Predictor_2; 91 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Meta_Predictor_Glue * component_Meta_Predictor_Glue ; 88 92 89 93 // ~~~~~[ Register ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 96 100 private : SC_SIGNAL(Tcontrol_t) ** signal_PREDICT_PREDICTOR_2_ACK ; 97 101 98 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_PREDICT_PREDICTOR_0_BHT_HISTORY;99 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_PREDICT_PREDICTOR_0_PHT_HISTORY;100 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_PREDICT_PREDICTOR_1_BHT_HISTORY;101 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_PREDICT_PREDICTOR_1_PHT_HISTORY;102 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_PREDICT_PREDICTOR_2_BHT_HISTORY;103 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_PREDICT_PREDICTOR_2_PHT_HISTORY;102 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_PREDICT_PREDICTOR_0_BHT_HISTORY; 103 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_PREDICT_PREDICTOR_0_PHT_HISTORY; 104 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_PREDICT_PREDICTOR_1_BHT_HISTORY; 105 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_PREDICT_PREDICTOR_1_PHT_HISTORY; 106 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_PREDICT_PREDICTOR_2_BHT_HISTORY; 107 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_PREDICT_PREDICTOR_2_PHT_HISTORY; 104 108 105 109 … … 110 114 private : SC_SIGNAL(Tcontrol_t) ** signal_BRANCH_COMPLETE_PREDICTOR_2_DIRECTION; 111 115 112 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_0_BHT_HISTORY;113 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_0_PHT_HISTORY;114 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_1_BHT_HISTORY;115 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_1_PHT_HISTORY;116 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_2_BHT_HISTORY;117 private : SC_SIGNAL(morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_2_PHT_HISTORY;116 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_0_BHT_HISTORY; 117 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_0_PHT_HISTORY; 118 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_1_BHT_HISTORY; 119 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_1_PHT_HISTORY; 120 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tbht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_2_BHT_HISTORY; 121 private : SC_SIGNAL(morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Tpht_history_t) ** signal_BRANCH_COMPLETE_PREDICTOR_2_PHT_HISTORY; 118 122 119 123 #endif … … 161 165 162 166 }; // end namespace meta_predictor 163 }; // end namespace predictor 164 }; // end namespace stage_1_ifetch 167 168 }; // end namespace core 169 }; // end namespace multi_front_end 170 }; // end namespace front_end 171 }; // end namespace prediction_unit 172 }; // end namespace direction 173 165 174 166 175 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_Parameters_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_Parameters_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Parameters_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Parameters_h 3 3 4 4 /* … … 11 11 #include "Common/include/Debug.h" 12 12 #include "Behavioural/include/Parameters.h" 13 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h"14 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h"13 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h" 14 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h" 15 15 #include <math.h> 16 16 17 17 namespace morpheo { 18 18 namespace behavioural { 19 namespace stage_1_ifetch { 20 namespace predictor { 19 namespace core { 20 namespace multi_front_end { 21 namespace front_end { 22 namespace prediction_unit { 23 namespace direction { 24 21 25 namespace meta_predictor { 22 26 … … 56 60 public : const uint32_t _size_history ; 57 61 58 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters * _param_two_level_branch_predictor_0;59 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters * _param_two_level_branch_predictor_1;60 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters * _param_two_level_branch_predictor_2;61 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters * _param_meta_predictor_glue;62 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters * _param_two_level_branch_predictor_0; 63 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters * _param_two_level_branch_predictor_1; 64 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters * _param_two_level_branch_predictor_2; 65 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters * _param_meta_predictor_glue; 62 66 63 67 //-----[ methods ]----------------------------------------------------------- … … 98 102 public : string print (uint32_t depth); 99 103 public : friend ostream& operator<< (ostream& output_stream, 100 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::Parameters & x);104 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Parameters & x); 101 105 }; 102 106 103 107 }; // end namespace meta_predictor 104 }; // end namespace predictor 105 }; // end namespace stage_1_ifetch 108 109 }; // end namespace core 110 }; // end namespace multi_front_end 111 }; // end namespace front_end 112 }; // end namespace prediction_unit 113 }; // end namespace direction 114 106 115 }; // end namespace behavioural 107 116 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Statistics.h
r45 r48 1 1 #ifdef STATISTICS 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_Statistics_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_Statistics_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Statistics_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Statistics_h 4 4 5 5 /* … … 14 14 #include "Behavioural/include/Parameters_Statistics.h" 15 15 //#include "Behavioural/Generic/Group/include/Statistics.h" 16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Parameters.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h" 17 17 18 18 //using namespace morpheo::behavioural::generic::group; … … 20 20 namespace morpheo { 21 21 namespace behavioural { 22 namespace stage_1_ifetch { 23 namespace predictor { 22 namespace core { 23 namespace multi_front_end { 24 namespace front_end { 25 namespace prediction_unit { 26 namespace direction { 27 24 28 namespace meta_predictor { 25 29 … … 49 53 50 54 }; // end namespace meta_predictor 51 }; // end namespace predictor 52 }; // end namespace stage_1_ifetch 55 56 }; // end namespace core 57 }; // end namespace multi_front_end 58 }; // end namespace front_end 59 }; // end namespace prediction_unit 60 }; // end namespace direction 61 53 62 54 63 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Types.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_Type_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_Type_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Type_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Type_h 3 3 4 4 /* … … 13 13 namespace morpheo { 14 14 namespace behavioural { 15 namespace stage_1_ifetch { 16 namespace predictor { 15 namespace core { 16 namespace multi_front_end { 17 namespace front_end { 18 namespace prediction_unit { 19 namespace direction { 20 17 21 namespace meta_predictor { 18 22 … … 21 25 22 26 }; // end namespace meta_predictor 23 }; // end namespace predictor 24 }; // end namespace stage_1_ifetch 27 28 }; // end namespace core 29 }; // end namespace multi_front_end 30 }; // end namespace front_end 31 }; // end namespace prediction_unit 32 }; // end namespace direction 33 25 34 }; // end namespace behavioural 26 35 }; // end namespace morpheo
Note: See TracChangeset
for help on using the changeset viewer.