Last change
on this file since 68 was
68,
checked in by rosiere, 17 years ago
|
read_queue : systemC et vhdl ok !
queue : quelques petits modif pour avoir une queue de taille 1
nettoyage des fichiers *mkf*
|
File size:
1.3 KB
|
Rev | Line | |
---|
[54] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/include/Parameters.h" |
---|
| 9 | #include <sstream> |
---|
| 10 | using namespace std; |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace core { |
---|
| 15 | namespace multi_execute_loop { |
---|
| 16 | namespace execute_loop { |
---|
| 17 | namespace multi_read_unit { |
---|
| 18 | namespace read_unit { |
---|
| 19 | namespace read_queue { |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | string Parameters::msg_error(void) |
---|
| 23 | { |
---|
| 24 | log_printf(FUNC,Read_queue,"msg_error","Begin"); |
---|
| 25 | |
---|
| 26 | string msg = ""; |
---|
| 27 | |
---|
[68] | 28 | // if (_size_queue < 2) |
---|
| 29 | // { |
---|
| 30 | // msg += " - The read_queue must be have less a depth of 2"; |
---|
| 31 | // msg += " * size_queue : " + toString(_size_queue) + "\n"; |
---|
| 32 | // } |
---|
| 33 | |
---|
| 34 | if (_nb_type < 2) |
---|
[54] | 35 | { |
---|
[68] | 36 | msg += " - The number of type must be > 1"; |
---|
[54] | 37 | } |
---|
[68] | 38 | if (_nb_operation < 2) |
---|
| 39 | { |
---|
| 40 | msg += " - The number of operation must be > 1"; |
---|
| 41 | } |
---|
[54] | 42 | |
---|
| 43 | |
---|
| 44 | return msg; |
---|
| 45 | |
---|
| 46 | log_printf(FUNC,Read_queue,"msg_error","End"); |
---|
| 47 | }; |
---|
| 48 | |
---|
| 49 | }; // end namespace read_queue |
---|
| 50 | }; // end namespace read_unit |
---|
| 51 | }; // end namespace multi_read_unit |
---|
| 52 | }; // end namespace execute_loop |
---|
| 53 | }; // end namespace multi_execute_loop |
---|
| 54 | }; // end namespace core |
---|
| 55 | |
---|
| 56 | }; // end namespace behavioural |
---|
| 57 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.