source: trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Debug_component.h

Last change on this file was 145, checked in by rosiere, 14 years ago

1) add test with SPECINT2K
2) new config of Selftest
3) modif RAT to support multiple depth_save ... but not finish (need fix Update Prediction Table)
4) add Function_pointer but need fix

  • Property svn:keywords set to Id
File size: 13.2 KB
Line 
1#ifndef Debug_component_H
2#define Debug_component_H
3
4// Boolean
5#  define DEBUG_true                                              true
6#  define DEBUG_false                                             false
7
8// Component
9#  define DEBUG_Morpheo                                           true
10#  define   DEBUG_Behavioural                                     true
11#  define   DEBUG_Configuration                                   true
12#  define     DEBUG_Generic                                       true
13#  define       DEBUG_Comparator                                  true
14#  define       DEBUG_Counter                                     true
15#  define       DEBUG_Divider                                     true
16#  define       DEBUG_Multiplier                                  true
17#  define       DEBUG_Priority                                    true
18#  define       DEBUG_Queue                                       true
19#  define       DEBUG_Queue_Control                               true
20#  define       DEBUG_RegisterFile                                true
21#  define         DEBUG_RegisterFile_Internal_Banked              true
22#  define         DEBUG_RegisterFile_Monolithic                   true
23#  define         DEBUG_RegisterFile_Multi_Banked                 true
24#  define       DEBUG_Select                                      true
25#  define         DEBUG_Select_Priority_Fixed                     true
26#  define       DEBUG_Shifter                                     true
27#  define       DEBUG_Sort                                        true
28#  define       DEBUG_Victim                                      true
29#  define         DEBUG_Victim_Pseudo_LRU                         true
30#  define     DEBUG_Core                                          true
31#  define       DEBUG_Core_Glue                                   true
32#  define       DEBUG_Dcache_Access                               true
33#  define       DEBUG_Icache_Access                               true
34#  define       DEBUG_Multi_Front_end                             true
35#  define         DEBUG_Front_end                                 true
36#  define           DEBUG_Context_State                           true
37#  define           DEBUG_Decod_unit                              true
38#  define             DEBUG_Decod                                 true
39#  define             DEBUG_Decod_queue                           true
40#  define           DEBUG_Front_end_Glue                          true
41#  define           DEBUG_Ifetch_unit                             true
42#  define             DEBUG_Address_management                    true
43#  define             DEBUG_Ifetch_queue                          true
44#  define             DEBUG_Ifetch_unit_Glue                      true
45#  define           DEBUG_Prediction_unit                         true
46#  define             DEBUG_Branch_Target_Buffer                  true
47#  define               DEBUG_Branch_Target_Buffer_Glue           true
48#  define               DEBUG_Branch_Target_Buffer_Register       true
49#  define             DEBUG_Direction                             true
50#  define               DEBUG_Direction_Glue                      true
51#  define               DEBUG_Meta_Predictor                      true
52#  define                 DEBUG_Meta_Predictor_Glue               true
53#  define                 DEBUG_Two_Level_Branch_Predictor        true
54#  define             DEBUG_Prediction_unit_Glue                  true
55#  define             DEBUG_Return_Address_Stack                  true
56#  define             DEBUG_Update_Prediction_Table               true
57#  define       DEBUG_Multi_OOO_Engine                            true
58#  define         DEBUG_OOO_Engine                                true
59#  define           DEBUG_Commit_unit                             true
60#  define           DEBUG_Issue_queue                             true
61#  define           DEBUG_OOO_Engine_Glue                         true
62#  define           DEBUG_Reexecute_unit                          true
63#  define           DEBUG_Rename_unit                             true
64#  define             DEBUG_Load_Store_pointer_unit               true
65#  define             DEBUG_Register_translation_unit             true
66#  define               DEBUG_Dependency_checking_unit            true
67#  define               DEBUG_Free_List_unit                      true
68#  define               DEBUG_Register_Address_Translation_unit   true
69#  define               DEBUG_Register_translation_unit_Glue      true
70#  define               DEBUG_Stat_List_unit                      true
71#  define             DEBUG_Rename_select                         true
72#  define             DEBUG_Rename_unit_Glue                      true
73#  define           DEBUG_Special_Register_unit                   true
74#  define       DEBUG_Multi_Execute_loop                          true
75#  define         DEBUG_Execute_loop                              true
76#  define           DEBUG_Execute_loop_Glue                       true
77#  define           DEBUG_Multi_Execute_unit                      true
78#  define             DEBUG_Execute_unit                          true
79#  define               DEBUG_Functionnal_unit                    true
80#  define               DEBUG_Load_store_unit                     true
81#  define           DEBUG_Multi_Read_unit                         true
82#  define             DEBUG_Read_unit                             true
83#  define               DEBUG_Read_queue                          true
84#  define               DEBUG_Reservation_station                 true
85#  define           DEBUG_Multi_Write_unit                        true
86#  define             DEBUG_Write_unit                            true
87#  define               DEBUG_Execute_queue                       true
88#  define               DEBUG_Write_queue                         true
89#  define           DEBUG_Network                                 true
90#  define             DEBUG_Execution_unit_to_Write_unit          true
91#  define             DEBUG_Read_unit_to_Execution_unit           true
92#  define           DEBUG_Register_unit                           true
93#  define             DEBUG_Register_unit_Glue                    true
94
95// Others
96#  define DEBUG_Allocation                                        true
97#  define DEBUG_Interface                                         true
98
99//----------------------------------------------------------------------
100
101// Boolean
102#  define NAME_true                                       "true"
103#  define NAME_false                                      "false"
104                                                                                                       
105// Others                                                                                             
106#  define NAME_Allocation                                 "Allocation"
107#  define NAME_Interface                                  "Interface"
108
109// Component                                               
110#  define NAME_Morpheo                                    "Morpheo"
111#  define NAME_Behavioural                                "Behavioural"
112#  define NAME_Configuration                              "Configuration"
113#  define NAME_Generic                                    "Generic"
114#  define NAME_Comparator                                 "Comparator"
115#  define NAME_Counter                                    "Counter"
116#  define NAME_Divider                                    "Divider"
117#  define NAME_Multiplier                                 "Multiplier"
118#  define NAME_Priority                                   "Priority"
119#  define NAME_Queue                                      "Queue"
120#  define NAME_Queue_Control                              "Queue_Control"
121#  define NAME_RegisterFile                               "RegisterFile"
122#  define NAME_RegisterFile_Internal_Banked               "RegisterFile_Internal_Banked"
123#  define NAME_RegisterFile_Monolithic                    "RegisterFile_Monolithic"
124#  define NAME_RegisterFile_Multi_Banked                  "RegisterFile_Multi_Banked"
125#  define NAME_Select                                     "Select"
126#  define NAME_Select_Priority_Fixed                      "Select_Priority_Fixed"
127#  define NAME_Shifter                                    "Shifter"
128#  define NAME_Sort                                       "Sort"
129#  define NAME_Victim                                     "Victim"
130#  define NAME_Victim_Pseudo_LRU                          "Victim_Pseudo_LRU"
131#  define NAME_Core                                       "Core"
132#  define NAME_Core_Glue                                  "Core_Glue"
133#  define NAME_Dcache_Access                              "Dcache_Access"
134#  define NAME_Icache_Access                              "Icache_Access"
135#  define NAME_Multi_Front_end                            "Multi_Front_end"
136#  define NAME_Front_end                                  "Front_end"
137#  define NAME_Context_State                              "Context_State"
138#  define NAME_Decod_unit                                 "Decod_unit"
139#  define NAME_Decod                                      "Decod"
140#  define NAME_Decod_queue                                "Decod_queue"
141#  define NAME_Front_end_Glue                             "Front_end_Glue"
142#  define NAME_Ifetch_unit                                "Ifetch_unit"
143#  define NAME_Address_management                         "Address_management"
144#  define NAME_Ifetch_queue                               "Ifetch_queue"
145#  define NAME_Ifetch_unit_Glue                           "Ifetch_unit_Glue"
146#  define NAME_Prediction_unit                            "Prediction_unit"
147#  define NAME_Branch_Target_Buffer                       "Branch_Target_Buffer"
148#  define NAME_Branch_Target_Buffer_Glue                  "Branch_Target_Buffer_Glue"
149#  define NAME_Branch_Target_Buffer_Register              "Branch_Target_Buffer_Register"
150#  define NAME_Direction                                  "Direction"
151#  define NAME_Direction_Glue                             "Direction_Glue"
152#  define NAME_Meta_Predictor                             "Meta_Predictor"
153#  define NAME_Meta_Predictor_Glue                        "Meta_Predictor_Glue"
154#  define NAME_Two_Level_Branch_Predictor                 "Two_Level_Branch_Predictor"
155#  define NAME_Prediction_unit_Glue                       "Prediction_unit_Glue"
156#  define NAME_Return_Address_Stack                       "Return_Address_Stack"
157#  define NAME_Update_Prediction_Table                    "Update_Prediction_Table"
158#  define NAME_Multi_OOO_Engine                           "Multi_OOO_Engine"
159#  define NAME_OOO_Engine                                 "OOO_Engine"
160#  define NAME_Commit_unit                                "Commit_unit"
161#  define NAME_Issue_queue                                "Issue_queue"
162#  define NAME_OOO_Engine_Glue                            "OOO_Engine_Glue"
163#  define NAME_Reexecute_unit                             "Reexecute_unit"
164#  define NAME_Rename_unit                                "Rename_unit"
165#  define NAME_Load_Store_pointer_unit                    "Load_Store_pointer_unit"
166#  define NAME_Register_translation_unit                  "Register_translation_unit"
167#  define NAME_Dependency_checking_unit                   "Dependency_checking_unit"
168#  define NAME_Free_List_unit                             "Free_List_unit"
169#  define NAME_Register_Address_Translation_unit          "Register_Address_Translation_unit"
170#  define NAME_Register_translation_unit_Glue             "Register_translation_unit_Glue"
171#  define NAME_Stat_List_unit                             "Stat_List_unit"
172#  define NAME_Rename_select                              "Rename_select"
173#  define NAME_Rename_unit_Glue                           "Rename_unit_Glue"
174#  define NAME_Special_Register_unit                      "Special_Register_unit"
175#  define NAME_Multi_Execute_loop                         "Multi_Execute_loop"
176#  define NAME_Execute_loop                               "Execute_loop"
177#  define NAME_Execute_loop_Glue                          "Execute_loop_Glue"
178#  define NAME_Multi_Execute_unit                         "Multi_Execute_unit"
179#  define NAME_Execute_unit                               "Execute_unit"
180#  define NAME_Functionnal_unit                           "Functionnal_unit"
181#  define NAME_Load_store_unit                            "Load_store_unit"
182#  define NAME_Multi_Read_unit                            "Multi_Read_unit"
183#  define NAME_Read_unit                                  "Read_unit"
184#  define NAME_Read_queue                                 "Read_queue"
185#  define NAME_Reservation_station                        "Reservation_station"
186#  define NAME_Multi_Write_unit                           "Multi_Write_unit"
187#  define NAME_Write_unit                                 "Write_unit"
188#  define NAME_Execute_queue                              "Execute_queue"
189#  define NAME_Write_queue                                "Write_queue"
190#  define NAME_Network                                    "Network"
191#  define NAME_Execution_unit_to_Write_unit               "Execution_unit_to_Write_unit"
192#  define NAME_Read_unit_to_Execution_unit                "Read_unit_to_Execution_unit"
193#  define NAME_Register_unit                              "Register_unit"
194#  define NAME_Register_unit_Glue                         "Register_unit_Glue"
195
196#endif
Note: See TracBrowser for help on using the repository browser.