Last change
on this file since 74 was
71,
checked in by rosiere, 17 years ago
|
Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)
|
File size:
1.3 KB
|
Line | |
---|
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 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_execute_loop { |
---|
15 | namespace execute_loop { |
---|
16 | namespace multi_execute_unit { |
---|
17 | namespace execute_unit { |
---|
18 | namespace load_store_unit { |
---|
19 | |
---|
20 | |
---|
21 | #undef FUNCTION |
---|
22 | #define FUNCTION "Load_store_unit::msg_error" |
---|
23 | std::string Parameters::msg_error(void) |
---|
24 | { |
---|
25 | log_printf(FUNC,Load_store_unit,FUNCTION,"Begin"); |
---|
26 | |
---|
27 | std::string msg = ""; |
---|
28 | |
---|
29 | switch (_speculative_load) |
---|
30 | { |
---|
31 | case SPECULATIVE_LOAD_COMMIT : |
---|
32 | { |
---|
33 | break; |
---|
34 | } |
---|
35 | case NO_SPECULATIVE_LOAD : |
---|
36 | case SPECULATIVE_LOAD_ACCESS : |
---|
37 | case SPECULATIVE_LOAD_BYPASS : |
---|
38 | default : |
---|
39 | { |
---|
40 | msg += " - Speculative load scheme is not supported : " +toString(_speculative_load); |
---|
41 | break; |
---|
42 | } |
---|
43 | } |
---|
44 | |
---|
45 | return msg; |
---|
46 | |
---|
47 | log_printf(FUNC,Load_store_unit,FUNCTION,"End"); |
---|
48 | }; |
---|
49 | |
---|
50 | }; // end namespace load_store_unit |
---|
51 | }; // end namespace execute_unit |
---|
52 | }; // end namespace multi_execute_unit |
---|
53 | }; // end namespace execute_loop |
---|
54 | }; // end namespace multi_execute_loop |
---|
55 | }; // end namespace core |
---|
56 | |
---|
57 | }; // end namespace behavioural |
---|
58 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.