Changeset 78 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_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/Network/Execution_unit_to_Write_unit/src/Parameters_msg_error.cpp
r77 r78 21 21 #undef FUNCTION 22 22 #define FUNCTION "Execution_unit_to_Write_unit::msg_error" 23 std::stringParameters::msg_error(void)23 Parameters_test Parameters::msg_error(void) 24 24 { 25 25 log_printf(FUNC,Execution_unit_to_Write_unit,FUNCTION,"Begin"); 26 26 27 std::string msg = "";27 Parameters_test test("Execution_unit_to_Write_unit"); 28 28 29 29 for (uint32_t i=0; i<_nb_execute_unit; i++) … … 35 35 36 36 if (j == _nb_write_unit) 37 msg += " - The execute_unit ["+toString(i)+"] is link with none write_unit.\n";37 test.error("The execute_unit ["+toString(i)+"] is link with none write_unit."); 38 38 } 39 39 … … 46 46 47 47 if (j == _nb_thread) 48 msg += " - The write_unit ["+toString(i)+"] have none source's thread.\n";48 test.error("The write_unit ["+toString(i)+"] have none source's thread."); 49 49 } 50 50 51 return msg; 51 if ( (_priority != PRIORITY_STATIC ) and 52 (_priority != PRIORITY_ROUND_ROBIN)) 53 test.error("Unsupported priority scheme. It must be Static or Round Robin."); 52 54 53 55 log_printf(FUNC,Execution_unit_to_Write_unit,FUNCTION,"End"); 56 57 return test; 54 58 }; 55 59
Note: See TracChangeset
for help on using the changeset viewer.