Changeset 123 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue
- Timestamp:
- Jun 8, 2009, 10:43:30 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/src
- Files:
-
- 4 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
r88 r123 39 39 log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"Begin"); 40 40 41 #if DEBUG_Branch_Target_Buffer_Glue == true42 log_printf(INFO,Branch_Target_Buffer_Glue,FUNCTION,_("<%s> Parameters"),_name.c_str());43 44 std::cout << *param << std::endl;45 #endif41 // #if DEBUG_Branch_Target_Buffer_Glue == true 42 // log_printf(INFO,Branch_Target_Buffer_Glue,FUNCTION,_("<%s> Parameters"),_name.c_str()); 43 44 // std::cout << *param << std::endl; 45 // #endif 46 46 47 47 log_printf(INFO,Branch_Target_Buffer_Glue,FUNCTION,"Allocation"); -
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_decod.cpp
r98 r123 25 25 log_function(Branch_Target_Buffer_Glue,FUNCTION,_name.c_str()); 26 26 27 if (PORT_READ(in_NRESET)) 28 { 27 29 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 28 30 { … … 62 64 } 63 65 } 66 } 67 else 68 { 69 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 70 { 71 PORT_WRITE(out_DECOD_ACK [i], 0); 72 PORT_WRITE(out_DECOD_REGISTER_VAL [i], 0); 73 if (_param->_have_port_victim) 74 PORT_WRITE(out_DECOD_VICTIM_VAL [i], 0); 75 } 76 } 64 77 65 78 log_end(Branch_Target_Buffer_Glue,FUNCTION); -
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
r108 r123 25 25 log_function(Branch_Target_Buffer_Glue,FUNCTION,_name.c_str()); 26 26 27 if (PORT_READ(in_NRESET)) 28 { 27 29 for (uint32_t i=0; i<_param->_nb_inst_predict; i++) 28 30 { … … 83 85 } 84 86 } 87 } 88 else 89 { 90 for (uint32_t i=0; i<_param->_nb_inst_predict; i++) 91 { 92 PORT_WRITE(out_PREDICT_ACK [i], 0); 93 PORT_WRITE(out_PREDICT_REGISTER_VAL [i], 0); 94 if (_param->_have_port_victim) 95 PORT_WRITE(out_PREDICT_VICTIM_VAL [i], 0); 96 } 97 } 85 98 86 99 log_end(Branch_Target_Buffer_Glue,FUNCTION); -
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_update.cpp
r98 r123 25 25 log_function(Branch_Target_Buffer_Glue,FUNCTION,_name.c_str()); 26 26 27 if (PORT_READ(in_NRESET)) 28 { 27 29 for (uint32_t i=0; i<_param->_nb_inst_update; i++) 28 30 { … … 52 54 } 53 55 } 56 } 57 else 58 { 59 for (uint32_t i=0; i<_param->_nb_inst_update; i++) 60 { 61 PORT_WRITE(out_UPDATE_ACK [i], 0); 62 PORT_WRITE(out_UPDATE_REGISTER_VAL [i], 0); 63 if (_param->_have_port_victim) 64 PORT_WRITE(out_UPDATE_VICTIM_VAL [i], 0); 65 } 66 } 54 67 55 68 log_end(Branch_Target_Buffer_Glue,FUNCTION);
Note: See TracChangeset
for help on using the changeset viewer.