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

Last change on this file since 138 was 138, checked in by rosiere, 14 years ago

1) add counters_t type for interface
2) fix in check load in load_store_unit
3) add parameters (but not yet implemented)
4) change environment and add script (distcc_env.sh ...)
5) add warning if an unser change rename flag with l.mtspr instruction
6) ...

  • Property svn:keywords set to Id
File size: 991 bytes
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 138 2010-05-12 17:34:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace multi_read_unit {
18namespace read_unit {
19
20
21#undef  FUNCTION
22#define FUNCTION "Read_unit::msg_error"
23  Parameters_test Parameters::msg_error(void)
24  {
25    log_printf(FUNC,Read_unit,FUNCTION,"Begin");
26
27    Parameters_test test ("Read_unit");
28
29    if (_nb_inst_read != 1)
30      test.error(_("nb_inst_read must be equal at 1.\n"));
31
32    log_printf(FUNC,Read_unit,FUNCTION,"End");
33
34    return test;
35  };
36
37}; // end namespace read_unit
38}; // end namespace multi_read_unit
39}; // end namespace execute_loop
40}; // end namespace multi_execute_loop
41}; // end namespace core
42
43}; // end namespace behavioural
44}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.