1 | /* |
---|
2 | * $Id: Parameters_msg_error.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Types.h" |
---|
9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/include/Parameters.h" |
---|
10 | #include <sstream> |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace core { |
---|
15 | namespace multi_front_end { |
---|
16 | namespace front_end { |
---|
17 | namespace ifetch_unit { |
---|
18 | namespace ifetch_queue { |
---|
19 | |
---|
20 | |
---|
21 | #undef FUNCTION |
---|
22 | #define FUNCTION "Ifetch_queue::msg_error" |
---|
23 | Parameters_test Parameters::msg_error(void) |
---|
24 | { |
---|
25 | log_printf(FUNC,Ifetch_queue,FUNCTION,"Begin"); |
---|
26 | |
---|
27 | Parameters_test test ("Ifetch_queue"); |
---|
28 | |
---|
29 | if (_size_queue == 1) |
---|
30 | test.warning("To best perfomance, size_queue must be > 1."); |
---|
31 | |
---|
32 | // if (not _have_port_queue_ptr) |
---|
33 | // test.information("They have not port '..._QUEUE_PTR'."); |
---|
34 | |
---|
35 | // if (not _have_port_instruction_ptr) |
---|
36 | // test.information("They have not port '..._INST_IFETCH_PTR'."); |
---|
37 | |
---|
38 | // if (not _have_port_branch_update_prediction_id) |
---|
39 | // test.information("They have not port '..._BRANCH_UPDATE_PREDICTION_ID'."); |
---|
40 | |
---|
41 | log_printf(FUNC,Ifetch_queue,FUNCTION,"End"); |
---|
42 | |
---|
43 | return test; |
---|
44 | }; |
---|
45 | |
---|
46 | }; // end namespace ifetch_queue |
---|
47 | }; // end namespace ifetch_unit |
---|
48 | }; // end namespace front_end |
---|
49 | }; // end namespace multi_front_end |
---|
50 | }; // end namespace core |
---|
51 | |
---|
52 | }; // end namespace behavioural |
---|
53 | }; // end namespace morpheo |
---|