Changeset 144 for trunk/IPs/systemC/processor/Morpheo/Behavioural
- Timestamp:
- Sep 28, 2010, 1:19:10 PM (14 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/src/Branch_Target_Buffer_Glue.cpp
r132 r144 99 99 << (*(in_PREDICT_REGISTER_ACK [i])); 100 100 if (_param->_have_port_victim) 101 sensitive << (*(in_PREDICT_SORT_VAL [i]))101 sensitive //<< (*(in_PREDICT_SORT_VAL [i])) 102 102 << (*(in_PREDICT_SORT_INDEX [i])) 103 103 << (*(in_PREDICT_VICTIM_ACK [i])); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/src/Branch_Target_Buffer_Glue_genMealy_predict.cpp
r128 r144 33 33 Tcontrol_t val = PORT_READ(in_PREDICT_VAL [i]); 34 34 Tcontrol_t register_ack = PORT_READ(in_PREDICT_REGISTER_ACK [i]); 35 Tcontrol_t sort_val = (_param->_have_port_victim)?PORT_READ(in_PREDICT_SORT_VAL [i]):true;35 // Tcontrol_t sort_val = (_param->_have_port_victim)?PORT_READ(in_PREDICT_SORT_VAL [i]):true; 36 36 Tcontrol_t victim_ack = (_param->_have_port_victim)?PORT_READ(in_PREDICT_VICTIM_ACK [i]):true; 37 37 … … 39 39 log_printf(TRACE,Branch_Target_Buffer_Glue,FUNCTION," * register_ack : %d",register_ack); 40 40 log_printf(TRACE,Branch_Target_Buffer_Glue,FUNCTION," * port_victim : %d",_param->_have_port_victim); 41 log_printf(TRACE,Branch_Target_Buffer_Glue,FUNCTION," * sort_val : %d",sort_val );41 // log_printf(TRACE,Branch_Target_Buffer_Glue,FUNCTION," * sort_val : %d",sort_val ); 42 42 log_printf(TRACE,Branch_Target_Buffer_Glue,FUNCTION," * victim_ack : %d",victim_ack ); 43 43 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp
r142 r144 721 721 // Take num instruction 722 722 uint32_t x = internal_BANK_RETIRE_NUM_RENAME_UNIT [num_bank]; 723 #ifdef DEBUG 723 724 uint32_t y = internal_BANK_RETIRE_NUM_INST [num_bank]; 724 725 #endif 725 726 log_printf(TRACE,Commit_unit,FUNCTION," * RETIRE [%d][%d]",x,y); 726 727 log_printf(TRACE,Commit_unit,FUNCTION," * num_bank : %d",num_bank ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/src/Parameters.cpp
r139 r144 8 8 #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/include/Parameters.h" 9 9 #include "Common/include/Max.h" 10 10 11 namespace morpheo { 11 12 namespace behavioural { … … 16 17 namespace register_translation_unit { 17 18 namespace register_address_translation_unit { 18 19 19 20 20 #undef FUNCTION -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/src/Register_Address_Translation_unit_function_depth_save_transition.cpp
r139 r144 190 190 // the retire interface became of the Re Order Buffer, also is in program sequence ! 191 191 192 #ifdef DEBUG 192 193 Tcontext_t front_end_id = (_param->_have_port_front_end_id)?PORT_READ(in_RETIRE_FRONT_END_ID [i]):0; 193 194 Tcontext_t context_id = (_param->_have_port_context_id )?PORT_READ(in_RETIRE_CONTEXT_ID [i]):0; 195 #endif 194 196 Tcontrol_t write_rd = PORT_READ(in_RETIRE_WRITE_RD [i]); 195 197 Tcontrol_t write_re = PORT_READ(in_RETIRE_WRITE_RE [i]); … … 204 206 if (write_rd == 1) 205 207 { 208 #ifdef DEBUG 206 209 Tgeneral_address_t num_reg_rd_log = PORT_READ(in_RETIRE_NUM_REG_RD_LOG [i]); 210 #endif 207 211 208 212 log_printf(TRACE,Register_Address_Translation_unit,FUNCTION," * num_reg_rd_log : %d",num_reg_rd_log ); … … 210 214 if (not restore) 211 215 { 216 #ifdef DEBUG 212 217 Tgeneral_address_t num_reg_rd_phy_new = PORT_READ(in_RETIRE_NUM_REG_RD_PHY_NEW [i]); 213 218 #endif 214 219 log_printf(TRACE,Register_Address_Translation_unit,FUNCTION," * num_reg_rd_phy_new : %d",num_reg_rd_phy_new); 215 220 … … 221 226 if (write_re == 1) 222 227 { 228 #ifdef DEBUG 223 229 Tspecial_address_t num_reg_re_log = PORT_READ(in_RETIRE_NUM_REG_RE_LOG [i]); 230 #endif 224 231 225 232 log_printf(TRACE,Register_Address_Translation_unit,FUNCTION," * num_reg_re_log : %d",num_reg_re_log ); … … 227 234 if (not restore) 228 235 { 236 #ifdef DEBUG 229 237 Tspecial_address_t num_reg_re_phy_new = PORT_READ(in_RETIRE_NUM_REG_RE_PHY_NEW [i]); 238 #endif 230 239 231 240 log_printf(TRACE,Register_Address_Translation_unit,FUNCTION," * num_reg_re_phy_new : %d",num_reg_re_phy_new); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Multiplier/src/Multiplier_transition.cpp
r116 r144 184 184 default : 185 185 { 186 data.LSB = 0; 187 data.MSB = 0; 188 186 189 break; 187 190 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/src/Shifter.cpp
r132 r144 8 8 #include "Behavioural/Generic/Shifter/include/Shifter.h" 9 9 10 namespace morpheo 10 namespace morpheo { 11 11 namespace behavioural { 12 12 namespace generic { 13 13 namespace shifter { 14 15 14 16 15 #undef FUNCTION … … 81 80 sensitive << (*(in_SHIFTER_CARRY [i])); 82 81 if (param->_carry == external_completion) 83 if (_param->_type_completion_bool == true) 84 sensitive << (*(in_SHIFTER_CARRY_IN [i])); 85 else 86 sensitive << (*(in_SHIFTER_COMPLETION[i])); 82 {// BURP : ajout de la parenthèse 83 if (_param->_type_completion_bool == true) 84 sensitive << (*(in_SHIFTER_CARRY_IN [i])); 85 else 86 sensitive << (*(in_SHIFTER_COMPLETION[i])); 87 } 87 88 } 88 89 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_genMealy.cpp
r132 r144 8 8 9 9 #include "Behavioural/Generic/Sort/include/Sort.h" 10 #include <algorithm> 10 11 11 12 namespace morpheo { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Stat_type.h
r138 r144 7 7 #include <utility> 8 8 #include <cassert> 9 #include <stdint.h> 9 10 10 11 namespace morpheo { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_dealloc.cpp
r142 r144 19 19 20 20 #warning "FIXME : Signal::dealloc" 21 21 22 // switch (_direction) 22 23 // { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_test_map.cpp
r139 r144 40 40 41 41 if (not (is_behavioural and top_level)) 42 if (top_level == true) 43 { 44 switch (_direction) 45 { 46 case morpheo::behavioural::IN : 42 {//BURP : ajoue de la parenthÚse ... 43 if (top_level == true) 44 { 45 switch (_direction) 47 46 { 48 if (_is_map_as_toplevel_dest == false) 49 { 50 _return = false; 51 52 str = "Signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 53 } 54 break; 47 case morpheo::behavioural::IN : 48 { 49 if (_is_map_as_toplevel_dest == false) 50 { 51 _return = false; 52 53 str = "Signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 54 } 55 break; 56 } 57 case morpheo::behavioural::OUT : 58 { 59 if (_is_map_as_toplevel_dest == false) 60 { 61 _return = false; 62 str = "Signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 63 } 64 break; 65 } 66 case morpheo::behavioural::INTERNAL : 67 { 68 if (_is_map_as_component_src == false) 69 { 70 _return = false; 71 72 str = "Internal signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 73 } 74 75 if (_is_map_as_component_dest == false) 76 { 77 if (_return == false) 78 str+="\n"; 79 80 _return = false; 81 82 str += "Internal signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 83 } 84 85 break; 86 } 87 //case morpheo::behavioural::INOUT : 88 default : break; 55 89 } 56 case morpheo::behavioural::OUT : 90 } 91 else 92 { 93 // internal signal : 94 // Component --- I/O (as_src) 95 // Component --- Component (as_src and as_dest) 96 97 switch (_direction) 57 98 { 58 if (_is_map_as_toplevel_dest == false) 59 { 60 _return = false; 61 str = "Signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 62 } 63 break; 99 case morpheo::behavioural::IN : 100 { 101 if (_is_map_as_component_src == false) 102 { 103 _return = false; 104 105 str = "Signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 106 } 107 break; 108 } 109 case morpheo::behavioural::OUT : 110 { 111 if (_is_map_as_component_src == false) 112 { 113 _return = false; 114 115 str = "Signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 116 } 117 break; 118 } 119 case morpheo::behavioural::INTERNAL : 120 { 121 if (_is_map_as_component_src == false) 122 { 123 _return = false; 124 125 str = "Internal signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 126 } 127 128 if (_is_map_as_component_dest == false) 129 { 130 if (_return == false) 131 str+="\n"; 132 133 _return = false; 134 135 str += "Internal signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 136 } 137 138 break; 139 } 140 //case morpheo::behavioural::INOUT : 141 default : break; 64 142 } 65 case morpheo::behavioural::INTERNAL : 66 { 67 if (_is_map_as_component_src == false) 68 { 69 _return = false; 70 71 str = "Internal signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 72 } 73 74 if (_is_map_as_component_dest == false) 75 { 76 if (_return == false) 77 str+="\n"; 78 79 _return = false; 80 81 str += "Internal signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 82 } 83 84 break; 85 } 86 //case morpheo::behavioural::INOUT : 87 default : break; 88 } 89 } 90 else 91 { 92 // internal signal : 93 // Component --- I/O (as_src) 94 // Component --- Component (as_src and as_dest) 95 96 switch (_direction) 97 { 98 case morpheo::behavioural::IN : 99 { 100 if (_is_map_as_component_src == false) 101 { 102 _return = false; 103 104 str = "Signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 105 } 106 break; 107 } 108 case morpheo::behavioural::OUT : 109 { 110 if (_is_map_as_component_src == false) 111 { 112 _return = false; 113 114 str = "Signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 115 } 116 break; 117 } 118 case morpheo::behavioural::INTERNAL : 119 { 120 if (_is_map_as_component_src == false) 121 { 122 _return = false; 123 124 str = "Internal signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 125 } 126 127 if (_is_map_as_component_dest == false) 128 { 129 if (_return == false) 130 str+="\n"; 131 132 _return = false; 133 134 str += "Internal signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 135 } 136 137 break; 138 } 139 //case morpheo::behavioural::INOUT : 140 default : break; 141 } 142 } 143 } 144 } 143 145 144 146 if (_return == false)
Note: See TracChangeset
for help on using the changeset viewer.