Changeset 78 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Parameters_msg_error.cpp
- Timestamp:
- Mar 27, 2008, 11:04:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Parameters_msg_error.cpp
r71 r78 21 21 #undef FUNCTION 22 22 #define FUNCTION "Load_store_unit::msg_error" 23 std::stringParameters::msg_error(void)23 Parameters_test Parameters::msg_error(void) 24 24 { 25 25 log_printf(FUNC,Load_store_unit,FUNCTION,"Begin"); 26 26 27 std::string msg = "";27 Parameters_test test("Load_store_unit"); 28 28 29 29 switch (_speculative_load) … … 31 31 case SPECULATIVE_LOAD_COMMIT : 32 32 { 33 if (not (_nb_bypass_memory == 0)) 34 test.error("Bypass memory is not supported. Please wait a next revision."); 35 33 36 break; 34 37 } 35 38 case NO_SPECULATIVE_LOAD : 36 39 case SPECULATIVE_LOAD_ACCESS : 37 case SPECULATIVE_LOAD_BYPASS :40 // case SPECULATIVE_LOAD_BYPASS : 38 41 default : 39 42 { 40 msg += " - Speculative load scheme is not supported : " +toString(_speculative_load); 43 if (not (_nb_bypass_memory == 0)) 44 test.error("In the load scheme '"+toString(_speculative_load)+"', they have none bypass."); 45 46 test.error("Speculative load scheme '"+toString(_speculative_load)+"' is not supported. Please wait a next revision."); 41 47 break; 42 48 } 43 49 } 44 50 45 return msg; 51 if (not (_size_store_queue >= 2)) 52 test.error("Store queue must have at less two slot."); 53 54 if (not (_nb_bypass_memory <= _size_load_queue)) 55 test.error("Bypass number must be less than load_queue's size."); 46 56 47 57 log_printf(FUNC,Load_store_unit,FUNCTION,"End"); 58 59 return test; 60 48 61 }; 49 62
Note: See TracChangeset
for help on using the changeset viewer.