Last change
on this file since 146 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
|
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_Write_unit/Write_unit/include/Parameters.h" |
---|
10 | #include <sstream> |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace core { |
---|
15 | namespace multi_execute_loop { |
---|
16 | namespace execute_loop { |
---|
17 | namespace multi_write_unit { |
---|
18 | namespace 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.\n")); |
---|
30 | |
---|
31 | if (_nb_inst_write != 1) |
---|
32 | test.error(_("nb_inst_write must be equal at 1.\n")); |
---|
33 | |
---|
34 | log_printf(FUNC,Write_unit,FUNCTION,"End"); |
---|
35 | |
---|
36 | return test; |
---|
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.