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

Last change on this file since 75 was 75, checked in by rosiere, 16 years ago

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
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/Reservation_station/include/Parameters.h"
9#include <sstream>
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace multi_read_unit {
17namespace read_unit {
18namespace reservation_station {
19
20
21#undef  FUNCTION
22#define FUNCTION "Reservation_station::msg_error"
23  std::string Parameters::msg_error(void)
24  {
25    log_printf(FUNC,Reservation_station,FUNCTION,"Begin");
26
27    std::string msg = "";
28
29//     if (_size_queue < 2)
30//       {
31//         msg += "  - The reservation_station must be have less a depth of 2";
32//         msg += "    * size_queue                      : " + toString(_size_queue)    + "\n";
33//       }
34
35    if (_size_queue < _nb_inst_retire)
36      {
37        msg += "  - The reservation_station can't have more retire port than entry in the queue.";
38      }
39   
40    return msg;
41
42    log_printf(FUNC,Reservation_station,FUNCTION,"End");
43  };
44
45}; // end namespace reservation_station
46}; // end namespace read_unit
47}; // end namespace multi_read_unit
48}; // end namespace execute_loop
49}; // end namespace multi_execute_loop
50}; // end namespace core
51
52}; // end namespace behavioural
53}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.