source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Parameters_msg_error.cpp @ 100

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

1) Bug fix (Operation, Instruction)
2) Modif Return Address Stack
3) Add Soft Test
4) Add Soc Test

  • Property svn:keywords set to Id
File size: 740 bytes
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 100 2009-01-08 13:06:27Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Generic/Queue/include/Parameters.h"
10#include <sstream>
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace queue {
15
16
17#undef  FUNCTION
18#define FUNCTION "Queue::msg_error"
19  Parameters_test Parameters::msg_error(void)
20  {
21    log_printf(FUNC,Queue,FUNCTION,"Begin");
22
23    Parameters_test test("Queue");
24
25    if (_nb_port_slot > _size_queue)
26      test.error(_("nb_port_slot must be <= size_queue\n"));
27
28    log_printf(FUNC,Queue,FUNCTION,"End");
29
30    return test;
31  };
32
33}; // end namespace queue
34}; // end namespace generic
35}; // end namespace behavioural
36}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.