Last change
on this file since 94 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 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace core { |
---|
15 | namespace multi_execute_loop { |
---|
16 | namespace 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.