Last change
on this file since 72 was
69,
checked in by rosiere, 17 years ago
|
Station de reservation : systemC et VHDL ok
|
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_Read_unit/Read_unit/Reservation_station/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 reservation_station { |
---|
20 | |
---|
21 | |
---|
22 | #undef FUNCTION |
---|
23 | #define FUNCTION "Reservation_station::msg_error" |
---|
24 | string Parameters::msg_error(void) |
---|
25 | { |
---|
26 | log_printf(FUNC,Reservation_station,FUNCTION,"Begin"); |
---|
27 | |
---|
28 | string msg = ""; |
---|
29 | |
---|
30 | // if (_size_queue < 2) |
---|
31 | // { |
---|
32 | // msg += " - The reservation_station must be have less a depth of 2"; |
---|
33 | // msg += " * size_queue : " + toString(_size_queue) + "\n"; |
---|
34 | // } |
---|
35 | |
---|
36 | if (_size_queue < _nb_inst_retire) |
---|
37 | { |
---|
38 | msg += " - The reservation_station can't have more retire port than entry in the queue."; |
---|
39 | } |
---|
40 | |
---|
41 | return msg; |
---|
42 | |
---|
43 | log_printf(FUNC,Reservation_station,FUNCTION,"End"); |
---|
44 | }; |
---|
45 | |
---|
46 | }; // end namespace reservation_station |
---|
47 | }; // end namespace read_unit |
---|
48 | }; // end namespace multi_read_unit |
---|
49 | }; // end namespace execute_loop |
---|
50 | }; // end namespace multi_execute_loop |
---|
51 | }; // end namespace core |
---|
52 | |
---|
53 | }; // end namespace behavioural |
---|
54 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.