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
RevLine 
[10]1/*
2 * $Id: Parameters_msg_error.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
[15]8#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Parameters.h"
9#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Types.h"
[10]10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace select {
[15]16namespace select_priority_fixed {
[10]17
18
[78]19  Parameters_test Parameters::msg_error(void)
[10]20  {
[15]21    log_printf(FUNC,Select_Priority_Fixed,"msg_error","Begin");
[10]22
[78]23    Parameters_test test ("Select_Priority_Fixed");
[10]24
25    if ((_encoding_one_hot or _encoding_compact) == false)
[78]26      test.error("you must select a less one encoding");
[10]27
[40]28    log_printf(FUNC,Select_Priority_Fixed,"msg_error","End");
29
[78]30    return test;
[10]31  };
32
[15]33}; // end namespace select_priority_fixed
[10]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.