source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Parameters_msg_error.cpp

Last change on this file 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: 761 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/Counter/include/Parameters.h"
9#include "Behavioural/Generic/Counter/include/Types.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace counter {
16
17
18  Parameters_test Parameters::msg_error(void)
19  {
20    log_printf(FUNC,Counter,"msg_error","Begin");
21
22    Parameters_test test ("Counter");
23
24    if (_size_data < 1)
25      test.error("size_data must be > 0\n");
26
27    if (_nb_port < 1)
28      test.error("nb_port must be > 0\n");
29
30    return test;
31
32    log_printf(FUNC,Counter,"msg_error","End");
33  };
34
35}; // end namespace counter
36}; // end namespace generic
37
38}; // end namespace behavioural
39}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.