source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Parameters_msg_error.cpp @ 29

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

Interface normalisé
Début du banc de registres multi niveaux

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>
11using namespace std;
12
13namespace morpheo                    {
14namespace behavioural {
15namespace generic {
16namespace select {
17namespace select_priority_fixed {
18
19
20  string Parameters::msg_error(void)
21  {
22    log_printf(FUNC,Select_Priority_Fixed,"msg_error","Begin");
23
24    string msg = "";
25
26    if ((_encoding_one_hot or _encoding_compact) == false)
27      {
28        msg += "  - you must select a less one encoding\n";
29        msg += "    * encoding_one_hot                : " + toString(_encoding_one_hot) + "\n";
30        msg += "    * encoding_compact                : " + toString(_encoding_compact) + "\n";
31      }
32
33    return msg;
34
35    log_printf(FUNC,Select_Priority_Fixed,"msg_error","End");
36  };
37
38}; // end namespace select_priority_fixed
39}; // end namespace select
40}; // end namespace generic
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.