source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_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: 1.1 KB
RevLine 
[74]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_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"
[78]22  Parameters_test Parameters::msg_error(void)
[74]23  {
24    log_printf(FUNC,Write_unit,FUNCTION,"Begin");
25
[78]26    Parameters_test test ("Write_unit");
[74]27
28    if (_size_write_queue == 0)
[138]29      test.error(_("Write queue must have a less one entry.\n"));
[74]30
[138]31    if (_nb_inst_write != 1)
32      test.error(_("nb_inst_write must be equal at 1.\n"));
33
[78]34    log_printf(FUNC,Write_unit,FUNCTION,"End");
[74]35
[78]36    return test;
[74]37  };
38
39}; // end namespace write_unit
40}; // end namespace multi_write_unit
41}; // end namespace execute_loop
42}; // end namespace multi_execute_loop
43}; // end namespace core
44}; // end namespace behavioural
45}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.