Changeset 48
- Timestamp:
- Aug 8, 2007, 9:16:10 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 194 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Makefile.defs
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_COMPONENT_MORPHEO = ../../../.. 10 DIR_COMPONENT_MORPHEO = ../../../../../../.. 11 11 DIR_MORPHEO = $(DIR_COMPONENT)/$(DIR_COMPONENT_MORPHEO) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Makefile.deps
r5 r48 12 12 endif 13 13 ifndef Two_Level_Branch_Predictor 14 include $(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps14 include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps 15 15 endif 16 16 ifndef Meta_Predictor_Glue 17 include $(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps17 include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps 18 18 endif 19 19 … … 26 26 $(Behavioural_LIBRARY) 27 27 28 Meta_Predictor_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/lib \28 Meta_Predictor_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/lib \ 29 29 $(Meta_Predictor_Glue_DIR_LIBRARY) \ 30 30 $(Two_Level_Branch_Predictor_DIR_LIBRARY) \ … … 34 34 35 35 Meta_Predictor_library : 36 @$(MAKE) Behavioural_library 37 @$(MAKE) Meta_Predictor_Glue_library 38 @$(MAKE) Two_Level_Branch_Predictor_library 39 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor --makefile=Makefile 36 @\ 37 $(MAKE) Behavioural_library;\ 38 $(MAKE) Meta_Predictor_Glue_library;\ 39 $(MAKE) Two_Level_Branch_Predictor_library;\ 40 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor --makefile=Makefile; 40 41 41 42 Meta_Predictor_library_clean : 42 @$(MAKE) Behavioural_library_clean 43 @$(MAKE) Meta_Predictor_Glue_library_clean 44 @$(MAKE) Two_Level_Branch_Predictor_library_clean 45 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor --makefile=Makefile clean 43 @\ 44 $(MAKE) Behavioural_library_clean;\ 45 $(MAKE) Meta_Predictor_Glue_library_clean;\ 46 $(MAKE) Two_Level_Branch_Predictor_library_clean;\ 47 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.defs
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_COMPONENT_MORPHEO = ../../../../.. 10 DIR_COMPONENT_MORPHEO = ../../../../../../../.. 11 11 DIR_MORPHEO = $(DIR_COMPONENT)/$(DIR_COMPONENT_MORPHEO) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps
r4 r48 18 18 $(Behavioural_LIBRARY) 19 19 20 Meta_Predictor_Glue_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/lib \20 Meta_Predictor_Glue_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/lib \ 21 21 $(Behavioural_DIR_LIBRARY) 22 22 … … 24 24 25 25 Meta_Predictor_Glue_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library;\ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue --makefile=Makefile ; 28 29 29 30 Meta_Predictor_Glue_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean;\ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/SelfTest/Makefile
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../../../.. 10 DIR_MORPHEO = ../../../../../../../../.. 11 11 12 12 LIBRARY = $(Meta_Predictor_Glue_LIBRARY) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/SelfTest/include/test.h
r4 r48 14 14 #include <iostream> 15 15 16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 17 17 18 18 using namespace std; 19 19 using namespace morpheo; 20 20 using namespace morpheo::behavioural; 21 using namespace morpheo::behavioural::stage_1_ifetch;22 using namespace morpheo::behavioural::stage_1_ifetch::predictor;23 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor;24 21 25 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue; 22 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction; 23 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor; 24 25 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue; 26 26 27 27 void test (string name, 28 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters param);28 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters param); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/SelfTest/src/main.cpp
r4 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/SelfTest/include/test.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/SelfTest/include/test.h" 9 9 10 10 #define NB_PARAMS 15 … … 66 66 try 67 67 { 68 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters param (have_meta_predictor ,68 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters param (have_meta_predictor , 69 69 predictor_0_have_bht , 70 70 predictor_0_bht_size_shifter , -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/SelfTest/src/test.cpp
r45 r48 9 9 #define NB_ITERATION 1024 10 10 11 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/SelfTest/include/test.h"11 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/SelfTest/include/test.h" 12 12 #include "Common/include/Test.h" 13 13 14 14 void test (string name, 15 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters _param)15 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters _param) 16 16 { 17 17 cout << "<" << name << "> : Simulation SystemC" << endl; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_meta_predictor_glue_Meta_Predictor_Glue_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_meta_predictor_glue_Meta_Predictor_Glue_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_meta_predictor_glue_Meta_Predictor_Glue_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_meta_predictor_glue_Meta_Predictor_Glue_h 3 3 4 4 /* … … 17 17 #include "Common/include/Debug.h" 18 18 19 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h"20 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Types.h"19 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h" 20 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Types.h" 21 21 #ifdef STATISTICS 22 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h"22 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h" 23 23 #endif 24 24 #ifdef VHDL … … 31 31 namespace morpheo { 32 32 namespace behavioural { 33 namespace stage_1_ifetch { 34 namespace predictor { 33 namespace core { 34 namespace multi_front_end { 35 namespace front_end { 36 namespace prediction_unit { 37 namespace direction { 38 35 39 namespace meta_predictor { 36 40 namespace meta_predictor_glue { … … 154 158 }; // end namespace meta_predictor_glue 155 159 }; // end namespace meta_predictor 156 }; // end namespace predictor 157 }; // end namespace stage_1_ifetch 160 161 }; // end namespace core 162 }; // end namespace multi_front_end 163 }; // end namespace front_end 164 }; // end namespace prediction_unit 165 }; // end namespace direction 166 158 167 159 168 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_meta_predictor_glue_Parameters_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_meta_predictor_glue_Parameters_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_meta_predictor_glue_Parameters_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_meta_predictor_glue_Parameters_h 3 3 4 4 /* … … 15 15 namespace morpheo { 16 16 namespace behavioural { 17 namespace stage_1_ifetch { 18 namespace predictor { 17 namespace core { 18 namespace multi_front_end { 19 namespace front_end { 20 namespace prediction_unit { 21 namespace direction { 22 19 23 namespace meta_predictor { 20 24 namespace meta_predictor_glue { … … 77 81 public : string print (uint32_t depth); 78 82 public : friend ostream& operator<< (ostream& output_stream, 79 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters & x);83 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters & x); 80 84 }; 81 85 82 86 }; // end namespace meta_predictor_glue 83 87 }; // end namespace meta_predictor 84 }; // end namespace predictor 85 }; // end namespace stage_1_ifetch 88 89 }; // end namespace core 90 }; // end namespace multi_front_end 91 }; // end namespace front_end 92 }; // end namespace prediction_unit 93 }; // end namespace direction 94 86 95 87 96 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h
r45 r48 1 1 #ifdef STATISTICS 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_meta_predictor_glue_Statistics_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_meta_predictor_glue_Statistics_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_meta_predictor_glue_Statistics_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_meta_predictor_glue_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/Meta_Predictor_Glue/include/Parameters.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/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 namespace meta_predictor_glue { … … 50 54 }; // end namespace meta_predictor_glue 51 55 }; // end namespace meta_predictor 52 }; // end namespace predictor 53 }; // end namespace stage_1_ifetch 56 57 }; // end namespace core 58 }; // end namespace multi_front_end 59 }; // end namespace front_end 60 }; // end namespace prediction_unit 61 }; // end namespace direction 62 54 63 55 64 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Types.h
r45 r48 1 1 #ifdef SYSTEMC 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_meta_predictor_glue_Type_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_meta_predictor_glue_Type_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_meta_predictor_glue_Type_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_meta_predictor_glue_Type_h 4 4 5 5 /* … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace meta_predictor_glue { … … 25 29 }; // end namespace meta_predictor_glue 26 30 }; // end namespace meta_predictor 27 }; // end namespace predictor 28 }; // end namespace stage_1_ifetch 31 32 }; // end namespace core 33 }; // end namespace multi_front_end 34 }; // end namespace front_end 35 }; // end namespace prediction_unit 36 }; // end namespace direction 37 29 38 30 39 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue.cpp
r45 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace meta_predictor_glue { … … 24 28 morpheo::behavioural::Parameters_Statistics param_statistics, 25 29 #endif 26 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters param ):30 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters param ): 27 31 _name (name) 28 32 ,_param (param) … … 266 270 }; // end namespace meta_predictor_glue 267 271 }; // end namespace meta_predictor 268 }; // end namespace predictor 269 }; // end namespace stage_1_ifetch 272 273 }; // end namespace core 274 }; // end namespace multi_front_end 275 }; // end namespace front_end 276 }; // end namespace prediction_unit 277 }; // end namespace direction 278 270 279 }; // end namespace behavioural 271 280 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_allocation.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 199 203 }; // end namespace meta_predictor_glue 200 204 }; // end namespace meta_predictor 201 }; // end namespace predictor 202 }; // end namespace stage_1_ifetch 205 206 }; // end namespace core 207 }; // end namespace multi_front_end 208 }; // end namespace front_end 209 }; // end namespace prediction_unit 210 }; // end namespace direction 211 203 212 204 213 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_deallocation.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 88 92 }; // end namespace meta_predictor_glue 89 93 }; // end namespace meta_predictor 90 }; // end namespace predictor 91 }; // end namespace stage_1_ifetch 94 95 }; // end namespace core 96 }; // end namespace multi_front_end 97 }; // end namespace front_end 98 }; // end namespace prediction_unit 99 }; // end namespace direction 100 92 101 93 102 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_genMealy_branch_complete_ack.cpp
r4 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 34 38 }; // end namespace meta_predictor_glue 35 39 }; // end namespace meta_predictor 36 }; // end namespace predictor 37 }; // end namespace stage_1_ifetch 40 41 }; // end namespace core 42 }; // end namespace multi_front_end 43 }; // end namespace front_end 44 }; // end namespace prediction_unit 45 }; // end namespace direction 46 38 47 }; // end namespace behavioural 39 48 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_genMealy_branch_complete_history.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 #include "Common/include/BitManipulation.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace meta_predictor_glue { … … 49 53 }; // end namespace meta_predictor_glue 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 }; // end namespace behavioural 54 63 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_genMealy_branch_complete_val.cpp
r5 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 76 80 }; // end namespace meta_predictor_glue 77 81 }; // end namespace meta_predictor 78 }; // end namespace predictor 79 }; // end namespace stage_1_ifetch 82 83 }; // end namespace core 84 }; // end namespace multi_front_end 85 }; // end namespace front_end 86 }; // end namespace prediction_unit 87 }; // end namespace direction 88 80 89 }; // end namespace behavioural 81 90 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_genMealy_predict_ack.cpp
r4 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 35 39 }; // end namespace meta_predictor_glue 36 40 }; // end namespace meta_predictor 37 }; // end namespace predictor 38 }; // end namespace stage_1_ifetch 41 42 }; // end namespace core 43 }; // end namespace multi_front_end 44 }; // end namespace front_end 45 }; // end namespace prediction_unit 46 }; // end namespace direction 47 39 48 }; // end namespace behavioural 40 49 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_genMealy_predict_history.cpp
r5 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 96 100 }; // end namespace meta_predictor_glue 97 101 }; // end namespace meta_predictor 98 }; // end namespace predictor 99 }; // end namespace stage_1_ifetch 102 103 }; // end namespace core 104 }; // end namespace multi_front_end 105 }; // end namespace front_end 106 }; // end namespace prediction_unit 107 }; // end namespace direction 108 100 109 }; // end namespace behavioural 101 110 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_statistics.cpp
r4 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 30 34 }; // end namespace meta_predictor_glue 31 35 }; // end namespace meta_predictor 32 }; // end namespace predictor 33 }; // end namespace stage_1_ifetch 36 37 }; // end namespace core 38 }; // end namespace multi_front_end 39 }; // end namespace front_end 40 }; // end namespace prediction_unit 41 }; // end namespace direction 42 34 43 35 44 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_transition.cpp
r4 r48 8 8 */ 9 9 10 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"10 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace meta_predictor_glue { … … 35 39 }; // end namespace meta_predictor_glue 36 40 }; // end namespace meta_predictor 37 }; // end namespace predictor 38 }; // end namespace stage_1_ifetch 41 42 }; // end namespace core 43 }; // end namespace multi_front_end 44 }; // end namespace front_end 45 }; // end namespace prediction_unit 46 }; // end namespace direction 47 39 48 40 49 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_vhdl.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 #include "Behavioural/include/Vhdl.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace meta_predictor_glue { … … 39 43 }; // end namespace meta_predictor_glue 40 44 }; // end namespace meta_predictor 41 }; // end namespace predictor 42 }; // end namespace stage_1_ifetch 45 46 }; // end namespace core 47 }; // end namespace multi_front_end 48 }; // end namespace front_end 49 }; // end namespace prediction_unit 50 }; // end namespace direction 51 43 52 }; // end namespace behavioural 44 53 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_vhdl_body.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 137 141 }; // end namespace meta_predictor_glue 138 142 }; // end namespace meta_predictor 139 }; // end namespace predictor 140 }; // end namespace stage_1_ifetch 143 144 }; // end namespace core 145 }; // end namespace multi_front_end 146 }; // end namespace front_end 147 }; // end namespace prediction_unit 148 }; // end namespace direction 149 141 150 142 151 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_vhdl_declaration.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 68 72 }; // end namespace meta_predictor_glue 69 73 }; // end namespace meta_predictor 70 }; // end namespace predictor 71 }; // end namespace stage_1_ifetch 74 75 }; // end namespace core 76 }; // end namespace multi_front_end 77 }; // end namespace front_end 78 }; // end namespace prediction_unit 79 }; // end namespace direction 80 72 81 73 82 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_vhdl_testbench_transition.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 29 33 }; // end namespace meta_predictor_glue 30 34 }; // end namespace meta_predictor 31 }; // end namespace predictor 32 }; // end namespace stage_1_ifetch 35 36 }; // end namespace core 37 }; // end namespace multi_front_end 38 }; // end namespace front_end 39 }; // end namespace prediction_unit 40 }; // end namespace direction 41 33 42 34 43 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Parameters.cpp
r5 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace meta_predictor_glue { … … 113 117 }; // end namespace meta_predictor_glue 114 118 }; // end namespace meta_predictor 115 }; // end namespace predictor 116 }; // end namespace stage_1_ifetch 119 120 }; // end namespace core 121 }; // end namespace multi_front_end 122 }; // end namespace front_end 123 }; // end namespace prediction_unit 124 }; // end namespace direction 125 117 126 118 127 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Parameters_msg_error.cpp
r4 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h"9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Types.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h" 9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Types.h" 10 10 #include <sstream> 11 11 using namespace std; … … 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 namespace meta_predictor_glue { … … 45 49 }; // end namespace meta_predictor_glue 46 50 }; // end namespace meta_predictor 47 }; // end namespace predictor 48 }; // end namespace stage_1_ifetch 51 52 }; // end namespace core 53 }; // end namespace multi_front_end 54 }; // end namespace front_end 55 }; // end namespace prediction_unit 56 }; // end namespace direction 57 49 58 50 59 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Parameters_print.cpp
r4 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Parameters.h" 9 9 #include "Behavioural/include/XML.h" 10 10 using namespace std; … … 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace meta_predictor_glue { … … 84 88 85 89 ostream& operator<< (ostream& output_stream , 86 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters & x)90 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters & x) 87 91 { 88 92 output_stream << x.print(0); … … 93 97 }; // end namespace meta_predictor_glue 94 98 }; // end namespace meta_predictor 95 }; // end namespace predictor 96 }; // end namespace stage_1_ifetch 99 100 }; // end namespace core 101 }; // end namespace multi_front_end 102 }; // end namespace front_end 103 }; // end namespace prediction_unit 104 }; // end namespace direction 105 97 106 98 107 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Statistics.cpp
r4 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace meta_predictor_glue { … … 37 41 }; // end namespace meta_predictor_glue 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 42 51 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Statistics_add.cpp
r4 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace meta_predictor_glue { … … 28 32 }; // end namespace meta_predictor_glue 29 33 }; // end namespace meta_predictor 30 }; // end namespace predictor 31 }; // end namespace stage_1_ifetch 34 35 }; // end namespace core 36 }; // end namespace multi_front_end 37 }; // end namespace front_end 38 }; // end namespace prediction_unit 39 }; // end namespace direction 40 32 41 33 42 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Statistics_print.cpp
r4 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace meta_predictor_glue { … … 37 41 38 42 ostream& operator<< (ostream& output_stream , 39 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Statistics & x)43 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Statistics & x) 40 44 { 41 45 output_stream << x.print(0); … … 46 50 }; // end namespace meta_predictor_glue 47 51 }; // end namespace meta_predictor 48 }; // end namespace predictor 49 }; // end namespace stage_1_ifetch 52 53 }; // end namespace core 54 }; // end namespace multi_front_end 55 }; // end namespace front_end 56 }; // end namespace prediction_unit 57 }; // end namespace direction 58 50 59 51 60 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Statistics_print_body.cpp
r4 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace meta_predictor_glue { … … 36 40 }; // end namespace meta_predictor_glue 37 41 }; // end namespace meta_predictor 38 }; // end namespace predictor 39 }; // end namespace stage_1_ifetch 42 43 }; // end namespace core 44 }; // end namespace multi_front_end 45 }; // end namespace front_end 46 }; // end namespace prediction_unit 47 }; // end namespace direction 48 40 49 41 50 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/Makefile
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../../.. 10 DIR_MORPHEO = ../../../../../../../.. 11 11 12 12 LIBRARY = $(Meta_Predictor_LIBRARY) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/include/test.h
r5 r48 14 14 #include <iostream> 15 15 16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 17 17 18 18 using namespace std; 19 19 using namespace morpheo; 20 20 using namespace morpheo::behavioural; 21 using namespace morpheo::behavioural::stage_1_ifetch; 22 using namespace morpheo::behavioural:: stage_1_ifetch::predictor;23 using namespace morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor;21 22 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction; 23 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor; 24 24 25 25 void test (string name, 26 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::Parameters param);26 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Parameters param); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/src/main.cpp
r5 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/SelfTest/include/test.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/include/test.h" 9 9 10 10 #define NB_PARAMS 25 … … 86 86 try 87 87 { 88 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::Parameters param (have_meta_predictor ,88 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Parameters param (have_meta_predictor , 89 89 predictor_0_have_bht , 90 90 predictor_0_bht_size_shifter , -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/src/test.cpp
r45 r48 9 9 #define NB_ITERATION 1 10 10 11 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/SelfTest/include/test.h"11 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/include/test.h" 12 12 #include "Common/include/Test.h" 13 13 14 14 void test (string name, 15 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::Parameters _param)15 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Parameters _param) 16 16 { 17 17 cout << "<" << name << "> : Simulation SystemC" << endl; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/Makefile.defs
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_COMPONENT_MORPHEO = ../../../../../.. 10 DIR_COMPONENT_MORPHEO = ../../../../../../../../.. 11 11 DIR_MORPHEO = $(DIR_COMPONENT)/$(DIR_COMPONENT_MORPHEO) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/Makefile.deps
r15 r48 26 26 $(Behavioural_LIBRARY) 27 27 28 Branch_History_Table_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/lib \28 Branch_History_Table_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/lib \ 29 29 $(RegisterFile_Monolithic_DIR_LIBRARY) \ 30 30 $(Shifter_DIR_LIBRARY) \ … … 34 34 35 35 Branch_History_Table_library : 36 @$(MAKE) Behavioural_library 37 @$(MAKE) Shifter_library 38 @$(MAKE) RegisterFile_Monolithic_library 39 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table --makefile=Makefile 36 @\ 37 $(MAKE) Behavioural_library;\ 38 $(MAKE) Shifter_library;\ 39 $(MAKE) RegisterFile_Monolithic_library;\ 40 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table --makefile=Makefile; 40 41 41 42 Branch_History_Table_library_clean : 42 @$(MAKE) Behavioural_library_clean 43 @$(MAKE) Shifter_library_clean 44 @$(MAKE) RegisterFile_Monolithic_library_clean 45 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table --makefile=Makefile clean 43 @\ 44 $(MAKE) Behavioural_library_clean;\ 45 $(MAKE) Shifter_library_clean;\ 46 $(MAKE) RegisterFile_Monolithic_library_clean;\ 47 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/Makefile
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../../../../.. 10 DIR_MORPHEO = ../../../../../../../../../.. 11 11 12 12 LIBRARY = $(Branch_History_Table_LIBRARY) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/include/test.h
r2 r48 14 14 #include <iostream> 15 15 16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 17 17 18 18 using namespace std; 19 19 using namespace morpheo; 20 20 using namespace morpheo::behavioural; 21 using namespace morpheo::behavioural::stage_1_ifetch;22 using namespace morpheo::behavioural::stage_1_ifetch::predictor;23 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor;24 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor;25 21 26 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table; 22 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction; 23 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor; 24 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor; 25 26 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table; 27 27 28 28 void test (string name, 29 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters param);29 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters param); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/src/main.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/include/test.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/include/test.h" 10 10 11 11 #define NB_PARAMS 4 … … 37 37 const uint32_t nb_branch_complete = atoi(argv[5]); 38 38 39 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters param (size_shifter ,39 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters param (size_shifter , 40 40 nb_shifter , 41 41 nb_prediction , -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/src/test.cpp
r45 r48 9 9 #define NB_ITERATION 1024 10 10 11 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/include/test.h"11 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/include/test.h" 12 12 #include "Common/include/BitManipulation.h" 13 13 #include "Common/include/Test.h" 14 14 15 15 void test (string name, 16 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters param)16 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters param) 17 17 { 18 18 cout << "<" << name << "> : Simulation SystemC" << endl; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/doc/Branch_History_Table.tex
r23 r48 5 5 6 6 % Package de variables d'environnement : Titre, command etc ... 7 \usepackage{../../../../../../../ Behavioural/doc/sty/doc-style}7 \usepackage{../../../../../../../../../../Behavioural/doc/sty/doc-style} 8 8 \usepackage{sty/header} 9 9 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Branch_History_Table_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Branch_History_Table_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Branch_History_Table_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Branch_History_Table_h 3 3 4 4 /* … … 19 19 #include "Behavioural/Generic/Shifter/include/Shifter.h" 20 20 #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h" 21 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h"22 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Types.h"21 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h" 22 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Types.h" 23 23 #ifdef STATISTICS 24 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h"24 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h" 25 25 #endif 26 26 #ifdef VHDL … … 33 33 namespace morpheo { 34 34 namespace behavioural { 35 namespace stage_1_ifetch { 36 namespace predictor { 35 namespace core { 36 namespace multi_front_end { 37 namespace front_end { 38 namespace prediction_unit { 39 namespace direction { 40 37 41 namespace meta_predictor { 38 42 namespace two_level_branch_predictor { … … 130 134 }; // end namespace two_level_branch_predictor 131 135 }; // end namespace meta_predictor 132 }; // end namespace predictor 133 }; // end namespace stage_1_ifetch 136 137 }; // end namespace core 138 }; // end namespace multi_front_end 139 }; // end namespace front_end 140 }; // end namespace prediction_unit 141 }; // end namespace direction 142 134 143 135 144 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Parameters_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Parameters_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Parameters_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Parameters_h 3 3 4 4 /* … … 18 18 namespace morpheo { 19 19 namespace behavioural { 20 namespace stage_1_ifetch { 21 namespace predictor { 20 namespace core { 21 namespace multi_front_end { 22 namespace front_end { 23 namespace prediction_unit { 24 namespace direction { 25 22 26 namespace meta_predictor { 23 27 namespace two_level_branch_predictor { … … 48 52 public : string print (uint32_t depth); 49 53 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);54 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters & x); 51 55 }; 52 56 … … 54 58 }; // end namespace two_level_branch_predictor 55 59 }; // end namespace meta_predictor 56 }; // end namespace predictor 57 }; // end namespace stage_1_ifetch 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 58 67 }; // end namespace behavioural 59 68 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h
r45 r48 1 1 #ifdef STATISTICS 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Statistics_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Statistics_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Statistics_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Statistics_h 4 4 5 5 /* … … 16 16 #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h" 17 17 //#include "Behavioural/Generic/Group/include/Statistics.h" 18 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h"18 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h" 19 19 20 20 //using namespace morpheo::behavioural::generic::group; … … 22 22 namespace morpheo { 23 23 namespace behavioural { 24 namespace stage_1_ifetch { 25 namespace predictor { 24 namespace core { 25 namespace multi_front_end { 26 namespace front_end { 27 namespace prediction_unit { 28 namespace direction { 29 26 30 namespace meta_predictor { 27 31 namespace two_level_branch_predictor { … … 56 60 }; // end namespace two_level_branch_predictor 57 61 }; // end namespace meta_predictor 58 }; // end namespace predictor 59 }; // end namespace stage_1_ifetch 62 63 }; // end namespace core 64 }; // end namespace multi_front_end 65 }; // end namespace front_end 66 }; // end namespace prediction_unit 67 }; // end namespace direction 68 60 69 61 70 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Types.h
r45 r48 1 1 #ifdef SYSTEMC 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Type_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Type_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Type_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Type_h 4 4 5 5 /* … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 26 30 }; // end namespace two_level_branch_predictor 27 31 }; // end namespace meta_predictor 28 }; // end namespace predictor 29 }; // end namespace stage_1_ifetch 32 33 }; // end namespace core 34 }; // end namespace multi_front_end 35 }; // end namespace front_end 36 }; // end namespace prediction_unit 37 }; // end namespace direction 38 30 39 }; // end namespace behavioural 31 40 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table.cpp
r42 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace two_level_branch_predictor { … … 25 29 morpheo::behavioural::Parameters_Statistics param_statistics, 26 30 #endif 27 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters param ):31 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters param ): 28 32 _name (name) 29 33 ,_param (param) … … 87 91 }; // end namespace two_level_branch_predictor 88 92 }; // end namespace meta_predictor 89 }; // end namespace predictor 90 }; // end namespace stage_1_ifetch 93 94 }; // end namespace core 95 }; // end namespace multi_front_end 96 }; // end namespace front_end 97 }; // end namespace prediction_unit 98 }; // end namespace direction 99 91 100 92 101 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_allocation.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 206 210 }; // end namespace two_level_branch_predictor 207 211 }; // end namespace meta_predictor 208 }; // end namespace predictor 209 }; // end namespace stage_1_ifetch 212 213 }; // end namespace core 214 }; // end namespace multi_front_end 215 }; // end namespace front_end 216 }; // end namespace prediction_unit 217 }; // end namespace direction 218 210 219 }; // end namespace behavioural 211 220 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_deallocation.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 43 47 }; // end namespace two_level_branch_predictor 44 48 }; // end namespace meta_predictor 45 }; // end namespace predictor 46 }; // end namespace stage_1_ifetch 49 50 }; // end namespace core 51 }; // end namespace multi_front_end 52 }; // end namespace front_end 53 }; // end namespace prediction_unit 54 }; // end namespace direction 55 47 56 }; // end namespace behavioural 48 57 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_statistics.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 29 33 }; // end namespace two_level_branch_predictor 30 34 }; // end namespace meta_predictor 31 }; // end namespace predictor 32 }; // end namespace stage_1_ifetch 35 36 }; // end namespace core 37 }; // end namespace multi_front_end 38 }; // end namespace front_end 39 }; // end namespace prediction_unit 40 }; // end namespace direction 41 33 42 34 43 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_transition.cpp
r2 r48 8 8 */ 9 9 10 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"10 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 33 37 }; // end namespace two_level_branch_predictor 34 38 }; // end namespace meta_predictor 35 }; // end namespace predictor 36 }; // end namespace stage_1_ifetch 39 40 }; // end namespace core 41 }; // end namespace multi_front_end 42 }; // end namespace front_end 43 }; // end namespace prediction_unit 44 }; // end namespace direction 45 37 46 38 47 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_vhdl.cpp
r43 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 10 10 #include "Behavioural/include/Vhdl.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 37 41 }; // end namespace two_level_branch_predictor 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 42 51 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_vhdl_body.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 25 29 }; // end namespace two_level_branch_predictor 26 30 }; // end namespace meta_predictor 27 }; // end namespace predictor 28 }; // end namespace stage_1_ifetch 31 32 }; // end namespace core 33 }; // end namespace multi_front_end 34 }; // end namespace front_end 35 }; // end namespace prediction_unit 36 }; // end namespace direction 37 29 38 30 39 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_vhdl_declaration.cpp
r43 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 24 28 }; // end namespace two_level_branch_predictor 25 29 }; // end namespace meta_predictor 26 }; // end namespace predictor 27 }; // end namespace stage_1_ifetch 30 31 }; // end namespace core 32 }; // end namespace multi_front_end 33 }; // end namespace front_end 34 }; // end namespace prediction_unit 35 }; // end namespace direction 36 28 37 }; // end namespace behavioural 29 38 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_vhdl_testbench_transition.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 28 32 }; // end namespace two_level_branch_predictor 29 33 }; // end namespace meta_predictor 30 }; // end namespace predictor 31 }; // end namespace stage_1_ifetch 34 35 }; // end namespace core 36 }; // end namespace multi_front_end 37 }; // end namespace front_end 38 }; // end namespace prediction_unit 39 }; // end namespace direction 40 32 41 33 42 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Parameters.cpp
r15 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace two_level_branch_predictor { … … 73 77 }; // end namespace two_level_branch_predictor 74 78 }; // end namespace meta_predictor 75 }; // end namespace predictor 76 }; // end namespace stage_1_ifetch 79 80 }; // end namespace core 81 }; // end namespace multi_front_end 82 }; // end namespace front_end 83 }; // end namespace prediction_unit 84 }; // end namespace direction 85 77 86 }; // end namespace behavioural 78 87 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Parameters_msg_error.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h"9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Types.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h" 9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Types.h" 10 10 #include <sstream> 11 11 using namespace std; … … 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 namespace two_level_branch_predictor { … … 48 52 }; // end namespace two_level_branch_predictor 49 53 }; // end namespace meta_predictor 50 }; // end namespace predictor 51 }; // end namespace stage_1_ifetch 54 55 }; // end namespace core 56 }; // end namespace multi_front_end 57 }; // end namespace front_end 58 }; // end namespace prediction_unit 59 }; // end namespace direction 60 52 61 53 62 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Parameters_print.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h" 9 9 #include <sstream> 10 10 using namespace std; … … 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 36 40 37 41 ostream& operator<< (ostream& output_stream , 38 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters & x)42 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters & x) 39 43 { 40 44 output_stream << x.print(0); … … 46 50 }; // end namespace two_level_branch_predictor 47 51 }; // end namespace meta_predictor 48 }; // end namespace predictor 49 }; // end namespace stage_1_ifetch 52 53 }; // end namespace core 54 }; // end namespace multi_front_end 55 }; // end namespace front_end 56 }; // end namespace prediction_unit 57 }; // end namespace direction 58 50 59 51 60 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Statistics.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 35 39 }; // end namespace two_level_branch_predictor 36 40 }; // end namespace meta_predictor 37 }; // end namespace predictor 38 }; // end namespace stage_1_ifetch 41 42 }; // end namespace core 43 }; // end namespace multi_front_end 44 }; // end namespace front_end 45 }; // end namespace prediction_unit 46 }; // end namespace direction 47 39 48 40 49 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Statistics_add.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 28 32 }; // end namespace two_level_branch_predictor 29 33 }; // end namespace meta_predictor 30 }; // end namespace predictor 31 }; // end namespace stage_1_ifetch 34 35 }; // end namespace core 36 }; // end namespace multi_front_end 37 }; // end namespace front_end 38 }; // end namespace prediction_unit 39 }; // end namespace direction 40 32 41 33 42 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Statistics_print.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h" 10 10 #include <sstream> 11 11 using namespace std; … … 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 namespace two_level_branch_predictor { … … 39 43 40 44 ostream& operator<< (ostream& output_stream , 41 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table::Statistics & x)45 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table::Statistics & x) 42 46 { 43 47 output_stream << x.print(0); … … 49 53 }; // end namespace two_level_branch_predictor 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 }; // end namespace behavioural 54 63 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Statistics_print_body.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 33 37 }; // end namespace two_level_branch_predictor 34 38 }; // end namespace meta_predictor 35 }; // end namespace predictor 36 }; // end namespace stage_1_ifetch 39 40 }; // end namespace core 41 }; // end namespace multi_front_end 42 }; // end namespace front_end 43 }; // end namespace prediction_unit 44 }; // end namespace direction 45 37 46 38 47 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.defs
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_COMPONENT_MORPHEO = ../../../../.. 10 DIR_COMPONENT_MORPHEO = ../../../../../../../.. 11 11 DIR_MORPHEO = $(DIR_COMPONENT)/$(DIR_COMPONENT_MORPHEO) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps
r2 r48 12 12 endif 13 13 ifndef Branch_History_Table 14 include $(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/Makefile.deps14 include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/Makefile.deps 15 15 endif 16 16 ifndef Pattern_History_Table 17 include $(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/Makefile.deps17 include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/Makefile.deps 18 18 endif 19 19 ifndef Two_Level_Branch_Predictor_Glue 20 include $(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/Makefile.deps20 include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/Makefile.deps 21 21 endif 22 22 … … 30 30 $(Behavioural_LIBRARY) 31 31 32 Two_Level_Branch_Predictor_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/lib \32 Two_Level_Branch_Predictor_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/lib \ 33 33 $(Two_Level_Branch_Predictor_Glue_DIR_LIBRARY) \ 34 34 $(Branch_History_Table_DIR_LIBRARY) \ … … 39 39 40 40 Two_Level_Branch_Predictor_library : 41 @$(MAKE) Behavioural_library 42 @$(MAKE) Branch_History_Table_library 43 @$(MAKE) Pattern_History_Table_library 44 @$(MAKE) Two_Level_Branch_Predictor_Glue_library 45 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor --makefile=Makefile 41 @\ 42 $(MAKE) Behavioural_library;\ 43 $(MAKE) Branch_History_Table_library;\ 44 $(MAKE) Pattern_History_Table_library;\ 45 $(MAKE) Two_Level_Branch_Predictor_Glue_library;\ 46 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor --makefile=Makefile ; 46 47 47 48 Two_Level_Branch_Predictor_library_clean : 48 @$(MAKE) Behavioural_library_clean 49 @$(MAKE) Branch_History_Table_library_clean 50 @$(MAKE) Pattern_History_Table_library_clean 51 @$(MAKE) Two_Level_Branch_Predictor_Glue_library_clean 52 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor --makefile=Makefile clean 49 @\ 50 $(MAKE) Behavioural_library_clean;\ 51 $(MAKE) Branch_History_Table_library_clean;\ 52 $(MAKE) Pattern_History_Table_library_clean;\ 53 $(MAKE) Two_Level_Branch_Predictor_Glue_library_clean;\ 54 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/Makefile.defs
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_COMPONENT_MORPHEO = ../../../../../.. 10 DIR_COMPONENT_MORPHEO = ../../../../../../../../.. 11 11 DIR_MORPHEO = $(DIR_COMPONENT)/$(DIR_COMPONENT_MORPHEO) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/Makefile.deps
r15 r48 26 26 $(Behavioural_LIBRARY) 27 27 28 Pattern_History_Table_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/lib \28 Pattern_History_Table_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/lib \ 29 29 $(RegisterFile_Monolithic_DIR_LIBRARY) \ 30 30 $(Counter_DIR_LIBRARY) \ … … 34 34 35 35 Pattern_History_Table_library : 36 @$(MAKE) Behavioural_library 37 @$(MAKE) Counter_library 38 @$(MAKE) RegisterFile_Monolithic_library 39 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table --makefile=Makefile 36 @\ 37 $(MAKE) Behavioural_library;\ 38 $(MAKE) Counter_library;\ 39 $(MAKE) RegisterFile_Monolithic_library;\ 40 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table --makefile=Makefile; 40 41 41 42 Pattern_History_Table_library_clean : 42 @$(MAKE) Behavioural_library_clean 43 @$(MAKE) Counter_library_clean 44 @$(MAKE) RegisterFile_Monolithic_library_clean 45 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table --makefile=Makefile clean 43 @\ 44 $(MAKE) Behavioural_library_clean;\ 45 $(MAKE) Counter_library_clean;\ 46 $(MAKE) RegisterFile_Monolithic_library_clean;\ 47 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/SelfTest/Makefile
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../../../../.. 10 DIR_MORPHEO = ../../../../../../../../../.. 11 11 12 12 LIBRARY = $(Pattern_History_Table_LIBRARY) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/SelfTest/include/test.h
r2 r48 14 14 #include <iostream> 15 15 16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 17 17 18 18 using namespace std; 19 19 using namespace morpheo; 20 20 using namespace morpheo::behavioural; 21 using namespace morpheo::behavioural::stage_1_ifetch;22 using namespace morpheo::behavioural::stage_1_ifetch::predictor;23 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor;24 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor;25 21 26 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table; 22 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction; 23 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor; 24 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor; 25 26 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table; 27 27 28 28 void test (string name, 29 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters param);29 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters param); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/SelfTest/src/main.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/SelfTest/include/test.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/SelfTest/include/test.h" 10 10 11 11 #define NB_PARAMS 4 … … 37 37 const uint32_t nb_branch_complete = atoi(argv[5]); 38 38 39 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters param (size_counter ,39 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters param (size_counter , 40 40 nb_counter , 41 41 nb_prediction , -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/SelfTest/src/test.cpp
r45 r48 9 9 #define NB_ITERATION 512 10 10 11 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/SelfTest/include/test.h"11 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/SelfTest/include/test.h" 12 12 #include "Common/include/Test.h" 13 13 14 14 void test (string name, 15 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters param)15 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters param) 16 16 { 17 17 cout << "<" << name << "> : Simulation SystemC" << endl; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/doc/Pattern_History_Table.tex
r23 r48 5 5 6 6 % Package de variables d'environnement : Titre, command etc ... 7 \usepackage{../../../../../../../ Behavioural/doc/sty/doc-style}7 \usepackage{../../../../../../../../../../Behavioural/doc/sty/doc-style} 8 8 \usepackage{sty/header} 9 9 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Parameters_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Parameters_h1 #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 3 4 4 /* … … 18 18 namespace morpheo { 19 19 namespace behavioural { 20 namespace stage_1_ifetch { 21 namespace predictor { 20 namespace core { 21 namespace multi_front_end { 22 namespace front_end { 23 namespace prediction_unit { 24 namespace direction { 25 22 26 namespace meta_predictor { 23 27 namespace two_level_branch_predictor { … … 48 52 public : string print (uint32_t depth); 49 53 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);54 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters & x); 51 55 }; 52 56 … … 54 58 }; // end namespace two_level_branch_predictor 55 59 }; // end namespace meta_predictor 56 }; // end namespace predictor 57 }; // end namespace stage_1_ifetch 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 58 67 59 68 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Pattern_History_Table_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Pattern_History_Table_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_pattern_history_table_Pattern_History_Table_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_pattern_history_table_Pattern_History_Table_h 3 3 4 4 /* … … 21 21 #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h" 22 22 23 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h"24 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Types.h"23 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h" 24 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Types.h" 25 25 #ifdef STATISTICS 26 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h"26 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/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 namespace two_level_branch_predictor { … … 135 139 }; // end namespace two_level_branch_predictor 136 140 }; // end namespace meta_predictor 137 }; // end namespace predictor 138 }; // end namespace stage_1_ifetch 141 142 }; // end namespace core 143 }; // end namespace multi_front_end 144 }; // end namespace front_end 145 }; // end namespace prediction_unit 146 }; // end namespace direction 147 139 148 140 149 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h
r45 r48 1 1 #ifdef STATISTICS 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Statistics_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Statistics_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_pattern_history_table_Statistics_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_pattern_history_table_Statistics_h 4 4 5 5 /* … … 16 16 #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h" 17 17 //#include "Behavioural/Generic/Group/include/Statistics.h" 18 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h"18 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h" 19 19 20 20 //using namespace morpheo::behavioural::generic::group; … … 22 22 namespace morpheo { 23 23 namespace behavioural { 24 namespace stage_1_ifetch { 25 namespace predictor { 24 namespace core { 25 namespace multi_front_end { 26 namespace front_end { 27 namespace prediction_unit { 28 namespace direction { 29 26 30 namespace meta_predictor { 27 31 namespace two_level_branch_predictor { … … 56 60 }; // end namespace two_level_branch_predictor 57 61 }; // end namespace meta_predictor 58 }; // end namespace predictor 59 }; // end namespace stage_1_ifetch 62 63 }; // end namespace core 64 }; // end namespace multi_front_end 65 }; // end namespace front_end 66 }; // end namespace prediction_unit 67 }; // end namespace direction 68 60 69 61 70 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Types.h
r45 r48 1 1 #ifdef SYSTEMC 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Type_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_pattern_history_table_Type_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_pattern_history_table_Type_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_pattern_history_table_Type_h 4 4 5 5 /* … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 26 30 }; // end namespace two_level_branch_predictor 27 31 }; // end namespace meta_predictor 28 }; // end namespace predictor 29 }; // end namespace stage_1_ifetch 32 33 }; // end namespace core 34 }; // end namespace multi_front_end 35 }; // end namespace front_end 36 }; // end namespace prediction_unit 37 }; // end namespace direction 38 30 39 }; // end namespace behavioural 31 40 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Parameters.cpp
r15 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace two_level_branch_predictor { … … 71 75 }; // end namespace two_level_branch_predictor 72 76 }; // end namespace meta_predictor 73 }; // end namespace predictor 74 }; // end namespace stage_1_ifetch 77 78 }; // end namespace core 79 }; // end namespace multi_front_end 80 }; // end namespace front_end 81 }; // end namespace prediction_unit 82 }; // end namespace direction 83 75 84 }; // end namespace behavioural 76 85 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Parameters_msg_error.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h"9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Types.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h" 9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Types.h" 10 10 #include <sstream> 11 11 using namespace std; … … 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 namespace two_level_branch_predictor { … … 52 56 }; // end namespace two_level_branch_predictor 53 57 }; // end namespace meta_predictor 54 }; // end namespace predictor 55 }; // end namespace stage_1_ifetch 58 59 }; // end namespace core 60 }; // end namespace multi_front_end 61 }; // end namespace front_end 62 }; // end namespace prediction_unit 63 }; // end namespace direction 64 56 65 57 66 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Parameters_print.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h" 9 9 #include <sstream> 10 10 using namespace std; … … 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 40 44 41 45 ostream& operator<< (ostream& output_stream , 42 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters & x)46 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters & x) 43 47 { 44 48 output_stream << x.print(0); … … 50 54 }; // end namespace two_level_branch_predictor 51 55 }; // end namespace meta_predictor 52 }; // end namespace predictor 53 }; // end namespace stage_1_ifetch 56 57 }; // end namespace core 58 }; // end namespace multi_front_end 59 }; // end namespace front_end 60 }; // end namespace prediction_unit 61 }; // end namespace direction 62 54 63 55 64 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table.cpp
r42 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace two_level_branch_predictor { … … 25 29 morpheo::behavioural::Parameters_Statistics param_statistics, 26 30 #endif 27 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters param ):31 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters param ): 28 32 _name (name) 29 33 ,_param (param) … … 91 95 }; // end namespace two_level_branch_predictor 92 96 }; // end namespace meta_predictor 93 }; // end namespace predictor 94 }; // end namespace stage_1_ifetch 97 98 }; // end namespace core 99 }; // end namespace multi_front_end 100 }; // end namespace front_end 101 }; // end namespace prediction_unit 102 }; // end namespace direction 103 95 104 96 105 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_allocation.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 210 214 }; // end namespace two_level_branch_predictor 211 215 }; // end namespace meta_predictor 212 }; // end namespace predictor 213 }; // end namespace stage_1_ifetch 216 217 }; // end namespace core 218 }; // end namespace multi_front_end 219 }; // end namespace front_end 220 }; // end namespace prediction_unit 221 }; // end namespace direction 222 214 223 215 224 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_deallocation.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 48 52 }; // end namespace two_level_branch_predictor 49 53 }; // end namespace meta_predictor 50 }; // end namespace predictor 51 }; // end namespace stage_1_ifetch 54 55 }; // end namespace core 56 }; // end namespace multi_front_end 57 }; // end namespace front_end 58 }; // end namespace prediction_unit 59 }; // end namespace direction 60 52 61 53 62 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_statistics.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 35 39 }; // end namespace two_level_branch_predictor 36 40 }; // end namespace meta_predictor 37 }; // end namespace predictor 38 }; // end namespace stage_1_ifetch 41 42 }; // end namespace core 43 }; // end namespace multi_front_end 44 }; // end namespace front_end 45 }; // end namespace prediction_unit 46 }; // end namespace direction 47 39 48 }; // end namespace behavioural 40 49 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_transition.cpp
r2 r48 8 8 */ 9 9 10 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"10 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 37 41 }; // end namespace two_level_branch_predictor 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 42 51 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_vhdl.cpp
r43 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 10 10 #include "Behavioural/include/Vhdl.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 42 46 }; // end namespace two_level_branch_predictor 43 47 }; // end namespace meta_predictor 44 }; // end namespace predictor 45 }; // end namespace stage_1_ifetch 48 49 }; // end namespace core 50 }; // end namespace multi_front_end 51 }; // end namespace front_end 52 }; // end namespace prediction_unit 53 }; // end namespace direction 54 46 55 47 56 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_vhdl_body.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 35 39 }; // end namespace two_level_branch_predictor 36 40 }; // end namespace meta_predictor 37 }; // end namespace predictor 38 }; // end namespace stage_1_ifetch 41 42 }; // end namespace core 43 }; // end namespace multi_front_end 44 }; // end namespace front_end 45 }; // end namespace prediction_unit 46 }; // end namespace direction 47 39 48 40 49 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_vhdl_declaration.cpp
r43 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 28 32 }; // end namespace two_level_branch_predictor 29 33 }; // end namespace meta_predictor 30 }; // end namespace predictor 31 }; // end namespace stage_1_ifetch 34 35 }; // end namespace core 36 }; // end namespace multi_front_end 37 }; // end namespace front_end 38 }; // end namespace prediction_unit 39 }; // end namespace direction 40 32 41 33 42 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_vhdl_testbench_transition.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 32 36 }; // end namespace two_level_branch_predictor 33 37 }; // end namespace meta_predictor 34 }; // end namespace predictor 35 }; // end namespace stage_1_ifetch 38 39 }; // end namespace core 40 }; // end namespace multi_front_end 41 }; // end namespace front_end 42 }; // end namespace prediction_unit 43 }; // end namespace direction 44 36 45 37 46 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Statistics.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 39 43 }; // end namespace two_level_branch_predictor 40 44 }; // end namespace meta_predictor 41 }; // end namespace predictor 42 }; // end namespace stage_1_ifetch 45 46 }; // end namespace core 47 }; // end namespace multi_front_end 48 }; // end namespace front_end 49 }; // end namespace prediction_unit 50 }; // end namespace direction 51 43 52 44 53 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Statistics_add.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 30 34 }; // end namespace two_level_branch_predictor 31 35 }; // end namespace meta_predictor 32 }; // end namespace predictor 33 }; // end namespace stage_1_ifetch 36 37 }; // end namespace core 38 }; // end namespace multi_front_end 39 }; // end namespace front_end 40 }; // end namespace prediction_unit 41 }; // end namespace direction 42 34 43 35 44 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Statistics_print.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 52 56 53 57 ostream& operator<< (ostream& output_stream , 54 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Statistics & x)58 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Statistics & x) 55 59 { 56 60 output_stream << x.print(0); … … 62 66 }; // end namespace two_level_branch_predictor 63 67 }; // end namespace meta_predictor 64 }; // end namespace predictor 65 }; // end namespace stage_1_ifetch 68 69 }; // end namespace core 70 }; // end namespace multi_front_end 71 }; // end namespace front_end 72 }; // end namespace prediction_unit 73 }; // end namespace direction 74 66 75 67 76 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Statistics_print_body.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 38 42 }; // end namespace two_level_branch_predictor 39 43 }; // end namespace meta_predictor 40 }; // end namespace predictor 41 }; // end namespace stage_1_ifetch 44 45 }; // end namespace core 46 }; // end namespace multi_front_end 47 }; // end namespace front_end 48 }; // end namespace prediction_unit 49 }; // end namespace direction 50 42 51 43 52 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/Makefile
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../../../.. 11 10 DIR_MORPHEO = ../../../../../../../../.. 12 11 LIBRARY = $(Two_Level_Branch_Predictor_LIBRARY) 13 12 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/include/test.h
r2 r48 14 14 #include <iostream> 15 15 16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 17 17 18 18 using namespace std; 19 19 using namespace morpheo; 20 20 using namespace morpheo::behavioural; 21 using namespace morpheo::behavioural::stage_1_ifetch;22 using namespace morpheo::behavioural::stage_1_ifetch::predictor;23 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor;24 21 25 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor; 22 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction; 23 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor; 24 25 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor; 26 26 27 27 void test (string name, 28 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters param);28 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters param); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/src/main.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/include/test.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/include/test.h" 9 9 10 10 #define NB_PARAMS 10 … … 53 53 try 54 54 { 55 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters param (have_bht ,55 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters param (have_bht , 56 56 bht_size_shifter , 57 57 bht_nb_shifter , -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/src/test.cpp
r45 r48 9 9 #define NB_ITERATION 512 10 10 11 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/include/test.h"11 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/include/test.h" 12 12 #include "Common/include/Test.h" 13 13 #include "Common/include/BitManipulation.h" 14 14 void test (string name, 15 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters param)15 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters param) 16 16 { 17 17 cout << "<" << name << "> : Simulation SystemC" << endl; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/Makefile.defs
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_COMPONENT_MORPHEO = ../../../../../.. 10 DIR_COMPONENT_MORPHEO = ../../../../../../../../.. 11 11 DIR_MORPHEO = $(DIR_COMPONENT)/$(DIR_COMPONENT_MORPHEO) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/Makefile.deps
r2 r48 18 18 $(Behavioural_LIBRARY) 19 19 20 Two_Level_Branch_Predictor_Glue_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/lib \20 Two_Level_Branch_Predictor_Glue_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/lib \ 21 21 $(Behavioural_DIR_LIBRARY) 22 22 … … 24 24 25 25 Two_Level_Branch_Predictor_Glue_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library;\ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue --makefile=Makefile; 28 29 29 30 Two_Level_Branch_Predictor_Glue_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean;\ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/SelfTest/Makefile
r23 r48 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../../../../.. 10 DIR_MORPHEO = ../../../../../../../../../.. 11 11 12 12 LIBRARY = $(Two_Level_Branch_Predictor_Glue_LIBRARY) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/SelfTest/include/test.h
r2 r48 14 14 #include <iostream> 15 15 16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 17 17 18 18 using namespace std; 19 19 using namespace morpheo; 20 20 using namespace morpheo::behavioural; 21 using namespace morpheo::behavioural::stage_1_ifetch;22 using namespace morpheo::behavioural::stage_1_ifetch::predictor;23 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor;24 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor;25 21 26 using namespace morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue; 22 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction; 23 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor; 24 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor; 25 26 using namespace morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue; 27 27 28 28 void test (string name, 29 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters param);29 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters param); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/SelfTest/src/main.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/SelfTest/include/test.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/SelfTest/include/test.h" 9 9 10 10 #define NB_PARAMS 9 … … 46 46 const uint32_t nb_branch_complete = atoi(argv[10]); 47 47 48 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters param (have_bht ,48 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters param (have_bht , 49 49 bht_size_history , 50 50 bht_size_address , -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/SelfTest/src/test.cpp
r45 r48 9 9 #define NB_ITERATION 64 10 10 11 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/SelfTest/include/test.h"11 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/SelfTest/include/test.h" 12 12 #include "Common/include/BitManipulation.h" 13 13 #include "Common/include/Test.h" 14 14 15 15 void test (string name, 16 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters param)16 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters param) 17 17 { 18 18 cout << "<" << name << "> : Simulation SystemC" << endl; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/doc/Two_Level_Branch_Predictor_Glue.tex
r23 r48 5 5 6 6 % Package de variables d'environnement : Titre, command etc ... 7 \usepackage{../../../../../../../ Behavioural/doc/sty/doc-style}7 \usepackage{../../../../../../../../../../Behavioural/doc/sty/doc-style} 8 8 \usepackage{sty/header} 9 9 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Parameters_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Parameters_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Parameters_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Parameters_h 3 3 4 4 /* … … 15 15 namespace morpheo { 16 16 namespace behavioural { 17 namespace stage_1_ifetch { 18 namespace predictor { 17 namespace core { 18 namespace multi_front_end { 19 namespace front_end { 20 namespace prediction_unit { 21 namespace direction { 22 19 23 namespace meta_predictor { 20 24 namespace two_level_branch_predictor { … … 54 58 public : string print (uint32_t depth); 55 59 public : friend ostream& operator<< (ostream& output_stream, 56 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters & x);60 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters & x); 57 61 }; 58 62 … … 60 64 }; // end namespace two_level_branch_predictor 61 65 }; // end namespace meta_predictor 62 }; // end namespace predictor 63 }; // end namespace stage_1_ifetch 66 67 }; // end namespace core 68 }; // end namespace multi_front_end 69 }; // end namespace front_end 70 }; // end namespace prediction_unit 71 }; // end namespace direction 72 64 73 65 74 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h
r45 r48 1 1 #ifdef STATISTICS 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Statistics_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Statistics_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Statistics_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_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/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h"16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/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 namespace two_level_branch_predictor { … … 52 56 }; // end namespace two_level_branch_predictor 53 57 }; // end namespace meta_predictor 54 }; // end namespace predictor 55 }; // end namespace stage_1_ifetch 58 59 }; // end namespace core 60 }; // end namespace multi_front_end 61 }; // end namespace front_end 62 }; // end namespace prediction_unit 63 }; // end namespace direction 64 56 65 57 66 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Two_Level_Branch_Predictor_Glue_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Two_Level_Branch_Predictor_Glue_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Two_Level_Branch_Predictor_Glue_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Two_Level_Branch_Predictor_Glue_h 3 3 4 4 /* … … 17 17 #include "Common/include/Debug.h" 18 18 19 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h"20 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Types.h"19 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h" 20 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Types.h" 21 21 #ifdef STATISTICS 22 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h"22 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h" 23 23 #endif 24 24 #ifdef VHDL … … 31 31 namespace morpheo { 32 32 namespace behavioural { 33 namespace stage_1_ifetch { 34 namespace predictor { 33 namespace core { 34 namespace multi_front_end { 35 namespace front_end { 36 namespace prediction_unit { 37 namespace direction { 38 35 39 namespace meta_predictor { 36 40 namespace two_level_branch_predictor { … … 140 144 }; // end namespace two_level_branch_predictor 141 145 }; // end namespace meta_predictor 142 }; // end namespace predictor 143 }; // end namespace stage_1_ifetch 146 147 }; // end namespace core 148 }; // end namespace multi_front_end 149 }; // end namespace front_end 150 }; // end namespace prediction_unit 151 }; // end namespace direction 152 144 153 145 154 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Types.h
r45 r48 1 1 #ifdef SYSTEMC 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Type_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Type_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Type_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Type_h 4 4 5 5 /* … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 26 30 }; // end namespace two_level_branch_predictor 27 31 }; // end namespace meta_predictor 28 }; // end namespace predictor 29 }; // end namespace stage_1_ifetch 32 33 }; // end namespace core 34 }; // end namespace multi_front_end 35 }; // end namespace front_end 36 }; // end namespace prediction_unit 37 }; // end namespace direction 38 30 39 31 40 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Parameters.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace two_level_branch_predictor { … … 68 72 }; // end namespace two_level_branch_predictor 69 73 }; // end namespace meta_predictor 70 }; // end namespace predictor 71 }; // end namespace stage_1_ifetch 74 75 }; // end namespace core 76 }; // end namespace multi_front_end 77 }; // end namespace front_end 78 }; // end namespace prediction_unit 79 }; // end namespace direction 80 72 81 }; // end namespace behavioural 73 82 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Parameters_msg_error.cpp
r45 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h"9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Types.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h" 9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Types.h" 10 10 #include <sstream> 11 11 using namespace std; … … 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 namespace two_level_branch_predictor { … … 47 51 }; // end namespace two_level_branch_predictor 48 52 }; // end namespace meta_predictor 49 }; // end namespace predictor 50 }; // end namespace stage_1_ifetch 53 54 }; // end namespace core 55 }; // end namespace multi_front_end 56 }; // end namespace front_end 57 }; // end namespace prediction_unit 58 }; // end namespace direction 59 51 60 }; // end namespace behavioural 52 61 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Parameters_print.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h" 9 9 #include <sstream> 10 10 using namespace std; … … 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 43 47 44 48 ostream& operator<< (ostream& output_stream , 45 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters & x)49 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters & x) 46 50 { 47 51 output_stream << x.print(0); … … 53 57 }; // end namespace two_level_branch_predictor 54 58 }; // end namespace meta_predictor 55 }; // end namespace predictor 56 }; // end namespace stage_1_ifetch 59 60 }; // end namespace core 61 }; // end namespace multi_front_end 62 }; // end namespace front_end 63 }; // end namespace prediction_unit 64 }; // end namespace direction 65 57 66 58 67 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Statistics.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 39 43 }; // end namespace two_level_branch_predictor 40 44 }; // end namespace meta_predictor 41 }; // end namespace predictor 42 }; // end namespace stage_1_ifetch 45 46 }; // end namespace core 47 }; // end namespace multi_front_end 48 }; // end namespace front_end 49 }; // end namespace prediction_unit 50 }; // end namespace direction 51 43 52 44 53 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Statistics_add.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 30 34 }; // end namespace two_level_branch_predictor 31 35 }; // end namespace meta_predictor 32 }; // end namespace predictor 33 }; // end namespace stage_1_ifetch 36 37 }; // end namespace core 38 }; // end namespace multi_front_end 39 }; // end namespace front_end 40 }; // end namespace prediction_unit 41 }; // end namespace direction 42 34 43 35 44 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Statistics_print.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 38 42 39 43 ostream& operator<< (ostream& output_stream , 40 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Statistics & x)44 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Statistics & x) 41 45 { 42 46 output_stream << x.print(0); … … 48 52 }; // end namespace two_level_branch_predictor 49 53 }; // end namespace meta_predictor 50 }; // end namespace predictor 51 }; // end namespace stage_1_ifetch 54 55 }; // end namespace core 56 }; // end namespace multi_front_end 57 }; // end namespace front_end 58 }; // end namespace prediction_unit 59 }; // end namespace direction 60 52 61 53 62 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Statistics_print_body.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 38 42 }; // end namespace two_level_branch_predictor 39 43 }; // end namespace meta_predictor 40 }; // end namespace predictor 41 }; // end namespace stage_1_ifetch 44 45 }; // end namespace core 46 }; // end namespace multi_front_end 47 }; // end namespace front_end 48 }; // end namespace prediction_unit 49 }; // end namespace direction 50 42 51 43 52 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue.cpp
r45 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace two_level_branch_predictor { … … 25 29 morpheo::behavioural::Parameters_Statistics param_statistics, 26 30 #endif 27 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters param ):31 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters param ): 28 32 _name (name) 29 33 ,_param (param) … … 199 203 }; // end namespace two_level_branch_predictor 200 204 }; // end namespace meta_predictor 201 }; // end namespace predictor 202 }; // end namespace stage_1_ifetch 205 206 }; // end namespace core 207 }; // end namespace multi_front_end 208 }; // end namespace front_end 209 }; // end namespace prediction_unit 210 }; // end namespace direction 211 203 212 204 213 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_allocation.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 147 151 }; // end namespace two_level_branch_predictor 148 152 }; // end namespace meta_predictor 149 }; // end namespace predictor 150 }; // end namespace stage_1_ifetch 153 154 }; // end namespace core 155 }; // end namespace multi_front_end 156 }; // end namespace front_end 157 }; // end namespace prediction_unit 158 }; // end namespace direction 159 151 160 152 161 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_deallocation.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 65 69 }; // end namespace two_level_branch_predictor 66 70 }; // end namespace meta_predictor 67 }; // end namespace predictor 68 }; // end namespace stage_1_ifetch 71 72 }; // end namespace core 73 }; // end namespace multi_front_end 74 }; // end namespace front_end 75 }; // end namespace prediction_unit 76 }; // end namespace direction 77 69 78 70 79 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_genMealy_branch_complete_ack.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 #include "Common/include/BitManipulation.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 37 41 }; // end namespace two_level_branch_predictor 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 }; // end namespace behavioural 42 51 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_genMealy_branch_complete_bht_address.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 #include "Common/include/BitManipulation.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 37 41 }; // end namespace two_level_branch_predictor 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 }; // end namespace behavioural 42 51 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_genMealy_branch_complete_pht_address.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 #include "Common/include/BitManipulation.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 48 52 }; // end namespace two_level_branch_predictor 49 53 }; // end namespace meta_predictor 50 }; // end namespace predictor 51 }; // end namespace stage_1_ifetch 54 55 }; // end namespace core 56 }; // end namespace multi_front_end 57 }; // end namespace front_end 58 }; // end namespace prediction_unit 59 }; // end namespace direction 60 52 61 }; // end namespace behavioural 53 62 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_genMealy_predict_ack.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 #include "Common/include/BitManipulation.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 37 41 }; // end namespace two_level_branch_predictor 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 }; // end namespace behavioural 42 51 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_genMealy_predict_bht_address.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 #include "Common/include/BitManipulation.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 38 42 }; // end namespace two_level_branch_predictor 39 43 }; // end namespace meta_predictor 40 }; // end namespace predictor 41 }; // end namespace stage_1_ifetch 44 45 }; // end namespace core 46 }; // end namespace multi_front_end 47 }; // end namespace front_end 48 }; // end namespace prediction_unit 49 }; // end namespace direction 50 42 51 }; // end namespace behavioural 43 52 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_genMealy_predict_pht_address.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 #include "Common/include/BitManipulation.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 44 48 }; // end namespace two_level_branch_predictor 45 49 }; // end namespace meta_predictor 46 }; // end namespace predictor 47 }; // end namespace stage_1_ifetch 50 51 }; // end namespace core 52 }; // end namespace multi_front_end 53 }; // end namespace front_end 54 }; // end namespace prediction_unit 55 }; // end namespace direction 56 48 57 }; // end namespace behavioural 49 58 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_statistics.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 32 36 }; // end namespace two_level_branch_predictor 33 37 }; // end namespace meta_predictor 34 }; // end namespace predictor 35 }; // end namespace stage_1_ifetch 38 39 }; // end namespace core 40 }; // end namespace multi_front_end 41 }; // end namespace front_end 42 }; // end namespace prediction_unit 43 }; // end namespace direction 44 36 45 37 46 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_transition.cpp
r2 r48 8 8 */ 9 9 10 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"10 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 37 41 }; // end namespace two_level_branch_predictor 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 42 51 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_vhdl.cpp
r43 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 #include "Behavioural/include/Vhdl.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 42 46 }; // end namespace two_level_branch_predictor 43 47 }; // end namespace meta_predictor 44 }; // end namespace predictor 45 }; // end namespace stage_1_ifetch 48 49 }; // end namespace core 50 }; // end namespace multi_front_end 51 }; // end namespace front_end 52 }; // end namespace prediction_unit 53 }; // end namespace direction 54 46 55 47 56 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_vhdl_body.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 153 157 }; // end namespace two_level_branch_predictor 154 158 }; // end namespace meta_predictor 155 }; // end namespace predictor 156 }; // end namespace stage_1_ifetch 159 160 }; // end namespace core 161 }; // end namespace multi_front_end 162 }; // end namespace front_end 163 }; // end namespace prediction_unit 164 }; // end namespace direction 165 157 166 158 167 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_vhdl_declaration.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 27 31 }; // end namespace two_level_branch_predictor 28 32 }; // end namespace meta_predictor 29 }; // end namespace predictor 30 }; // end namespace stage_1_ifetch 33 34 }; // end namespace core 35 }; // end namespace multi_front_end 36 }; // end namespace front_end 37 }; // end namespace prediction_unit 38 }; // end namespace direction 39 31 40 32 41 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_vhdl_testbench_transition.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 32 36 }; // end namespace two_level_branch_predictor 33 37 }; // end namespace meta_predictor 34 }; // end namespace predictor 35 }; // end namespace stage_1_ifetch 38 39 }; // end namespace core 40 }; // end namespace multi_front_end 41 }; // end namespace front_end 42 }; // end namespace prediction_unit 43 }; // end namespace direction 44 36 45 37 46 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/doc/Two_Level_Branch_Predictor.tex
r23 r48 5 5 6 6 % Package de variables d'environnement : Titre, command etc ... 7 \usepackage{../../../../../../ Behavioural/doc/sty/doc-style}7 \usepackage{../../../../../../../../../Behavioural/doc/sty/doc-style} 8 8 \usepackage{sty/header} 9 9 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_Parameters_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_Parameters_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Parameters_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Parameters_h 3 3 4 4 /* … … 12 12 #include "Behavioural/include/Parameters.h" 13 13 // Internal structure 14 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h"15 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h"16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h"14 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h" 15 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Parameters.h" 16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h" 17 17 #include <math.h> 18 18 19 19 namespace morpheo { 20 20 namespace behavioural { 21 namespace stage_1_ifetch { 22 namespace predictor { 21 namespace core { 22 namespace multi_front_end { 23 namespace front_end { 24 namespace prediction_unit { 25 namespace direction { 26 23 27 namespace meta_predictor { 24 28 namespace two_level_branch_predictor { … … 42 46 public : const uint32_t _pht_size_address ; 43 47 44 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table ::Parameters * _param_branch_history_table;45 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters * _param_pattern_history_table;46 public : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters * _param_two_level_branch_predictor_glue;48 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table ::Parameters * _param_branch_history_table; 49 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters * _param_pattern_history_table; 50 public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters * _param_two_level_branch_predictor_glue; 47 51 48 52 //-----[ methods ]----------------------------------------------------------- … … 65 69 public : string print (uint32_t depth); 66 70 public : friend ostream& operator<< (ostream& output_stream, 67 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters & x);71 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters & x); 68 72 }; 69 73 70 74 }; // end namespace two_level_branch_predictor 71 75 }; // end namespace meta_predictor 72 }; // end namespace predictor 73 }; // end namespace stage_1_ifetch 76 77 }; // end namespace core 78 }; // end namespace multi_front_end 79 }; // end namespace front_end 80 }; // end namespace prediction_unit 81 }; // end namespace direction 82 74 83 }; // end namespace behavioural 75 84 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h
r45 r48 1 1 #ifdef STATISTICS 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_Statistics_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_Statistics_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Statistics_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Statistics_h 4 4 5 5 /* … … 12 12 #include "Common/include/Debug.h" 13 13 // Internal structure 14 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h"15 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h"16 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h"14 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h" 15 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h" 16 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h" 17 17 #include "Behavioural/include/Statistics.h" 18 18 #include "Behavioural/include/Parameters_Statistics.h" 19 19 //#include "Behavioural/Generic/Group/include/Statistics.h" 20 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h"20 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h" 21 21 22 22 //using namespace morpheo::behavioural::generic::group; … … 24 24 namespace morpheo { 25 25 namespace behavioural { 26 namespace stage_1_ifetch { 27 namespace predictor { 26 namespace core { 27 namespace multi_front_end { 28 namespace front_end { 29 namespace prediction_unit { 30 namespace direction { 31 28 32 namespace meta_predictor { 29 33 namespace two_level_branch_predictor { … … 57 61 }; // end namespace two_level_branch_predictor 58 62 }; // end namespace meta_predictor 59 }; // end namespace predictor 60 }; // end namespace stage_1_ifetch 63 64 }; // end namespace core 65 }; // end namespace multi_front_end 66 }; // end namespace front_end 67 }; // end namespace prediction_unit 68 }; // end namespace direction 69 61 70 62 71 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h
r45 r48 1 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_Two_Level_Branch_Predictor_h2 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_Two_Level_Branch_Predictor_h1 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Two_Level_Branch_Predictor_h 2 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Two_Level_Branch_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/Branch_History_Table/include/Branch_History_Table.h"21 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"22 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"20 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" 21 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" 22 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h" 23 23 24 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h"25 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Types.h"24 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h" 25 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Types.h" 26 26 #ifdef STATISTICS 27 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h"27 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h" 28 28 #endif 29 29 #ifdef VHDL … … 36 36 namespace morpheo { 37 37 namespace behavioural { 38 namespace stage_1_ifetch { 39 namespace predictor { 38 namespace core { 39 namespace multi_front_end { 40 namespace front_end { 41 namespace prediction_unit { 42 namespace direction { 43 40 44 namespace meta_predictor { 41 45 namespace two_level_branch_predictor { … … 98 102 99 103 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 protected : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table ::Branch_History_Table * component_Branch_History_Table;101 protected : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Pattern_History_Table * component_Pattern_History_Table;102 protected : morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Two_Level_Branch_Predictor_Glue * component_Two_Level_Branch_Predictor_Glue;104 protected : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table ::Branch_History_Table * component_Branch_History_Table; 105 protected : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Pattern_History_Table * component_Pattern_History_Table; 106 protected : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Two_Level_Branch_Predictor_Glue * component_Two_Level_Branch_Predictor_Glue; 103 107 104 108 // -----[ methods ]--------------------------------------------------- … … 145 149 }; // end namespace two_level_branch_predictor 146 150 }; // end namespace meta_predictor 147 }; // end namespace predictor 148 }; // end namespace stage_1_ifetch 151 152 }; // end namespace core 153 }; // end namespace multi_front_end 154 }; // end namespace front_end 155 }; // end namespace prediction_unit 156 }; // end namespace direction 157 149 158 150 159 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Types.h
r45 r48 1 1 #ifdef SYSTEMC 2 #ifndef morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_Type_h3 #define morpheo_behavioural_ stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_Type_h2 #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Type_h 3 #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Type_h 4 4 5 5 /* … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 25 29 }; // end namespace two_level_branch_predictor 26 30 }; // end namespace meta_predictor 27 }; // end namespace predictor 28 }; // end namespace stage_1_ifetch 31 32 }; // end namespace core 33 }; // end namespace multi_front_end 34 }; // end namespace front_end 35 }; // end namespace prediction_unit 36 }; // end namespace direction 37 29 38 }; // end namespace behavioural 30 39 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Parameters.cpp
r3 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace two_level_branch_predictor { … … 42 46 43 47 if (_have_bht) 44 _param_branch_history_table = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table ::Parameters (_bht_size_shifter ,48 _param_branch_history_table = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table ::Parameters (_bht_size_shifter , 45 49 _bht_nb_shifter , 46 50 _nb_prediction , 47 51 _nb_branch_complete); 48 52 if (_have_pht) 49 _param_pattern_history_table = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters (_pht_size_counter ,53 _param_pattern_history_table = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters (_pht_size_counter , 50 54 _pht_nb_counter , 51 55 _nb_prediction , … … 53 57 54 58 55 _param_two_level_branch_predictor_glue = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters (_have_bht ,59 _param_two_level_branch_predictor_glue = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters (_have_bht , 56 60 _bht_size_shifter , 57 61 _bht_size_address , … … 85 89 86 90 if (_have_bht) 87 _param_branch_history_table = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table ::Parameters (_bht_size_shifter ,91 _param_branch_history_table = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table ::Parameters (_bht_size_shifter , 88 92 _bht_nb_shifter , 89 93 _nb_prediction , 90 94 _nb_branch_complete); 91 95 if (_have_pht) 92 _param_pattern_history_table = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters (_pht_size_counter ,96 _param_pattern_history_table = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table::Parameters (_pht_size_counter , 93 97 _pht_nb_counter , 94 98 _nb_prediction , 95 99 _nb_branch_complete); 96 100 97 _param_two_level_branch_predictor_glue = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters (_have_bht ,101 _param_two_level_branch_predictor_glue = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters (_have_bht , 98 102 _bht_size_shifter , 99 103 _bht_size_address , … … 123 127 }; // end namespace two_level_branch_predictor 124 128 }; // end namespace meta_predictor 125 }; // end namespace predictor 126 }; // end namespace stage_1_ifetch 129 130 }; // end namespace core 131 }; // end namespace multi_front_end 132 }; // end namespace front_end 133 }; // end namespace prediction_unit 134 }; // end namespace direction 135 127 136 128 137 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Parameters_msg_error.cpp
r3 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h"9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Types.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h" 9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Types.h" 10 10 #include <sstream> 11 11 using namespace std; … … 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 namespace two_level_branch_predictor { … … 79 83 }; // end namespace two_level_branch_predictor 80 84 }; // end namespace meta_predictor 81 }; // end namespace predictor 82 }; // end namespace stage_1_ifetch 85 86 }; // end namespace core 87 }; // end namespace multi_front_end 88 }; // end namespace front_end 89 }; // end namespace prediction_unit 90 }; // end namespace direction 91 83 92 }; // end namespace behavioural 84 93 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Parameters_print.cpp
r2 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h" 9 9 #include <sstream> 10 10 using namespace std; … … 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 48 52 49 53 ostream& operator<< (ostream& output_stream , 50 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters & x)54 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters & x) 51 55 { 52 56 output_stream << x.print(0); … … 57 61 }; // end namespace two_level_branch_predictor 58 62 }; // end namespace meta_predictor 59 }; // end namespace predictor 60 }; // end namespace stage_1_ifetch 63 64 }; // end namespace core 65 }; // end namespace multi_front_end 66 }; // end namespace front_end 67 }; // end namespace prediction_unit 68 }; // end namespace direction 69 61 70 }; // end namespace behavioural 62 71 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Statistics.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 37 41 }; // end namespace two_level_branch_predictor 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 42 51 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Statistics_add.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 28 32 }; // end namespace two_level_branch_predictor 29 33 }; // end namespace meta_predictor 30 }; // end namespace predictor 31 }; // end namespace stage_1_ifetch 34 35 }; // end namespace core 36 }; // end namespace multi_front_end 37 }; // end namespace front_end 38 }; // end namespace prediction_unit 39 }; // end namespace direction 40 32 41 33 42 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Statistics_print.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 44 48 45 49 ostream& operator<< (ostream& output_stream , 46 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Statistics & x)50 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Statistics & x) 47 51 { 48 52 output_stream << x.print(0); … … 53 57 }; // end namespace two_level_branch_predictor 54 58 }; // end namespace meta_predictor 55 }; // end namespace predictor 56 }; // end namespace stage_1_ifetch 59 60 }; // end namespace core 61 }; // end namespace multi_front_end 62 }; // end namespace front_end 63 }; // end namespace prediction_unit 64 }; // end namespace direction 65 57 66 58 67 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Statistics_print_body.cpp
r2 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 namespace two_level_branch_predictor { … … 36 40 }; // end namespace two_level_branch_predictor 37 41 }; // end namespace meta_predictor 38 }; // end namespace predictor 39 }; // end namespace stage_1_ifetch 42 43 }; // end namespace core 44 }; // end namespace multi_front_end 45 }; // end namespace front_end 46 }; // end namespace prediction_unit 47 }; // end namespace direction 48 40 49 41 50 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor.cpp
r42 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 namespace two_level_branch_predictor { … … 24 28 morpheo::behavioural::Parameters_Statistics param_statistics, 25 29 #endif 26 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters param ):30 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters param ): 27 31 _name (name) 28 32 ,_param (param) … … 87 91 }; // end namespace two_level_branch_predictor 88 92 }; // end namespace meta_predictor 89 }; // end namespace predictor 90 }; // end namespace stage_1_ifetch 93 94 }; // end namespace core 95 }; // end namespace multi_front_end 96 }; // end namespace front_end 97 }; // end namespace prediction_unit 98 }; // end namespace direction 99 91 100 }; // end namespace behavioural 92 101 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_allocation.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 113 117 name_component = _name+"_Branch_History_Table"; 114 118 115 component_Branch_History_Table = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table ::Branch_History_Table (name_component.c_str()119 component_Branch_History_Table = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::branch_history_table ::Branch_History_Table (name_component.c_str() 116 120 #ifdef STATISTICS 117 121 ,_param_statistics … … 134 138 name_component = _name+"_Pattern_History_Table"; 135 139 136 component_Pattern_History_Table = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::pattern_history_table ::Pattern_History_Table (name_component.c_str()140 component_Pattern_History_Table = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::pattern_history_table ::Pattern_History_Table (name_component.c_str() 137 141 #ifdef STATISTICS 138 142 ,_param_statistics … … 154 158 name_component = _name+"_Two_Level_Branch_Predictor_Glue"; 155 159 156 component_Two_Level_Branch_Predictor_Glue = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Two_Level_Branch_Predictor_Glue (name_component.c_str()160 component_Two_Level_Branch_Predictor_Glue = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Two_Level_Branch_Predictor_Glue (name_component.c_str() 157 161 #ifdef STATISTICS 158 162 ,_param_statistics … … 297 301 }; // end namespace two_level_branch_predictor 298 302 }; // end namespace meta_predictor 299 }; // end namespace predictor 300 }; // end namespace stage_1_ifetch 303 304 }; // end namespace core 305 }; // end namespace multi_front_end 306 }; // end namespace front_end 307 }; // end namespace prediction_unit 308 }; // end namespace direction 309 301 310 }; // end namespace behavioural 302 311 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_deallocation.cpp
r42 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 54 58 }; // end namespace two_level_branch_predictor 55 59 }; // end namespace meta_predictor 56 }; // end namespace predictor 57 }; // end namespace stage_1_ifetch 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 58 67 59 68 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_statistics.cpp
r3 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 10 10 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 38 42 }; // end namespace two_level_branch_predictor 39 43 }; // end namespace meta_predictor 40 }; // end namespace predictor 41 }; // end namespace stage_1_ifetch 44 45 }; // end namespace core 46 }; // end namespace multi_front_end 47 }; // end namespace front_end 48 }; // end namespace prediction_unit 49 }; // end namespace direction 50 42 51 43 52 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_transition.cpp
r2 r48 8 8 */ 9 9 10 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"10 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 35 39 }; // end namespace two_level_branch_predictor 36 40 }; // end namespace meta_predictor 37 }; // end namespace predictor 38 }; // end namespace stage_1_ifetch 41 42 }; // end namespace core 43 }; // end namespace multi_front_end 44 }; // end namespace front_end 45 }; // end namespace prediction_unit 46 }; // end namespace direction 47 39 48 40 49 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_vhdl.cpp
r43 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 10 10 #include "Behavioural/include/Vhdl.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 namespace two_level_branch_predictor { … … 40 44 }; // end namespace two_level_branch_predictor 41 45 }; // end namespace meta_predictor 42 }; // end namespace predictor 43 }; // end namespace stage_1_ifetch 46 47 }; // end namespace core 48 }; // end namespace multi_front_end 49 }; // end namespace front_end 50 }; // end namespace prediction_unit 51 }; // end namespace direction 52 44 53 45 54 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_vhdl_body.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 27 31 }; // end namespace two_level_branch_predictor 28 32 }; // end namespace meta_predictor 29 }; // end namespace predictor 30 }; // end namespace stage_1_ifetch 33 34 }; // end namespace core 35 }; // end namespace multi_front_end 36 }; // end namespace front_end 37 }; // end namespace prediction_unit 38 }; // end namespace direction 39 31 40 32 41 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_vhdl_declaration.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 26 30 }; // end namespace two_level_branch_predictor 27 31 }; // end namespace meta_predictor 28 }; // end namespace predictor 29 }; // end namespace stage_1_ifetch 32 33 }; // end namespace core 34 }; // end namespace multi_front_end 35 }; // end namespace front_end 36 }; // end namespace prediction_unit 37 }; // end namespace direction 38 30 39 31 40 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_vhdl_testbench_transition.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 namespace two_level_branch_predictor { … … 30 34 }; // end namespace two_level_branch_predictor 31 35 }; // end namespace meta_predictor 32 }; // end namespace predictor 33 }; // end namespace stage_1_ifetch 36 37 }; // end namespace core 38 }; // end namespace multi_front_end 39 }; // end namespace front_end 40 }; // end namespace prediction_unit 41 }; // end namespace direction 42 34 43 35 44 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/doc/Meta_Predictor.tex
r23 r48 5 5 6 6 % Package de variables d'environnement : Titre, command etc ... 7 \usepackage{../../../../../ Behavioural/doc/sty/doc-style}7 \usepackage{../../../../../../../../Behavioural/doc/sty/doc-style} 8 8 \usepackage{sty/header} 9 9 -
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 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor.cpp
r45 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 … … 23 27 morpheo::behavioural::Parameters_Statistics param_statistics, 24 28 #endif 25 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::Parameters param ):29 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Parameters param ): 26 30 _name (name) 27 31 ,_param (param) … … 81 85 82 86 }; // end namespace meta_predictor 83 }; // end namespace predictor 84 }; // end namespace stage_1_ifetch 87 88 }; // end namespace core 89 }; // end namespace multi_front_end 90 }; // end namespace front_end 91 }; // end namespace prediction_unit 92 }; // end namespace direction 93 85 94 86 95 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_allocation.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 … … 104 108 log_printf(INFO,Meta_Predictor,"allocation","Allocation : %s",name_component.c_str()); 105 109 106 component_Meta_Predictor_Glue = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Meta_Predictor_Glue (name_component.c_str() ,110 component_Meta_Predictor_Glue = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Meta_Predictor_Glue (name_component.c_str() , 107 111 #ifdef STATISTICS 108 112 _param_statistics , … … 127 131 log_printf(INFO,Meta_Predictor,"allocation","Allocation : %s",name_component.c_str()); 128 132 129 component_Two_Level_Branch_Predictor_2 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor ::Two_Level_Branch_Predictor (name_component.c_str() ,133 component_Two_Level_Branch_Predictor_2 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor ::Two_Level_Branch_Predictor (name_component.c_str() , 130 134 #ifdef STATISTICS 131 135 _param_statistics , … … 153 157 log_printf(INFO,Meta_Predictor,"allocation","Allocation : %s",name_component.c_str()); 154 158 155 component_Two_Level_Branch_Predictor_1 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor ::Two_Level_Branch_Predictor (name_component.c_str() ,159 component_Two_Level_Branch_Predictor_1 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor ::Two_Level_Branch_Predictor (name_component.c_str() , 156 160 #ifdef STATISTICS 157 161 _param_statistics , … … 174 178 log_printf(INFO,Meta_Predictor,"allocation","Allocation : %s",name_component.c_str()); 175 179 176 component_Two_Level_Branch_Predictor_0 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor ::Two_Level_Branch_Predictor (name_component.c_str() ,180 component_Two_Level_Branch_Predictor_0 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor ::Two_Level_Branch_Predictor (name_component.c_str() , 177 181 #ifdef STATISTICS 178 182 _param_statistics , … … 431 435 432 436 }; // end namespace meta_predictor 433 }; // end namespace predictor 434 }; // end namespace stage_1_ifetch 437 438 }; // end namespace core 439 }; // end namespace multi_front_end 440 }; // end namespace front_end 441 }; // end namespace prediction_unit 442 }; // end namespace direction 443 435 444 }; // end namespace behavioural 436 445 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_deallocation.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 … … 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/src/Meta_Predictor_statistics.cpp
r5 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 … … 37 41 38 42 }; // end namespace meta_predictor 39 }; // end namespace predictor 40 }; // end namespace stage_1_ifetch 43 44 }; // end namespace core 45 }; // end namespace multi_front_end 46 }; // end namespace front_end 47 }; // end namespace prediction_unit 48 }; // end namespace direction 49 41 50 42 51 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_transition.cpp
r5 r48 8 8 */ 9 9 10 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"10 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 … … 33 37 34 38 }; // end namespace meta_predictor 35 }; // end namespace predictor 36 }; // end namespace stage_1_ifetch 39 40 }; // end namespace core 41 }; // end namespace multi_front_end 42 }; // end namespace front_end 43 }; // end namespace prediction_unit 44 }; // end namespace direction 45 37 46 38 47 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_vhdl.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 10 10 #include "Behavioural/include/Vhdl.h" 11 11 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 … … 38 42 39 43 }; // end namespace meta_predictor 40 }; // end namespace predictor 41 }; // end namespace stage_1_ifetch 44 45 }; // end namespace core 46 }; // end namespace multi_front_end 47 }; // end namespace front_end 48 }; // end namespace prediction_unit 49 }; // end namespace direction 50 42 51 43 52 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_vhdl_body.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 … … 24 28 25 29 }; // end namespace meta_predictor 26 }; // end namespace predictor 27 }; // end namespace stage_1_ifetch 30 31 }; // end namespace core 32 }; // end namespace multi_front_end 33 }; // end namespace front_end 34 }; // end namespace prediction_unit 35 }; // end namespace direction 36 28 37 29 38 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_vhdl_declaration.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 … … 24 28 25 29 }; // end namespace meta_predictor 26 }; // end namespace predictor 27 }; // end namespace stage_1_ifetch 30 31 }; // end namespace core 32 }; // end namespace multi_front_end 33 }; // end namespace front_end 34 }; // end namespace prediction_unit 35 }; // end namespace direction 36 28 37 29 38 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_vhdl_testbench_transition.cpp
r45 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 … … 28 32 29 33 }; // end namespace meta_predictor 30 }; // end namespace predictor 31 }; // end namespace stage_1_ifetch 34 35 }; // end namespace core 36 }; // end namespace multi_front_end 37 }; // end namespace front_end 38 }; // end namespace prediction_unit 39 }; // end namespace direction 40 32 41 33 42 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Parameters.cpp
r5 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h" 9 9 10 10 namespace morpheo { 11 11 namespace behavioural { 12 namespace stage_1_ifetch { 13 namespace predictor { 12 namespace core { 13 namespace multi_front_end { 14 namespace front_end { 15 namespace prediction_unit { 16 namespace direction { 17 14 18 namespace meta_predictor { 15 19 … … 81 85 if (_have_meta_predictor) 82 86 { 83 _param_two_level_branch_predictor_0 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters (_predictor_0_have_bht ,87 _param_two_level_branch_predictor_0 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters (_predictor_0_have_bht , 84 88 _predictor_0_bht_size_shifter , 85 89 _predictor_0_bht_nb_shifter , … … 92 96 _nb_branch_complete ); 93 97 94 _param_two_level_branch_predictor_1 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters (_predictor_1_have_bht ,98 _param_two_level_branch_predictor_1 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters (_predictor_1_have_bht , 95 99 _predictor_1_bht_size_shifter , 96 100 _predictor_1_bht_nb_shifter , … … 104 108 } 105 109 106 _param_two_level_branch_predictor_2 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters (_predictor_2_have_bht ,110 _param_two_level_branch_predictor_2 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters (_predictor_2_have_bht , 107 111 _predictor_2_bht_size_shifter , 108 112 _predictor_2_bht_nb_shifter , … … 116 120 117 121 118 _param_meta_predictor_glue = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters (_have_meta_predictor ,122 _param_meta_predictor_glue = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters (_have_meta_predictor , 119 123 _predictor_0_have_bht , 120 124 _predictor_0_bht_size_shifter , … … 175 179 if (_have_meta_predictor) 176 180 { 177 _param_two_level_branch_predictor_0 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters (_predictor_0_have_bht ,181 _param_two_level_branch_predictor_0 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters (_predictor_0_have_bht , 178 182 _predictor_0_bht_size_shifter , 179 183 _predictor_0_bht_nb_shifter , … … 186 190 _nb_branch_complete ); 187 191 188 _param_two_level_branch_predictor_1 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters (_predictor_1_have_bht ,192 _param_two_level_branch_predictor_1 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters (_predictor_1_have_bht , 189 193 _predictor_1_bht_size_shifter , 190 194 _predictor_1_bht_nb_shifter , … … 198 202 } 199 203 200 _param_two_level_branch_predictor_2 = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::Parameters (_predictor_2_have_bht ,204 _param_two_level_branch_predictor_2 = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters (_predictor_2_have_bht , 201 205 _predictor_2_bht_size_shifter , 202 206 _predictor_2_bht_nb_shifter , … … 209 213 _nb_branch_complete ); 210 214 211 _param_meta_predictor_glue = new morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::meta_predictor_glue::Parameters (_have_meta_predictor ,215 _param_meta_predictor_glue = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::meta_predictor_glue::Parameters (_have_meta_predictor , 212 216 _predictor_0_have_bht , 213 217 _predictor_0_bht_size_shifter , … … 245 249 246 250 }; // end namespace meta_predictor 247 }; // end namespace predictor 248 }; // end namespace stage_1_ifetch 251 252 }; // end namespace core 253 }; // end namespace multi_front_end 254 }; // end namespace front_end 255 }; // end namespace prediction_unit 256 }; // end namespace direction 257 249 258 250 259 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Parameters_msg_error.cpp
r5 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Parameters.h"9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Types.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h" 9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Types.h" 10 10 #include <sstream> 11 11 using namespace std; … … 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 … … 43 47 44 48 }; // end namespace meta_predictor 45 }; // end namespace predictor 46 }; // end namespace stage_1_ifetch 49 50 }; // end namespace core 51 }; // end namespace multi_front_end 52 }; // end namespace front_end 53 }; // end namespace prediction_unit 54 }; // end namespace direction 55 47 56 48 57 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Parameters_print.cpp
r5 r48 6 6 */ 7 7 8 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Parameters.h"8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h" 9 9 #include "Behavioural/include/XML.h" 10 10 using namespace std; … … 12 12 namespace morpheo { 13 13 namespace behavioural { 14 namespace stage_1_ifetch { 15 namespace predictor { 14 namespace core { 15 namespace multi_front_end { 16 namespace front_end { 17 namespace prediction_unit { 18 namespace direction { 19 16 20 namespace meta_predictor { 17 21 … … 132 136 133 137 ostream& operator<< (ostream& output_stream , 134 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::Parameters & x)138 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Parameters & x) 135 139 { 136 140 output_stream << x.print(0); … … 140 144 141 145 }; // end namespace meta_predictor 142 }; // end namespace predictor 143 }; // end namespace stage_1_ifetch 146 147 }; // end namespace core 148 }; // end namespace multi_front_end 149 }; // end namespace front_end 150 }; // end namespace prediction_unit 151 }; // end namespace direction 152 144 153 }; // end namespace behavioural 145 154 }; // end namespace morpheo -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Statistics.cpp
r5 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Statistics.h" 10 10 11 11 namespace morpheo { 12 12 namespace behavioural { 13 namespace stage_1_ifetch { 14 namespace predictor { 13 namespace core { 14 namespace multi_front_end { 15 namespace front_end { 16 namespace prediction_unit { 17 namespace direction { 18 15 19 namespace meta_predictor { 16 20 … … 35 39 36 40 }; // end namespace meta_predictor 37 }; // end namespace predictor 38 }; // end namespace stage_1_ifetch 41 42 }; // end namespace core 43 }; // end namespace multi_front_end 44 }; // end namespace front_end 45 }; // end namespace prediction_unit 46 }; // end namespace direction 47 39 48 40 49 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Statistics_add.cpp
r5 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 … … 26 30 27 31 }; // end namespace meta_predictor 28 }; // end namespace predictor 29 }; // end namespace stage_1_ifetch 32 33 }; // end namespace core 34 }; // end namespace multi_front_end 35 }; // end namespace front_end 36 }; // end namespace prediction_unit 37 }; // end namespace direction 38 30 39 31 40 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Statistics_print.cpp
r5 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 … … 43 47 44 48 ostream& operator<< (ostream& output_stream , 45 morpheo::behavioural:: stage_1_ifetch::predictor::meta_predictor::Statistics & x)49 morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Statistics & x) 46 50 { 47 51 output_stream << x.print(0); … … 51 55 52 56 }; // end namespace meta_predictor 53 }; // end namespace predictor 54 }; // end namespace stage_1_ifetch 57 58 }; // end namespace core 59 }; // end namespace multi_front_end 60 }; // end namespace front_end 61 }; // end namespace prediction_unit 62 }; // end namespace direction 63 55 64 56 65 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Statistics_print_body.cpp
r5 r48 7 7 */ 8 8 9 #include "Behavioural/ Stage_1_Ifetch/Predictor/Meta_Predictor/include/Statistics.h"9 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Statistics.h" 10 10 11 11 #include <sstream> … … 14 14 namespace morpheo { 15 15 namespace behavioural { 16 namespace stage_1_ifetch { 17 namespace predictor { 16 namespace core { 17 namespace multi_front_end { 18 namespace front_end { 19 namespace prediction_unit { 20 namespace direction { 21 18 22 namespace meta_predictor { 19 23 … … 34 38 35 39 }; // end namespace meta_predictor 36 }; // end namespace predictor 37 }; // end namespace stage_1_ifetch 40 41 }; // end namespace core 42 }; // end namespace multi_front_end 43 }; // end namespace front_end 44 }; // end namespace prediction_unit 45 }; // end namespace direction 46 38 47 39 48 }; // end namespace behavioural -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/Makefile.deps
r2 r48 24 24 25 25 Counter_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Counter --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library; \ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Counter --makefile=Makefile; 28 29 29 30 Counter_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Counter --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean; \ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Counter --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Group/Makefile.deps
r2 r48 24 24 25 25 Group_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Group --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library; \ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Group --makefile=Makefile ; 28 29 29 30 Group_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Group --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean; \ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Group --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps
r15 r48 28 28 29 29 RegisterFile_Monolithic_library : 30 @$(MAKE) Behavioural_library 31 @$(MAKE) Group_library 32 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic --makefile=Makefile 30 @\ 31 $(MAKE) Behavioural_library; \ 32 $(MAKE) Group_library; \ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic --makefile=Makefile; 33 34 34 35 RegisterFile_Monolithic_library_clean : 35 @$(MAKE) Behavioural_library_clean 36 @$(MAKE) Group_library_clean 37 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic --makefile=Makefile clean 36 @\ 37 $(MAKE) Behavioural_library_clean; \ 38 $(MAKE) Group_library_clean; \ 39 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/Makefile.deps
r15 r48 24 24 25 25 RegisterFile_Multi_Banked_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library; \ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked --makefile=Makefile ; 28 29 29 30 RegisterFile_Multi_Banked_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean; \ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/Makefile.deps
r15 r48 24 24 25 25 RegisterFile_Multi_Banked_Glue_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library; \ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue --makefile=Makefile ; 28 29 29 30 RegisterFile_Multi_Banked_Glue_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean; \ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps
r15 r48 24 24 25 25 Select_Priority_Fixed_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library; \ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed --makefile=Makefile; 28 29 29 30 Select_Priority_Fixed_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean; \ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/Makefile.deps
r2 r48 24 24 25 25 Shifter_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Shifter --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library;\ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Shifter --makefile=Makefile; 28 29 29 30 Shifter_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Shifter --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean;\ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Shifter --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile.deps
r15 r48 28 28 29 29 Victim_Pseudo_LRU_library : 30 @$(MAKE) Behavioural_library 31 @$(MAKE) Group_library 32 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU --makefile=Makefile 30 @\ 31 $(MAKE) Behavioural_library; \ 32 $(MAKE) Group_library; \ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU --makefile=Makefile; 33 34 34 35 Victim_Pseudo_LRU_library_clean : 35 @$(MAKE) Behavioural_library_clean 36 @$(MAKE) Group_library_clean 37 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU --makefile=Makefile clean 36 @\ 37 $(MAKE) Behavioural_library_clean; \ 38 $(MAKE) Group_library_clean; \ 39 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Common
r15 r48 66 66 67 67 $(DIR_OBJ)/%.o : $(DIR_SRC)/%.cpp $(HEADERS) 68 @$(ECHO) "Compilation : $*" 69 $(CXX) $(CFLAGS) -c -o $@ $< 68 @\ 69 $(ECHO) "Compilation : $*";\ 70 $(CXX) $(CFLAGS) -c -o $@ $<; 70 71 71 72 $(DIR_OBJ) : 72 @$(ECHO) "Create directory : $@" 73 @$(MKDIR) $@ 73 @\ 74 $(ECHO) "Create directory : $@";\ 75 $(MKDIR) $@ 74 76 75 77 common_clean : 76 @$(ECHO) "Delete temporary files in directory "$(PWD) 77 @$(RM) $(DIR_OBJ) \ 78 @\ 79 $(ECHO) "Delete temporary files in directory "$(PWD);\ 80 $(RM) $(DIR_OBJ) \ 78 81 $(DIR_BIN) \ 79 82 *~ \ 80 83 $(DIR_SRC)/*~ \ 81 $(DIR_INC)/*~ 84 $(DIR_INC)/*~; 82 85 83 86 common_help : 84 @$(ECHO) " -----[ Common ]-------------------------------------" 85 @$(ECHO) "" 86 @$(ECHO) " * test_env : test if environnment's variable is set" 87 @$(ECHO) "" 87 @\ 88 $(ECHO) " -----[ Common ]-------------------------------------";\ 89 $(ECHO) "";\ 90 $(ECHO) " * test_env : test if environnment's variable is set";\ 91 $(ECHO) ""; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Component
r23 r48 15 15 16 16 $(DIR_LIB)/%.a : $(OBJECTS) $(HEADERS) 17 @$(ECHO) "Archive : $*" 18 @$(AR) -r $@ $(OBJECTS) 19 @$(RANLIB) $@ 17 @\ 18 $(ECHO) "Archive : $*";\ 19 $(AR) -r $@ $(OBJECTS);\ 20 $(RANLIB) $@; 20 21 21 22 $(DIR_LIB) : 22 @$(ECHO) "Create directory : $@" 23 @$(MKDIR) $@ 23 @\ 24 $(ECHO) "Create directory : $@";\ 25 $(MKDIR) $@; 24 26 25 27 document : … … 30 32 31 33 component_help : 32 @$(ECHO) " -----[ Component ]----------------------------------" 33 @$(ECHO) "" 34 @$(ECHO) " * all_component : compile all c++ file and generate library" 35 @$(ECHO) " * document : Generate documantation" 36 @$(ECHO) " * clean : Erase all generate files" 37 @$(ECHO) " * help : print this text" 38 @$(ECHO) "" 34 @\ 35 $(ECHO) " -----[ Component ]----------------------------------";\ 36 $(ECHO) "";\ 37 $(ECHO) " * all_component : compile all c++ file and generate library";\ 38 $(ECHO) " * document : Generate documantation";\ 39 $(ECHO) " * clean : Erase all generate files";\ 40 $(ECHO) " * help : print this text";\ 41 $(ECHO) ""; 39 42 40 43 41 44 help : 42 @$(MAKE) common_help 43 @$(MAKE) component_help 45 @\ 46 $(MAKE) common_help;\ 47 $(MAKE) component_help; 48 44 49 clean : 45 @$(MAKE) common_clean 46 @$(MAKE) component_clean 47 @if $(TEST) -d $(DIR_DOC); then $(MAKE) --directory=$(DIR_DOC) --makefile=Makefile clean; fi 50 @\ 51 $(MAKE) common_clean ;\ 52 $(MAKE) component_clean;\ 53 if $(TEST) -d $(DIR_DOC); then $(MAKE) --directory=$(DIR_DOC) --makefile=Makefile clean; fi; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Documentation
r23 r48 31 31 #-------------------------------------------------------------------------------- 32 32 %.pdf : %.ps 33 @ $(ECHO) "Génération du fichier $*.pdf"34 @$(PS2PDF) $< $@35 @#Copy at directory33 @\ 34 $(ECHO) "Génération du fichier $*.pdf"; \ 35 $(PS2PDF) $< $@; 36 36 37 37 %.ps : %.dvi 38 @$(ECHO) "Génération du fichier $*.ps" 39 @$(DVIPS) -o $@ $< 38 @\ 39 $(ECHO) "Génération du fichier $*.ps"; \ 40 $(DVIPS) -o $@ $<; 40 41 41 42 %.dvi : $(DIR_TEX)/%.tex 42 @$(ECHO) "Génération du fichier $*.dvi" 43 @#touch $(patsubst %.tex,%.ind,$<) 44 @$(LATEX) $< 45 @$(LATEX) $< > /dev/null 46 @#$(MAKEINDEX) $(patsubst %.tex,%.idx,$<) 47 @citation=`$(GREP) "citation" $*.aux`; \ 48 if $(TEST) -n "$$citation" ; then \ 49 $(BIBTEX) $* ; \ 50 fi 51 @$(LATEX) $< > /dev/null 52 @$(LATEX) $< > /dev/null 43 @\ 44 $(ECHO) "Génération du fichier $*.dvi"; \ 45 $(LATEX) $<; \ 46 $(LATEX) $< > /dev/null; \ 47 citation=`$(GREP) "citation" $*.aux`; \ 48 if $(TEST) -n "$$citation" ; then \ 49 $(BIBTEX) $* ; \ 50 fi; \ 51 $(LATEX) $< > /dev/null; \ 52 $(LATEX) $< > /dev/null; 53 53 54 54 #-------------------------------------------------------------------------------- … … 56 56 #-------------------------------------------------------------------------------- 57 57 $(DIR_SCHEMA_EPS) : 58 @$(ECHO) "Make directory : $@" 59 @$(MKDIR) $@ 58 @\ 59 $(ECHO) "Make directory : $@"; \ 60 $(MKDIR) $@; 60 61 61 62 $(DIR_SCHEMA_EPS)/%.eps : $(DIR_SCHEMA)/%.eps $(DIR_SCHEMA_EPS) 62 @$(ECHO) "Generate files : $*.eps" 63 @$(CP) $(DIR_SCHEMA)/$*.eps $(DIR_SCHEMA_EPS) 63 @\ 64 $(ECHO) "Generate files : $*.eps"; \ 65 $(CP) $(DIR_SCHEMA)/$*.eps $(DIR_SCHEMA_EPS); 64 66 65 67 $(DIR_SCHEMA_EPS)/%.eps : $(DIR_SCHEMA)/%.fig $(DIR_SCHEMA_EPS) 66 @$(ECHO) "Generate files : $*.eps" 67 @$(FIG2EPS) $< $@ 68 @\ 69 $(ECHO) "Generate files : $*.eps"; \ 70 $(FIG2EPS) $< $@; 68 71 69 72 #-------------------------------------------------------------------------------- … … 72 75 73 76 clean : 74 @$(ECHO) "Delete temporary files "$(PWD) 75 @$(RM) $(DIR_SCHEMA_EPS) 76 @$(RM) $(DVI_FILES) $(PS_FILES) $(PDF_FILES) 77 @$(MAKE) clean_rec DIR_CLEAN=. 77 @\ 78 $(ECHO) "Delete temporary files "$(PWD); \ 79 $(RM) $(DIR_SCHEMA_EPS); \ 80 $(RM) $(DVI_FILES) $(PS_FILES) $(PDF_FILES); \ 81 $(MAKE) clean_rec DIR_CLEAN=.; 78 82 79 83 #Clean recursive 80 84 clean_rec : 81 @$(ECHO) "Delete temporary files in directory $(DIR_CLEAN)" 82 @$(RM) $(DIR_CLEAN)/*~ \ 85 @\ 86 $(ECHO) "Delete temporary files in directory $(DIR_CLEAN)"; \ 87 $(RM) $(DIR_CLEAN)/*~ \ 83 88 $(DIR_CLEAN)/*.bak \ 84 89 $(DIR_CLEAN)/*.aux \ … … 95 100 $(DIR_CLEAN)/*.nav \ 96 101 $(DIR_CLEAN)/*.snm \ 97 $(DIR_CLEAN)/missfont.log 98 @# The .bbl file is to be removed if "bibtex" is used. 99 @for files in `$(LS) $(DIR_CLEAN)`; do \ 102 $(DIR_CLEAN)/missfont.log; \ 103 for files in `$(LS) $(DIR_CLEAN)`; do \ 100 104 if $(TEST) -d $(DIR_CLEAN)/$$files; \ 101 105 then \ … … 109 113 110 114 help : 111 @$(ECHO) " -----[ Documentation ]------------------------------" 112 @$(ECHO) "" 113 @$(ECHO) " * all_documentation : Generate all documents" 114 @$(ECHO) " * clean : Erase all generate files" 115 @$(ECHO) " * help : Print this message" 116 @$(ECHO) "" 115 @\ 116 $(ECHO) " -----[ Documentation ]------------------------------";\ 117 $(ECHO) ""; \ 118 $(ECHO) " * all_documentation : Generate all documents"; \ 119 $(ECHO) " * clean : Erase all generate files"; \ 120 $(ECHO) " * help : Print this message"; \ 121 $(ECHO) ""; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Selftest
r44 r48 30 30 31 31 all_selftest : test_env $(DIR_OBJ) $(DIR_BIN) $(DIR_LOG) 32 @$(MAKE) library 33 @$(MAKE) $(DIR_BIN)/$(EXEC).x 32 @\ 33 $(MAKE) library;\ 34 $(MAKE) $(DIR_BIN)/$(EXEC).x; 34 35 35 36 execute : all_selftest 36 @$(MAKE) $(EXEC_LOG) 37 @$(MAKE) $(EXEC_LOG); 37 38 38 39 reconfig : 39 @$(MAKE) config_clean 40 @$(MAKE) config 40 @\ 41 $(MAKE) config_clean;\ 42 $(MAKE) config; 41 43 42 44 config_clean : … … 44 46 45 47 config : $(DIR_CFG_GEN) 46 @ $(ECHO) "Generate configuration"47 @\48 @\ 49 $(ECHO) "Generate configuration";\ 48 50 declare -i CPT=0; \ 49 51 declare files; \ … … 111 113 112 114 $(DIR_LOG)/%.exec.log : $(DIR_CFG_GEN)/%.cfg $(DIR_BIN)/$(EXEC).x 113 @$(ECHO) "Execute : $*" 114 @$(EXPORT) SYSTEMC=$(SYSTEMC_$(SIMULATOR)) ; ./$(DIR_BIN)/$(EXEC).x $(EXEC_PARAMS) $* `$(CAT) $<` &> $@ 115 @\ 116 $(ECHO) "Execute : $*";\ 117 $(EXPORT) SYSTEMC=$(SYSTEMC_$(SIMULATOR)) ; ./$(DIR_BIN)/$(EXEC).x $(EXEC_PARAMS) $* `$(CAT) $<` &> $@ 115 118 declare -i count=`$(GREP) -ch "Test OK" $@`; \ 116 119 if $(TEST) $$count -ne 0; \ … … 120 123 121 124 $(DIR_BIN)/%.x : $(OBJECTS) $(HEADERS) $(DIR_LIB) 122 @$(ECHO) "Linkage : $*" 123 $(CXX) $(LFLAGS) -o $@ $(OBJECTS) $(LIBS) 125 @\ 126 $(ECHO) "Linkage : $*";\ 127 $(CXX) $(LFLAGS) -o $@ $(OBJECTS) $(LIBS); 124 128 125 129 $(DIR_BIN) : 126 @$(ECHO) "Create directory : $@" 127 @$(MKDIR) $@ 130 @\ 131 $(ECHO) "Create directory : $@";\ 132 $(MKDIR) $@; 128 133 129 134 $(DIR_LOG) : 130 @$(ECHO) "Create directory : $@" 131 @$(MKDIR) $@ 135 @\ 136 $(ECHO) "Create directory : $@";\ 137 $(MKDIR) $@; 132 138 133 139 $(DIR_CFG_GEN) : 134 @$(ECHO) "Create directory : $@" 135 @$(MKDIR) $@ 140 @\ 141 $(ECHO) "Create directory : $@";\ 142 $(MKDIR) $@; 136 143 137 144 selftest_clean_all : library_clean … … 144 151 *.stat \ 145 152 generated_by_systemcass \ 146 core* 153 core*; 147 154 148 155 selftest_help : 149 @$(ECHO) " -----[ Selftest ]-----------------------------------" 150 @$(ECHO) "" 151 @$(ECHO) " * all_selftest : compile all c++ file and execute" 152 @$(ECHO) " * execute : execute all instance" 153 @$(ECHO) " * config : generate configuration with configuration's file" 154 @$(ECHO) " * reconfig : regenerate configuration with configuration's file" 155 @$(ECHO) " * clean : Erase all generate files" 156 @$(ECHO) " * clean_all : Clean + Erase all dependant library" 157 @$(ECHO) " * help : print this text" 158 @$(ECHO) "" 156 @\ 157 $(ECHO) " -----[ Selftest ]-----------------------------------";\ 158 $(ECHO) "";\ 159 $(ECHO) " * all_selftest : compile all c++ file and execute";\ 160 $(ECHO) " * execute : execute all instance";\ 161 $(ECHO) " * config : generate configuration with configuration's file" ;\ 162 $(ECHO) " * reconfig : regenerate configuration with configuration's file" ;\ 163 $(ECHO) " * clean : Erase all generate files";\ 164 $(ECHO) " * clean_all : Clean + Erase all dependant library";\ 165 $(ECHO) " * help : print this text";\ 166 $(ECHO) ""; 159 167 160 168 help : 161 @$(MAKE) common_help 162 @$(MAKE) synthesis_help 163 @$(MAKE) selftest_help 169 @\ 170 $(MAKE) common_help ;\ 171 $(MAKE) synthesis_help;\ 172 $(MAKE) selftest_help; 164 173 165 174 clean : 166 @$(MAKE) common_clean 167 @$(MAKE) synthesis_clean 168 @$(MAKE) selftest_clean 175 @\ 176 $(MAKE) common_clean ;\ 177 $(MAKE) synthesis_clean ;\ 178 $(MAKE) selftest_clean; 169 179 170 180 clean_all : 171 @$(MAKE) clean 172 @$(MAKE) selftest_clean_all 181 @\ 182 $(MAKE) clean ;\ 183 $(MAKE) selftest_clean_all; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Synthesis
r42 r48 25 25 26 26 vhdl : execute $(DIR_WORK) 27 @ 27 @\ 28 28 declare -a vhdl_files=($$($(LS) $(DIR_VHDL)/*_Pack.vhdl)); \ 29 29 declare -a log_files=($${vhdl_files[*]/%.vhdl/.vhdl.log}); \ 30 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi 31 @ \ 32 declare -a vhdl_files=($$($(LS) $(DIR_VHDL)/*_Testbench.vhdl)); \ 30 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi; \ 31 declare -a vhdl_files=($$($(LS) $(DIR_VHDL)/*_Testbench.vhdl)); \ 33 32 declare -a log_files=($${vhdl_files[*]/%.vhdl/.vhdl.log}); \ 34 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi 35 @ \ 33 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi; \ 36 34 declare -a vhdl_files=($$($(LS) $(DIR_VHDL)/*.vhdl|$(GREP_NOT) "(_Pack\.|_Testbench\.)")); \ 37 35 declare -a log_files=($${vhdl_files[*]/%.vhdl/.vhdl.log}); \ 38 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi 36 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi; 39 37 40 38 vhdl_sim : vhdl 41 @ 39 @\ 42 40 declare -a vhdl_files=($$($(LS) $(DIR_VHDL)/*_Testbench.vhdl)); \ 43 41 declare -a log_files=($${vhdl_files[*]/%.vhdl/.vhdl_sim.log}); \ 44 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi 42 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi; 45 43 46 44 fpga : vhdl_sim 47 @$(ECHO) -e "" > $(FPGA_CFG_FILE_LOCAL) 48 @$(ECHO) "files :::::::: $(FPGA_FILES)" 49 @for file in $(FPGA_FILES); do \ 45 @\ 46 $(ECHO) -e "" > $(FPGA_CFG_FILE_LOCAL); \ 47 $(ECHO) "files :::::::: $(FPGA_FILES)"; \ 48 for file in $(FPGA_FILES); do \ 50 49 declare -a files=($$($(LS) $$file*.vhdl|$(GREP_NOT) "(_Testbench\.)")); \ 51 50 $(ECHO) -e "# $$file" >> $(FPGA_CFG_FILE_LOCAL); \ … … 54 53 $(ECHO) -e "target_dep\t$$file.prj\t$${files[*]}" >> $(FPGA_CFG_FILE_LOCAL); \ 55 54 $(ECHO) -e "" >> $(FPGA_CFG_FILE_LOCAL); \ 56 done 57 @($(XILINX_ENV); $(CD) $(FPGA_CFG_FILE_GLOBAL_DIR); ./$(FPGA_CFG_FILE_GLOBAL))58 @$(MAKE) $(FPGA_LOG_FILES)55 done; \ 56 ($(XILINX_ENV); $(CD) $(FPGA_CFG_FILE_GLOBAL_DIR); ./$(FPGA_CFG_FILE_GLOBAL)); \ 57 $(MAKE) $(FPGA_LOG_FILES); 59 58 60 59 $(DIR_LOG)/%.fpga.log : 61 @$(ECHO) "Synthetis on FPGA : $*" 62 @$(XILINX_ENV); $(MAKE) -f Makefile.mkf $*.ngc &> $@ 60 @\ 61 $(ECHO) "Synthetis on FPGA : $*"; \ 62 $(XILINX_ENV); $(MAKE) -f Makefile.mkf $*.ngc &> $@; 63 63 64 64 $(DIR_WORK) : 65 @$(ECHO) "Create work-space : $@" 66 @$(MODELTECH_VLIB) $@ 65 @\ 66 $(ECHO) "Create work-space : $@"; \ 67 $(MODELTECH_VLIB) $@; 67 68 68 69 $(DIR_LOG)/%.vhdl_sim.log : $(DIR_VHDL)/%.vhdl $(DIR_LOG)/%.vhdl.log 69 @$(ECHO) "VHDL's Simulation : $*" 70 @$(MODELTECH_VSIM) "$(DIR_WORK).`$(BASENAME) $* |$(UPPERtoLOWER)`" &> $@ 70 @\ 71 $(ECHO) "VHDL's Simulation : $*"; \ 72 $(MODELTECH_VSIM) "$(DIR_WORK).`$(BASENAME) $* |$(UPPERtoLOWER)`" &> $@; \ 71 73 declare -i count=`$(GREP) -ch "Test OK" $@`; \ 72 74 if $(TEST) $$count -ne 0; \ … … 76 78 77 79 $(DIR_LOG)/%.vhdl.log : $(DIR_VHDL)/%.vhdl 78 @$(ECHO) "VHDL's Compilation : $*" 79 @$(MODELTECH_VCOM) $< &> $@ 80 @\ 81 $(ECHO) "VHDL's Compilation : $*"; \ 82 $(MODELTECH_VCOM) $< &> $@; 80 83 81 84 synthesis_clean : 82 @if $(TEST) -f Makefile.mkf; then $(MAKE) -f Makefile.mkf clean; fi 83 @$(RM) $(DIR_WORK) transcript Makefile.mkf 85 @\ 86 if $(TEST) -f Makefile.mkf; then $(MAKE) -f Makefile.mkf clean; fi; \ 87 $(RM) $(DIR_WORK) transcript Makefile.mkf; 84 88 85 89 synthesis_help : 86 @$(ECHO) " -----[ Synthesis ]----------------------------------" 87 @$(ECHO) "" 88 @$(ECHO) " * vhdl : compile all vhdl's file" 89 @$(ECHO) " * vhdl_sim : simulate all testbench's file" 90 @$(ECHO) " * fpga : synthetis with fpga's tools" 91 @$(ECHO) "" 90 @\ 91 $(ECHO) " -----[ Synthesis ]----------------------------------";\ 92 $(ECHO) "";\ 93 $(ECHO) " * vhdl : compile all vhdl's file";\ 94 $(ECHO) " * vhdl_sim : simulate all testbench's file";\ 95 $(ECHO) " * fpga : synthetis with fpga's tools";\ 96 $(ECHO) ""; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.deps
r43 r48 26 26 27 27 Behavioural_library : 28 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural --makefile=Makefile 28 @\ 29 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural --makefile=Makefile ; 29 30 30 31 # @$(MAKE) Common_library 31 32 32 33 Behavioural_library_clean : 33 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural --makefile=Makefile clean 34 @\ 35 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural --makefile=Makefile clean; 34 36 35 37 # @$(MAKE) Common_library_clean -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/Makefile.deps
r2 r48 24 24 25 25 @COMPONENT_library : 26 @$(MAKE) Behavioural_library 27 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/@DIRECTORY --makefile=Makefile 26 @\ 27 $(MAKE) Behavioural_library; \ 28 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/@DIRECTORY --makefile=Makefile; 28 29 29 30 @COMPONENT_library_clean : 30 @$(MAKE) Behavioural_library_clean 31 @$(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/@DIRECTORY --makefile=Makefile clean 31 @\ 32 $(MAKE) Behavioural_library_clean; \ 33 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/@DIRECTORY --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Documentation/Source/Makefile
r45 r48 64 64 65 65 doc : $(PNG_FILES) $(DIR_TEX) 66 @ 66 @\ 67 67 for file in $(ALL_FILES); do \ 68 68 file=`$(BASENAME) $$file`; \ -
trunk/IPs/systemC/processor/Morpheo/Makefile
r23 r48 17 17 #~~~~~[ doc ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 18 doc : 19 @$(ECHO) "" 20 @$(ECHO) "=====[ doc ]=====================================" 21 @$(ECHO) "" 22 @$(MAKE) -C $(DIR_DOC) view 19 @\ 20 $(ECHO) "";\ 21 $(ECHO) "=====[ doc ]=====================================";\ 22 $(ECHO) "";\ 23 $(MAKE) -C $(DIR_DOC) view; 23 24 24 25 #~~~~~[ path ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 26 path : 26 @$(ECHO) "" 27 @$(ECHO) "=====[ path ]====================================" 28 @$(ECHO) ""; 29 @$(ECHO) -n "+ "; 30 @$(BASENAME) $(PWD); 31 @$(ECHO) "| <Top Level>"; 32 @$(ECHO) "|"; 33 @$(MAKE) path_rec TAB="| " DIR_PATH=. 27 @\ 28 $(ECHO) "";\ 29 $(ECHO) "=====[ path ]====================================";\ 30 $(ECHO) "";\ 31 $(ECHO) -n "+ ";\ 32 $(BASENAME) $(PWD);\ 33 $(ECHO) "| <Top Level>";\ 34 $(ECHO) "|";\ 35 $(MAKE) path_rec TAB="| " DIR_PATH=.; 34 36 35 37 path_rec : 36 @ \ 37 \ 38 @\ 38 39 for files in `$(LS) $(DIR_PATH)`; do \ 39 40 if $(TEST) -d $(DIR_PATH)/$$files; \ … … 58 59 59 60 lib : 60 @$(ECHO) "" 61 @$(ECHO) "=====[ lib ]=====================================" 62 @$(ECHO) "" 63 @$(ECHO) " Function unimplemented" 64 @$(ECHO) "" 61 @\ 62 $(ECHO) "";\ 63 $(ECHO) "=====[ lib ]=====================================";\ 64 $(ECHO) "";\ 65 $(ECHO) " Function unimplemented";\ 66 $(ECHO) ""; 67 65 68 # @$(ECHO) " The library is generate into the directory : $(PWD)/$(DIR_LIB)" 66 69 … … 68 71 69 72 clean : 70 @$(ECHO) "" 71 @$(ECHO) "=====[ clean ]===================================" 72 @$(ECHO) "" 73 @$(ECHO) "Delete temporary files "$(PWD) 74 @$(RM) *~ 73 @\ 74 $(ECHO) "";\ 75 $(ECHO) "=====[ clean ]===================================";\ 76 $(ECHO) "";\ 77 $(ECHO) "Delete temporary files "$(PWD);\ 78 $(RM) *~; 75 79 # @$(MAKE) clean_rec DIR_CLEAN=. 76 80 … … 95 99 96 100 help : 97 @$(ECHO) "" 98 @$(ECHO) "=====[ help ]====================================" 99 @$(ECHO) "" 100 @$(ECHO) " Rules Description" 101 @$(ECHO) "" 102 @$(ECHO) " * all cf rule \"help\"" 103 @$(ECHO) " * clean Delete temporary files" 104 @$(ECHO) " * doc View documentation files" 105 @$(ECHO) " * lib Generate the library to include" 106 @$(ECHO) " * help Print this message" 107 @$(ECHO) " * path Print a little description of each directory" 108 @$(ECHO) "" 101 @\ 102 $(ECHO) "";\ 103 $(ECHO) "=====[ help ]====================================";\ 104 $(ECHO) "";\ 105 $(ECHO) " Rules Description";\ 106 $(ECHO) "";\ 107 $(ECHO) " * all cf rule \"help\"";\ 108 $(ECHO) " * clean Delete temporary files";\ 109 $(ECHO) " * doc View documentation files";\ 110 $(ECHO) " * lib Generate the library to include";\ 111 $(ECHO) " * help Print this message";\ 112 $(ECHO) " * path Print a little description of each directory";\ 113 $(ECHO) ""; 109 114 -
trunk/Makefile.tools
r24 r48 24 24 TR = tr 25 25 UPPERtoLOWER = $(TR) [:lower:] [:upper:] 26 CXX = export LANG=C; g++ 26 CXX = export LANG=C; g++4 27 27 SED = sed 28 28 TOUCH = touch 29 VALGRIND = valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --leak-resolution=high 29 30 # Commands to generate all documents 30 31 FIG2EPS = fig2dev -L eps 31 EPS2 JPG = convert -quality 10032 EPS2PNG = convert -quality 0 32 33 LATEX = latex 33 34 BIBTEX = bibtex … … 94 95 95 96 #-----[ newlib ]------------------------------------------- 97 98 #-----[ qt ]----------------------------------------------- 99 QT_BIN = $(QT)/bin 100 QT_INCDIR = $(QT)/include 101 QT_LIBDIR = $(QT)/lib 102 QT_LIBNAME = -
trunk/Makefile.tools_path
r24 r48 1 1 #-----[ path ]--------------------------------------------- 2 SOCLIB = /users/outil/soc/soclib /3 SYSTEMC_systemc = /users/outil/systemc/systemc-2.1.v1 /4 SYSTEMC_systemcass = /users/outil/systemc/systemcass/systemcass/latest/i686-Linux.SLA4x /2 SOCLIB = /users/outil/soc/soclib 3 SYSTEMC_systemc = /users/outil/systemc/systemc-2.1.v1 4 SYSTEMC_systemcass = /users/outil/systemc/systemcass/systemcass/latest/i686-Linux.SLA4x 5 5 SYSTEMC_systemcass_deps = $(SYSTEMC_systemcass) 6 XILINX = /dsk/l1/misc/Xilinx91i /7 MODELTECH = /users/outil/m1archi/modeltech /8 MODELTECH_LICENCE = /users/soft/mentor/licence/etc /9 OR1K = ../../Tools/or32-elf /6 XILINX = /dsk/l1/misc/Xilinx91i 7 MODELTECH = /users/outil/m1archi/modeltech 8 MODELTECH_LICENCE = /users/soft/mentor/licence/etc 9 OR1K = ../../Tools/or32-elf 10 10 NEWLIB = ../../Tools/newlib-1.14.0 11 11 QT = /dsk/l1/misc/kane/qt-x11-opensource-4.2.3 -
trunk/Platforms/Generic/Makefile
r2 r48 135 135 $(error "variable TOOLS is undefined"); 136 136 endif 137 @$(ECHO) "$(ID) : Create directory" 138 @$(MKDIR) $(REP_OBJ) $(REP_BIN) 137 @\ 138 $(ECHO) "$(ID) : Create directory"; \ 139 $(MKDIR) $(REP_OBJ) $(REP_BIN); 139 140 140 141 # Création du fichier exe 141 142 142 143 $(EXE) : $(OBJS) 143 @$(ECHO) "$(ID) : Compilation of execute" 144 $(CXX) $(LXX_OPT) -o $@ $< $(LIBS) 2>&1 | $(CXXFILT) 144 @\ 145 $(ECHO) "$(ID) : Compilation of execute"; \ 146 $(CXX) $(LXX_OPT) -o $@ $< $(LIBS) 2>&1 | $(CXXFILT); 145 147 146 148 # Fichier objet 147 149 $(REP_OBJ)/%_$(ID).o : $(REP_SRC)/%.cpp 148 @$(ECHO) "$(ID) : Compilation of files $@" 149 $(CXX) $(CXX_OPT) -o $@ -c $< 2>&1 | $(CXXFILT) 150 @\ 151 $(ECHO) "$(ID) : Compilation of files $@"; \ 152 $(CXX) $(CXX_OPT) -o $@ -c $< 2>&1 | $(CXXFILT); 150 153 151 154 # Maintenance 152 155 clean : 153 @$(ECHO) "Delete temporary files" 154 @$(RM) $(REP_OBJ) *~ $(REP_SRC)/*~ $(REP_INC)/*~ *.trace tty* 155 @$(RM) $(REP_BIN) 156 @\ 157 $(ECHO) "Delete temporary files"; \ 158 $(RM) $(REP_OBJ) *~ $(REP_SRC)/*~ $(REP_INC)/*~ *.trace tty*; \ 159 $(RM) $(REP_BIN); -
trunk/Softwares/Basic_test.or32/Makefile
r2 r48 38 38 39 39 $(DIR_BIN)/%.x.txt : $(DIR_BIN)/%.x 40 @$(ECHO) "List symbols of $*" 41 @$(NM) $(NM_OPT) $^ > $@.nm 42 @$(ECHO) "Display information of $*" 43 @$(OBJDUMP) $(OBJDUMP_OPT) $^ > $@ 40 @\ 41 $(ECHO) "List symbols of $*";\ 42 $(NM) $(NM_OPT) $^ > $@.nm;\ 43 $(ECHO) "Display information of $*";\ 44 $(OBJDUMP) $(OBJDUMP_OPT) $^ > $@; 44 45 45 46 $(DIR_BIN)/%.x : $(OBJ_SYS) $(OBJ) 46 @$(ECHO) "Linkage of $*" 47 @$(LD) -o $@ $^ $(LD_OPT) 47 @\ 48 $(ECHO) "Linkage of $*";\ 49 $(LD) -o $@ $^ $(LD_OPT); 48 50 49 51 $(DIR_OBJ)/%.o : $(DIR_LOCAL_ASM)/%.s 50 @$(ECHO) "Compile of $*" 51 @$(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ 52 @$(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ 52 @\ 53 $(ECHO) "Compile of $*";\ 54 $(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ ;\ 55 $(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ ; 53 56 # @$(AS) $(AS_OPT) $^ -o $@ 54 57 55 58 $(DIR_OBJ)/%.o : $(DIR_LOCAL_SYS)/%.s 56 @$(ECHO) "Compile of $*" 57 @$(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ 58 @$(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ 59 @\ 60 $(ECHO) "Compile of $*";\ 61 $(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ ;\ 62 $(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ ; 59 63 # @$(AS) $(AS_OPT) $^ -o $@ 60 64 61 65 $(DIR_OBJ)/%.o : $(DIR_LOCAL_C)/%.c 62 @$(ECHO) "Compile of $*" 63 @$(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ 64 @$(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ 66 @\ 67 $(ECHO) "Compile of $*";\ 68 $(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ ;\ 69 $(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ ; 65 70 66 71 $(DIR_OBJ)/%.o : $(DIR_GLOBAL_ASM)/%.s 67 @$(ECHO) "Compile of $*" 68 @$(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ 69 @$(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ 72 @\ 73 $(ECHO) "Compile of $*";\ 74 $(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ ;\ 75 $(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ ; 70 76 # @$(AS) $(AS_OPT) $^ -o $@ 71 77 72 78 $(DIR_OBJ)/%.o : $(DIR_GLOBAL_SYS)/%.s 73 @$(ECHO) "Compile of $*" 74 @$(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ 75 @$(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ 79 @\ 80 $(ECHO) "Compile of $*";\ 81 $(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ ;\ 82 $(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ ; 76 83 # @$(AS) $(AS_OPT) $^ -o $@ 77 84 78 85 $(DIR_OBJ)/%.o : $(DIR_GLOBAL_C)/%.c 79 @$(ECHO) "Compile of $*" 80 @$(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ 81 @$(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ 86 @\ 87 $(ECHO) "Compile of $*";\ 88 $(CC) $(CC_OPT) $(DIR_INC) -o $@ -c $^ ;\ 89 $(CC) $(CC_OPT) $(DIR_INC) -S -o $@.s -c $^ ; 82 90 83 91 #-----[ Environement ]------------------------------------------------------------ … … 93 101 #-----[ Maintenance ]------------------------------------------------------------- 94 102 clean : 95 @$(ECHO) "Delete temporary files "`$(PWD)` 96 @$(RM) $(DIR_OBJ) $(DIR_BIN) 97 @$(MAKE) clean_rec DIR_CLEAN=. 103 @\ 104 $(ECHO) "Delete temporary files "`$(PWD)`;\ 105 $(RM) $(DIR_OBJ) $(DIR_BIN);\ 106 $(MAKE) clean_rec DIR_CLEAN=.; 98 107 99 108 #Clean recursive 100 109 clean_rec : 101 @$(ECHO) "Delete temporary files in directory $(DIR_CLEAN)" 102 @$(RM) -f $(DIR_CLEAN)/*~ 103 @for files in `$(LS) $(DIR_CLEAN)`; do \ 110 @\ 111 $(ECHO) "Delete temporary files in directory $(DIR_CLEAN)";\ 112 $(RM) -f $(DIR_CLEAN)/*~;\ 113 for files in `$(LS) $(DIR_CLEAN)`; do \ 104 114 if $(TEST) -d $(DIR_CLEAN)/$$files; \ 105 115 then \ … … 110 120 #-----[ Help ]-------------------------------------------------------------------- 111 121 help : 112 @$(ECHO) "" 113 @$(ECHO) "List of directive : " 114 @$(ECHO) " * make : Compile the software" 115 @$(ECHO) " * make clean : Erase all files generates" 116 @$(ECHO) " * make bench_list : View all benchmark" 117 @$(ECHO) " * make bench_exec : Print the file \"$(FILE_BENCH)\" - it's the Workload" 118 @$(ECHO) " * make bench : Compile the Benchmark Suite" 119 @$(ECHO) "" 122 @\ 123 $(ECHO) "";\ 124 $(ECHO) "List of directive : ";\ 125 $(ECHO) " * make : Compile the software";\ 126 $(ECHO) " * make clean : Erase all files generates";\ 127 $(ECHO) " * make bench_list : View all benchmark";\ 128 $(ECHO) " * make bench_exec : Print the file \"$(FILE_BENCH)\" - it's the Workload";\ 129 $(ECHO) " * make bench : Compile the Benchmark Suite";\ 130 $(ECHO) ""; -
trunk/Softwares/Min.or32/Makefile
r2 r48 27 27 28 28 $(DIR_BIN)/%.x.txt : $(DIR_BIN)/%.x 29 @$(ECHO) "List symbols of $*" 30 @$(NM) $(NM_OPT) $^ > $@.nm 31 @$(ECHO) "Display information of $*" 32 @$(OBJDUMP) $(OBJDUMP_OPT) $^ > $@ 29 @\ 30 $(ECHO) "List symbols of $*";\ 31 $(NM) $(NM_OPT) $^ > $@.nm;\ 32 $(ECHO) "Display information of $*";\ 33 $(OBJDUMP) $(OBJDUMP_OPT) $^ > $@; 33 34 34 35 $(DIR_BIN)/%.x : $(OBJ_SYS) $(OBJ) 35 @$(ECHO) "Linkage of $*" 36 @$(LD) -o $@ $^ $(LD_OPT) 36 @\ 37 $(ECHO) "Linkage of $*";\ 38 $(LD) -o $@ $^ $(LD_OPT); 37 39 38 40 $(DIR_OBJ)/%.o : $(DIR_ASM)/%.s 39 @$(ECHO) "Compile of $*" 40 @$(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ 41 @$(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ 41 @\ 42 $(ECHO) "Compile of $*";\ 43 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ;\ 44 $(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ ; 42 45 # @$(AS) $(AS_OPT) $^ -o $@ 43 46 44 47 $(DIR_OBJ)/%.o : $(DIR_SYS)/%.s 45 @$(ECHO) "Compile of $*" 46 @$(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ 47 @$(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ 48 @\ 49 $(ECHO) "Compile of $*";\ 50 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ;\ 51 $(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ ; 48 52 # @$(AS) $(AS_OPT) $^ -o $@ 49 53 50 54 $(DIR_OBJ)/%.o : $(DIR_C)/%.c 51 @$(ECHO) "Compile of $*" 52 @$(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ 53 @$(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ 55 @\ 56 $(ECHO) "Compile of $*";\ 57 $(CC) $(CC_OPT) -I$(DIR_INC) -o $@ -c $^ ;\ 58 $(CC) $(CC_OPT) -I$(DIR_INC) -S -o $@.s -c $^ ; 54 59 55 60 #-----[ Environement ]------------------------------------------------------------ … … 65 70 #-----[ Maintenance ]------------------------------------------------------------- 66 71 clean : 67 @$(ECHO) "Delete temporary files "`$(PWD)` 68 @$(RM) $(DIR_OBJ) $(DIR_BIN) 69 @$(MAKE) clean_rec DIR_CLEAN=. 72 @\ 73 $(ECHO) "Delete temporary files "`$(PWD)`;\ 74 $(RM) $(DIR_OBJ) $(DIR_BIN);\ 75 $(MAKE) clean_rec DIR_CLEAN=.; 70 76 71 77 #Clean recursive 72 78 clean_rec : 73 @$(ECHO) "Delete temporary files in directory $(DIR_CLEAN)" 74 @$(RM) -f $(DIR_CLEAN)/*~ 75 @for files in `$(LS) $(DIR_CLEAN)`; do \ 79 @\ 80 $(ECHO) "Delete temporary files in directory $(DIR_CLEAN)";\ 81 $(RM) -f $(DIR_CLEAN)/*~;\ 82 for files in `$(LS) $(DIR_CLEAN)`; do \ 76 83 if $(TEST) -d $(DIR_CLEAN)/$$files; \ 77 84 then \ … … 82 89 #-----[ Help ]-------------------------------------------------------------------- 83 90 help : 84 @$(ECHO) "" 85 @$(ECHO) "List of directive : " 86 @$(ECHO) " * make : Compile the software" 87 @$(ECHO) " * make clean : Erase all files generates" 88 @$(ECHO) "" 91 @\ 92 $(ECHO) "";\ 93 $(ECHO) "List of directive : ";\ 94 $(ECHO) " * make : Compile the software";\ 95 $(ECHO) " * make clean : Erase all files generates";\ 96 $(ECHO) "";
Note: See TracChangeset
for help on using the changeset viewer.