source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Parameters_msg_error.cpp @ 68

Last change on this file since 68 was 68, checked in by rosiere, 17 years ago

read_queue : systemC et vhdl ok !
queue : quelques petits modif pour avoir une queue de taille 1
nettoyage des fichiers *mkf*

File size: 1.3 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/include/Parameters.h"
9#include <sstream>
10using namespace std;
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace multi_read_unit {
18namespace read_unit {
19namespace read_queue {
20
21
22  string Parameters::msg_error(void)
23  {
24    log_printf(FUNC,Read_queue,"msg_error","Begin");
25
26    string msg = "";
27
28//     if (_size_queue < 2)
29//       {
30//         msg += "  - The read_queue must be have less a depth of 2";
31//         msg += "    * size_queue                      : " + toString(_size_queue)    + "\n";
32//       }
33
34    if (_nb_type < 2)
35      {
36        msg += "  - The number of type must be > 1";
37      }
38    if (_nb_operation < 2)
39      {
40        msg += "  - The number of operation must be > 1";
41      }
42   
43
44    return msg;
45
46    log_printf(FUNC,Read_queue,"msg_error","End");
47  };
48
49}; // end namespace read_queue
50}; // end namespace read_unit
51}; // end namespace multi_read_unit
52}; // end namespace execute_loop
53}; // end namespace multi_execute_loop
54}; // end namespace core
55
56}; // end namespace behavioural
57}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.