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

Last change on this file since 88 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 899 bytes
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 81 2008-04-15 18:40:01Z rosiere $
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  Parameters_test Parameters::msg_error(void)
20  {
21    log_printf(FUNC,Select_Priority_Fixed,"msg_error","Begin");
22
23    Parameters_test test ("Select_Priority_Fixed");
24
25    if ((_encoding_one_hot or _encoding_compact) == false)
26      test.error("you must select a less one encoding");
27
28    log_printf(FUNC,Select_Priority_Fixed,"msg_error","End");
29
30    return test;
31  };
32
33}; // end namespace select_priority_fixed
34}; // end namespace select
35}; // end namespace generic
36}; // end namespace behavioural
37}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.