1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/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_execute_unit { |
---|
18 | namespace execute_unit { |
---|
19 | namespace load_store_unit { |
---|
20 | |
---|
21 | |
---|
22 | #undef FUNCTION |
---|
23 | #define FUNCTION "Load_store_unit::msg_error" |
---|
24 | string Parameters::msg_error(void) |
---|
25 | { |
---|
26 | log_printf(FUNC,Load_store_unit,FUNCTION,"Begin"); |
---|
27 | |
---|
28 | string msg = ""; |
---|
29 | |
---|
30 | switch (_speculative_load) |
---|
31 | { |
---|
32 | case SPECULATIVE_LOAD_COMMIT : |
---|
33 | { |
---|
34 | break; |
---|
35 | } |
---|
36 | case NO_SPECULATIVE_LOAD : |
---|
37 | case SPECULATIVE_LOAD_ACCESS : |
---|
38 | case SPECULATIVE_LOAD_BYPASS : |
---|
39 | default : |
---|
40 | { |
---|
41 | msg += " - Speculative load scheme is not supported : " +toString(_speculative_load); |
---|
42 | break; |
---|
43 | } |
---|
44 | } |
---|
45 | |
---|
46 | return msg; |
---|
47 | |
---|
48 | log_printf(FUNC,Load_store_unit,FUNCTION,"End"); |
---|
49 | }; |
---|
50 | |
---|
51 | }; // end namespace load_store_unit |
---|
52 | }; // end namespace execute_unit |
---|
53 | }; // end namespace multi_execute_unit |
---|
54 | }; // end namespace execute_loop |
---|
55 | }; // end namespace multi_execute_loop |
---|
56 | }; // end namespace core |
---|
57 | |
---|
58 | }; // end namespace behavioural |
---|
59 | }; // end namespace morpheo |
---|