source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Parameters_msg_error.cpp @ 81

Last change on this file since 81 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: 1005 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/include/Types.h"
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace multi_write_unit {
18namespace write_unit {
19
20#undef  FUNCTION
21#define FUNCTION "Write_unit::msg_error"
22  Parameters_test Parameters::msg_error(void)
23  {
24    log_printf(FUNC,Write_unit,FUNCTION,"Begin");
25
26    Parameters_test test ("Write_unit");
27
28    if (_size_write_queue == 0)
29      test.error("Write queue must have a less one entry.");
30
31    log_printf(FUNC,Write_unit,FUNCTION,"End");
32
33    return test;
34  };
35
36}; // end namespace write_unit
37}; // end namespace multi_write_unit
38}; // end namespace execute_loop
39}; // end namespace multi_execute_loop
40}; // end namespace core
41}; // end namespace behavioural
42}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.