source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/src/Parameters_msg_error.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 6.7 KB
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 88 2008-12-10 18:31:39Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_ooo_engine {
16namespace ooo_engine {
17namespace special_register_unit {
18
19
20#undef  FUNCTION
21#define FUNCTION "Special_Register_unit::msg_error"
22  Parameters_test Parameters::msg_error(void)
23  {
24    log_begin(Special_Register_unit,FUNCTION);
25
26    Parameters_test test ("Special_Register_unit");
27
28    for (uint32_t i=0; i<_nb_front_end; i++)
29      for (uint32_t j=0; j<_nb_context[i]; j++)
30        {
31          if (_implement_group [i][j][GROUP_SYSTEM_AND_CONTROL ] == false)
32            test.error(toString(_("Thread [%d][%d] : Group \"SYSTEM_AND_CONTROL\" must be implemented.\n"),i,j));
33         
34          if (_implement_group [i][j][GROUP_DMMU               ] == true )
35            test.error(toString(_("Thread [%d][%d] : Group \"DMMU\" can't be implemented : not yet supported.\n"),i,j));
36
37          if (_implement_group [i][j][GROUP_IMMU               ] == true )
38            test.error(toString(_("Thread [%d][%d] : Group \"IMMU\" can't be implemented : not yet supported.\n"),i,j));
39
40//        if (_implement_group [i][j][GROUP_DCACHE             ] == false)
41//          test.error(toString(_("Thread [%d][%d] : Group \"DCACHE\" must be implemented.\n"),i,j));
42
43          if (_implement_group [i][j][GROUP_ICACHE             ] == true)
44            test.error(toString(_("Thread [%d][%d] : Group \"ICACHE\" can't be implemented : not yet supported.\n"),i,j));
45
46//        if (_implement_group [i][j][GROUP_MAC                ] == true)
47//          test.error(toString(_("Thread [%d][%d] : Group \"MAC\" can't be implemented here. See functionnal_unit.\n"),i,j));
48
49          if (_implement_group [i][j][GROUP_DEBUG              ] == true)
50            test.error(toString(_("Thread [%d][%d] : Group \"DEBUG\" can't be implemented : not yet supported.\n"),i,j));
51         
52          if (_implement_group [i][j][GROUP_PERFORMANCE_COUNTER] == true)
53            test.error(toString(_("Thread [%d][%d] : Group \"PERFORMANCE_COUNTER\" can't be implemented : not yet supported.\n"),i,j));
54         
55          if (_implement_group [i][j][GROUP_POWER_MANAGEMENT   ] == true)
56            test.error(toString(_("Thread [%d][%d] : Group \"POWER_MANAGEMENT\" can't be implemented : not yet supported.\n"),i,j));
57
58          if (_implement_group [i][j][GROUP_PIC                ] == true)
59            test.error(toString(_("Thread [%d][%d] : Group \"PIC\" can't be implemented : not yet supported.\n"),i,j));
60
61          if (_implement_group [i][j][GROUP_TICK_TIMER         ] == true)
62            test.error(toString(_("Thread [%d][%d] : Group \"TICK_TIMER\" can't be implemented : not yet supported.\n"),i,j));
63
64          if (_implement_group [i][j][GROUP_FLOATING_POINT     ] == true)
65            test.error(toString(_("Thread [%d][%d] : Group \"FLOATIN_POINT\" can't be implemented : not yet supported.\n"),i,j));
66
67          if (_implement_group [i][j][GROUP_RESERVED_1         ] == true)
68            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_1\" can't be implemented.\n"),i,j));
69         
70          if (_implement_group [i][j][GROUP_RESERVED_2         ] == true)
71            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_2\" can't be implemented.\n"),i,j));
72         
73          if (_implement_group [i][j][GROUP_RESERVED_3         ] == true)
74            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_3\" can't be implemented.\n"),i,j));
75         
76          if (_implement_group [i][j][GROUP_RESERVED_4         ] == true)
77            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_4\" can't be implemented.\n"),i,j));
78         
79          if (_implement_group [i][j][GROUP_RESERVED_5         ] == true)
80            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_5\" can't be implemented.\n"),i,j));
81         
82          if (_implement_group [i][j][GROUP_RESERVED_6         ] == true)
83            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_6\" can't be implemented.\n"),i,j));
84         
85          if (_implement_group [i][j][GROUP_RESERVED_7         ] == true)
86            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_7\" can't be implemented.\n"),i,j));
87         
88          if (_implement_group [i][j][GROUP_RESERVED_8         ] == true)
89            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_8\" can't be implemented.\n"),i,j));
90         
91          if (_implement_group [i][j][GROUP_RESERVED_9         ] == true)
92            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_9\" can't be implemented.\n"),i,j));
93         
94          if (_implement_group [i][j][GROUP_RESERVED_10        ] == true)
95            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_10\" can't be implemented.\n"),i,j));
96         
97          if (_implement_group [i][j][GROUP_RESERVED_11        ] == true)
98            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_11\" can't be implemented.\n"),i,j));
99         
100          if (_implement_group [i][j][GROUP_RESERVED_12        ] == true)
101            test.error(toString(_("Thread [%d][%d] : Group \"RESERVED_12\" can't be implemented.\n"),i,j));
102         
103//        if (_implement_group [i][j][GROUP_CUSTOM_1           ] == true)
104//          test.error(toString(_("Thread [%d][%d] : Group \"CUSTOM_1\" can't be implemented here. See functionnal_unit.\n"),i,j));
105         
106//        if (_implement_group [i][j][GROUP_CUSTOM_2           ] == true)
107//          test.error(toString(_("Thread [%d][%d] : Group \"CUSTOM_2\" can't be implemented here. See functionnal_unit.\n"),i,j));
108         
109//        if (_implement_group [i][j][GROUP_CUSTOM_3           ] == true)
110//          test.error(toString(_("Thread [%d][%d] : Group \"CUSTOM_3\" can't be implemented here. See functionnal_unit.\n"),i,j));
111         
112//        if (_implement_group [i][j][GROUP_CUSTOM_4           ] == true)
113//          test.error(toString(_("Thread [%d][%d] : Group \"CUSTOM_4\" can't be implemented here. See functionnal_unit.\n"),i,j));
114         
115//        if (_implement_group [i][j][GROUP_CUSTOM_5           ] == true)
116//          test.error(toString(_("Thread [%d][%d] : Group \"CUSTOM_5\" can't be implemented here. See functionnal_unit.\n"),i,j));
117         
118//        if (_implement_group [i][j][GROUP_CUSTOM_6           ] == true)
119//          test.error(toString(_("Thread [%d][%d] : Group \"CUSTOM_6\" can't be implemented here. See functionnal_unit.\n"),i,j));
120         
121//        if (_implement_group [i][j][GROUP_CUSTOM_7           ] == true)
122//          test.error(toString(_("Thread [%d][%d] : Group \"CUSTOM_7\" can't be implemented here. See functionnal_unit.\n"),i,j));
123         
124//        if (_implement_group [i][j][GROUP_CUSTOM_8           ] == true)
125//          test.error(toString(_("Thread [%d][%d] : Group \"CUSTOM_8\" can't be implemented here. See functionnal_unit.\n"),i,j));
126        }
127
128    log_end(Special_Register_unit,FUNCTION);
129
130    return test;
131  };
132
133}; // end namespace special_register_unit
134}; // end namespace ooo_engine
135}; // end namespace multi_ooo_engine
136}; // end namespace core
137
138}; // end namespace behavioural
139}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.