Last change
on this file since 140 was
136,
checked in by rosiere, 15 years ago
|
1) Add new algo in ifetch queue
2) Add Cancel bit
3) new config
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Parameters_msg_error.cpp 136 2009-10-20 18:52:15Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Types.h" |
---|
9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/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 prediction_unit { |
---|
18 | |
---|
19 | |
---|
20 | #undef FUNCTION |
---|
21 | #define FUNCTION "Prediction_unit::msg_error" |
---|
22 | Parameters_test Parameters::msg_error(void) |
---|
23 | { |
---|
24 | log_printf(FUNC,Prediction_unit,FUNCTION,"Begin"); |
---|
25 | |
---|
26 | Parameters_test test ("Prediction_unit"); |
---|
27 | |
---|
28 | for (uint32_t i=0; i<_nb_context; ++i) |
---|
29 | if ((_nb_instruction[i] > 1) and (_ufpt_size_queue[i] < 2)) |
---|
30 | test.error(toString(_("context \"%d\" : can fetch must than 1 instruction per cycle, size of Update Fetch Prediction Table must be less 1\n"),i)); |
---|
31 | |
---|
32 | log_printf(FUNC,Prediction_unit,FUNCTION,"End"); |
---|
33 | |
---|
34 | return test; |
---|
35 | }; |
---|
36 | |
---|
37 | }; // end namespace prediction_unit |
---|
38 | }; // end namespace front_end |
---|
39 | }; // end namespace multi_front_end |
---|
40 | }; // end namespace core |
---|
41 | |
---|
42 | }; // end namespace behavioural |
---|
43 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.