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

Last change on this file since 88 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 956 bytes
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 88 2008-12-10 18:31:39Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17
18
19#undef  FUNCTION
20#define FUNCTION "Execute_loop::msg_error"
21  Parameters_test Parameters::msg_error(void)
22  {
23    log_printf(FUNC,Execute_loop,FUNCTION,"Begin");
24
25    Parameters_test test ("Execute_loop");
26
27    for (uint32_t i=0; i<_nb_functionnal_unit; i++)
28      if (_nb_inst_functionnal_unit [i] != 1)
29        test.error(toString(_("Functionnal_unit [%d] must treat once instruction.\n"),i));
30
31    log_printf(FUNC,Execute_loop,FUNCTION,"End");
32
33    return test;
34  };
35
36}; // end namespace execute_loop
37}; // end namespace multi_execute_loop
38}; // end namespace core
39
40}; // end namespace behavioural
41}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.