Changeset 117 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Icache_Access/src/Parameters_msg_error.cpp
- Timestamp:
- May 16, 2009, 4:42:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Icache_Access/src/Parameters_msg_error.cpp
r88 r117 44 44 45 45 for (uint32_t i=0; i<_nb_front_end; i++) 46 for (uint32_t j=0; j<_nb_context [i]; j++) 47 { 48 uint32_t num_thread = _translate_context_to_thread [i][j]; 49 if (num_thread >= _nb_thread) 50 test.error(toString(_("Context [%d][%d] is linked with an invalid thread id.\n"),i,j)); 51 else 52 if (thread_link [num_thread] == true) 53 test.error(toString(_("Context [%d][%d] is linked with an already used thread id.\n"),i,j)); 46 { 47 for (uint32_t j=0; j<_nb_context [i]; j++) 48 { 49 uint32_t num_thread = _translate_context_to_thread [i][j]; 50 51 if (num_thread >= _nb_thread) 52 test.error(toString(_("Context [%d][%d] is linked with an invalid thread id.\n"),i,j)); 54 53 else 55 thread_link [num_thread] = true; 56 } 54 if (thread_link [num_thread] == true) 55 test.error(toString(_("Context [%d][%d] is linked with an already used thread id.\n"),i,j)); 56 else 57 thread_link [num_thread] = true; 58 } 59 } 57 60 58 61 for (uint32_t i=0; i<_nb_thread; ++i)
Note: See TracChangeset
for help on using the changeset viewer.