Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Script/SelfTest.sh
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Script/SelfTest.sh
r85 r88 10 10 declare test_ok="Test OK"; 11 11 declare tmp="${MORPHEO_HOME}/tmp/SelfTest"; 12 declare path="${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/ Behavioural";12 declare path="${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/"; 13 13 14 14 declare -a directory=( 15 "" 16 "Custom" 17 18 "Generic/Counter" 19 "Generic/Queue_Control" 20 "Generic/Queue" 21 "Generic/RegisterFile/RegisterFile_Monolithic" 22 "Generic/RegisterFile/RegisterFile_Multi_Banked" 23 "Generic/RegisterFile" 24 "Generic/Select/Select_Priority_Fixed" 25 "Generic/Select" 26 "Generic/Shifter" 27 "Generic/Sort" 28 "Generic/Victim/Victim_Pseudo_LRU" 29 "Generic/Victim" 30 31 "Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Operation" 32 "Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit" 33 "Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit" 34 "Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit" 35 "Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit" 36 "Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue" 37 "Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station" 38 "Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit" 39 "Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit" 40 "Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue" 41 "Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue" 42 "Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit" 43 "Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit" 44 "Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit" 45 "Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit" 46 "Core/Multi_Execute_loop/Execute_loop/Network" 47 "Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue" 48 "Core/Multi_Execute_loop/Execute_loop/Register_unit" 49 # "Core/Multi_Execute_loop/Execute_loop" 50 # "Core/Multi_Execute_loop" 51 52 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit" 53 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit" 54 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit" 55 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit" 56 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue" 57 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit" 58 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit" 59 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_queue" 60 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select" 61 "Core/Multi_OOO_Engine/OOO_Engine/Rename_unit" 62 "Core/Multi_OOO_Engine/OOO_Engine" 63 "Core/Multi_OOO_Engine" 15 "Common" 16 17 "Behavioural" 18 "Behavioural/Configuration" 19 "Behavioural/Custom" 20 21 "Behavioural/Generic/Counter" 22 "Behavioural/Generic/Priority" 23 "Behavioural/Generic/Queue_Control" 24 "Behavioural/Generic/Queue" 25 "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic" 26 "Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked" 27 "Behavioural/Generic/RegisterFile" 28 "Behavioural/Generic/Select/Select_Priority_Fixed" 29 "Behavioural/Generic/Select" 30 "Behavioural/Generic/Shifter" 31 "Behavioural/Generic/Sort" 32 "Behavioural/Generic/Victim/Victim_Pseudo_LRU" 33 "Behavioural/Generic/Victim" 34 35 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Execute_loop_Glue" 36 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Operation" 37 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit" 38 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit" 39 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit" 40 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit" 41 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue" 42 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station" 43 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit" 44 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit" 45 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue" 46 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue" 47 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit" 48 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit" 49 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit" 50 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit" 51 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Network" 52 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue" 53 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit" 54 "Behavioural/Core/Multi_Execute_loop/Execute_loop" 55 "Behavioural/Core/Multi_Execute_loop" 56 57 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit" 58 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue" 59 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue" 60 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit" 61 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit" 62 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit" 63 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit" 64 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit" 65 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue" 66 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit" 67 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit" 68 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_unit_Glue" 69 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select" 70 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit" 71 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit" 72 "Behavioural/Core/Multi_OOO_Engine/OOO_Engine" 73 "Behavioural/Core/Multi_OOO_Engine" 64 74 65 "Core/Multi_Front_end/Front_end/Context_State" 66 "Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction" 67 "Core/Multi_Front_end/Front_end/Decod_unit/Decod" 68 "Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue" 69 "Core/Multi_Front_end/Front_end/Decod_unit" 70 "Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management" 71 "Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue" 72 "Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue" 73 "Core/Multi_Front_end/Front_end/Ifetch_unit" 74 "Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue" 75 "Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register" 76 "Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer" 77 "Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue" 78 "Core/Multi_Front_end/Front_end/Prediction_unit/Direction" 79 # "Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue" 80 # "Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue" 81 # "Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table" 82 # "Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table" 83 # "Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor" 84 # "Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor" 85 "Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue" 86 "Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack" 87 "Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table" 88 "Core/Multi_Front_end/Front_end/Prediction_unit" 89 "Core/Multi_Front_end/Front_end" 90 "Core/Multi_Front_end" 91 75 "Behavioural/Core/Multi_Front_end/Front_end/Context_State" 76 "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction" 77 "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod" 78 "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue" 79 "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit" 80 "Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue" 81 "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management" 82 "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue" 83 "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue" 84 "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit" 85 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue" 86 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register" 87 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer" 88 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue" 89 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction" 90 # "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue" 91 # "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue" 92 # "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table" 93 # "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table" 94 # "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor" 95 # "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor" 96 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue" 97 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack" 98 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table" 99 "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit" 100 "Behavioural/Core/Multi_Front_end/Front_end" 101 "Behavioural/Core/Multi_Front_end" 102 103 "Behavioural/Core/Icache_Access" 104 "Behavioural/Core/Dcache_Access" 105 106 "Behavioural/Core/Core_Glue" 107 "Behavioural/Core" 108 109 "TopLevel" 92 110 ); 93 111 … … 126 144 127 145 if test ! -d ${tmp}; then 128 mkdir ${tmp};146 mkdir -p ${tmp}; 129 147 fi; 130 148 … … 212 230 213 231 cd ${path}/${i}; 214 make clean; 215 dir="SelfTest"; 216 217 if test -d ${dir}; then 218 cd ${dir}; 232 233 if test -f "Makefile"; then 219 234 make clean; 220 else 221 echo "${component} have not SelfTest directory."; 222 fi; 223 cd ${pwd}; 224 235 dir="SelfTest"; 236 237 if test -d ${dir}; then 238 cd ${dir}; 239 make clean; 240 else 241 echo "${component} have not SelfTest directory."; 242 fi; 243 cd ${pwd}; 244 fi; 225 245 done; 226 246 ;;
Note: See TracChangeset
for help on using the changeset viewer.