Ignore:
Timestamp:
May 26, 2009, 9:01:47 PM (15 years ago)
Author:
rosiere
Message:

1) Context_state : Add statistics
2) Add configuration with multi front_end
3) Add optionnal pid at log filename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/src/Parameters_msg_error.cpp

    r109 r120  
    4141    // TYPE_BRANCH  |     X     |            |            |
    4242    // TYPE_MEMORY  |           |            |     X      |
    43    
    4443    bool type_present [_nb_thread][_nb_type];
    4544    for (uint32_t i=0; i<_nb_thread; i++)
     
    4948    for (uint32_t i=0; i<_nb_execute_unit; i++)
    5049      for (uint32_t j=0; j<_nb_thread; j++)
    51         if (_table_execute_thread [i][j] == true)
     50        if (_num_thread_valid [j] and
     51            (_table_execute_thread [i][j] == true))
    5252          // this execute_unit execute this thread !
    5353          for (Ttype_t k=0; k<_nb_type; k++)
     
    6666      if (not is_type_valid(j))
    6767        for (uint32_t i=0; i<_nb_thread; i++)
    68           if (type_present [i][j])
     68          if (_num_thread_valid [j] and
     69              (type_present [i][j]))
    6970            test.error(toString(_("The thread '%d' can execute the type's operation '%s' but this type is invalid.\n"),i,toString(j).c_str()));
    7071
     
    7273      if (is_type_valid(j) and not is_type_optionnal(j))
    7374        for (uint32_t i=0; i<_nb_thread; i++)
    74           if (not type_present [i][j])
     75          if (_num_thread_valid [i] and
     76              (not type_present [i][j]))
    7577            test.error(toString(_("The thread '%d' can't access at the execute_unit to execute the type's operation '%s' (and this type is not optional !).\n"),i,toString(j).c_str()));
    7678           
Note: See TracChangeset for help on using the changeset viewer.