source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/src/Parameters_msg_error.cpp @ 77

Last change on this file since 77 was 77, checked in by rosiere, 16 years ago
  • Add two component :
    • network between read unit and execute unit
    • network between execute unit and write unit
  • remove parameters "nb_operation" and "nb_type"
  • in write_queue add the special case : load_speculative
File size: 1.5 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace network {
18namespace execution_unit_to_write_unit {
19
20
21#undef  FUNCTION
22#define FUNCTION "Execution_unit_to_Write_unit::msg_error"
23  std::string Parameters::msg_error(void)
24  {
25    log_printf(FUNC,Execution_unit_to_Write_unit,FUNCTION,"Begin");
26
27    std::string msg = "";
28
29    for (uint32_t i=0; i<_nb_execute_unit; i++)
30      {
31        uint32_t j;
32        for (j=0; j<_nb_write_unit; j++)
33          if (_table_routing [i][j] == true)
34            break;
35
36        if (j == _nb_write_unit)
37          msg += "  - The execute_unit ["+toString(i)+"] is link with none write_unit.\n";
38      }   
39
40    for (uint32_t i=0; i<_nb_write_unit; i++)
41      {
42        uint32_t j;
43        for (j=0; j<_nb_thread; j++)
44          if (_table_thread [i][j] == true)
45            break;
46
47        if (j == _nb_thread)
48          msg += "  - The write_unit ["+toString(i)+"] have none source's thread.\n";
49      }   
50
51    return msg;
52
53    log_printf(FUNC,Execution_unit_to_Write_unit,FUNCTION,"End");
54  };
55
56}; // end namespace execution_unit_to_write_unit
57}; // end namespace network
58}; // end namespace execute_loop
59}; // end namespace multi_execute_loop
60}; // end namespace core
61
62}; // end namespace behavioural
63}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.