source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/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.1 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Parameters.h"
9#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Types.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace select {
16namespace select_priority_fixed {
17
18
19  std::string Parameters::msg_error(void)
20  {
21    log_printf(FUNC,Select_Priority_Fixed,"msg_error","Begin");
22
23    std::string msg = "";
24
25    if ((_encoding_one_hot or _encoding_compact) == false)
26      {
27        msg += "  - you must select a less one encoding\n";
28        msg += "    * encoding_one_hot                : " + toString(_encoding_one_hot) + "\n";
29        msg += "    * encoding_compact                : " + toString(_encoding_compact) + "\n";
30      }
31
32    log_printf(FUNC,Select_Priority_Fixed,"msg_error","End");
33
34    return msg;
35  };
36
37}; // end namespace select_priority_fixed
38}; // end namespace select
39}; // end namespace generic
40}; // end namespace behavioural
41}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.