source: trunk/IPs/systemC/processor/Morpheo/TopLevel/Makefile.deps @ 142

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

1) Full parallel compilation
2) Add statistics in ROB : list instruction affinity

  • Property svn:keywords set to Id
File size: 17.0 KB
Line 
1#
2# $Id: Makefile.deps 142 2010-08-04 20:09:03Z rosiere $
3#
4# [ Description ]
5#
6# Makefile
7#
8# DIR_MORPHEO must be defined
9
10Morpheo                         = yes
11
12ifndef Divider
13include                         $(DIR_MORPHEO)/Behavioural/Generic/Divider/Makefile.deps
14endif
15ifndef Victim_Pseudo_LRU
16include                         $(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile.deps
17endif
18ifndef Victim
19include                         $(DIR_MORPHEO)/Behavioural/Generic/Victim/Makefile.deps
20endif
21ifndef Select_Priority_Fixed
22include                         $(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps
23endif
24ifndef Sort
25include                         $(DIR_MORPHEO)/Behavioural/Generic/Sort/Makefile.deps
26endif
27ifndef Comparator
28include                         $(DIR_MORPHEO)/Behavioural/Generic/Comparator/Makefile.deps
29endif
30ifndef Queue_Control
31include                         $(DIR_MORPHEO)/Behavioural/Generic/Queue_Control/Makefile.deps
32endif
33ifndef Priority
34include                         $(DIR_MORPHEO)/Behavioural/Generic/Priority/Makefile.deps
35endif
36ifndef Queue
37include                         $(DIR_MORPHEO)/Behavioural/Generic/Queue/Makefile.deps
38endif
39ifndef RegisterFile_Monolithic
40include                         $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps
41endif
42ifndef RegisterFile
43include                         $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/Makefile.deps
44endif
45ifndef RegisterFile_Multi_Banked
46include                         $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/Makefile.deps
47endif
48ifndef Counter
49include                         $(DIR_MORPHEO)/Behavioural/Generic/Counter/Makefile.deps
50endif
51ifndef Shifter
52include                         $(DIR_MORPHEO)/Behavioural/Generic/Shifter/Makefile.deps
53endif
54ifndef Multiplier
55include                         $(DIR_MORPHEO)/Behavioural/Generic/Multiplier/Makefile.deps
56endif
57ifndef Custom
58include                         $(DIR_MORPHEO)/Behavioural/Custom/Makefile.deps
59endif
60ifndef Configuration
61include                         $(DIR_MORPHEO)/Behavioural/Configuration/Makefile.deps
62endif
63ifndef Instruction
64include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction/Makefile.deps
65endif
66ifndef Decod
67include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Makefile.deps
68endif
69ifndef Decod_queue
70include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/Makefile.deps
71endif
72ifndef Decod_unit
73include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Makefile.deps
74endif
75ifndef Return_Address_Stack
76include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/Makefile.deps
77endif
78ifndef Branch_Target_Buffer_Register
79include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/Makefile.deps
80endif
81ifndef Branch_Target_Buffer
82include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Makefile.deps
83endif
84ifndef Branch_Target_Buffer_Glue
85include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/Makefile.deps
86endif
87ifndef Prediction_unit_Glue
88include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/Makefile.deps
89endif
90ifndef Direction_Glue
91include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/Makefile.deps
92endif
93ifndef Meta_Predictor_Glue
94include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps
95endif
96ifndef Two_Level_Branch_Predictor
97include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps
98endif
99ifndef Meta_Predictor
100include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Makefile.deps
101endif
102ifndef Direction
103include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Makefile.deps
104endif
105ifndef Update_Prediction_Table
106include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/Makefile.deps
107endif
108ifndef Prediction_unit
109include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Makefile.deps
110endif
111ifndef Front_end_Glue
112include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/Makefile.deps
113endif
114ifndef Front_end
115include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Makefile.deps
116endif
117ifndef Context_State
118include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Context_State/Makefile.deps
119endif
120ifndef Ifetch_unit_Glue
121include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/Makefile.deps
122endif
123ifndef Address_management
124include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management/Makefile.deps
125endif
126ifndef Ifetch_unit
127include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Makefile.deps
128endif
129ifndef Ifetch_queue
130include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/Makefile.deps
131endif
132ifndef Icache_Access
133include                         $(DIR_MORPHEO)/Behavioural/Core/Icache_Access/Makefile.deps
134endif
135ifndef Core_Glue
136include                         $(DIR_MORPHEO)/Behavioural/Core/Core_Glue/Makefile.deps
137endif
138ifndef Load_store_unit
139include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/Makefile.deps
140endif
141ifndef Operation
142include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Operation/Makefile.deps
143endif
144ifndef Functionnal_unit
145include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Makefile.deps
146endif
147ifndef Register_unit
148include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Makefile.deps
149endif
150ifndef Register_unit_Glue
151include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/Makefile.deps
152endif
153ifndef Read_queue
154include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/Makefile.deps
155endif
156ifndef Reservation_station
157include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/Makefile.deps
158endif
159ifndef Read_unit
160include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Makefile.deps
161endif
162ifndef Execute_loop_Glue
163include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Execute_loop_Glue/Makefile.deps
164endif
165ifndef Write_queue
166include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/Makefile.deps
167endif
168ifndef Write_unit
169include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Makefile.deps
170endif
171ifndef Execute_queue
172include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue/Makefile.deps
173endif
174ifndef Execute_loop
175include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Makefile.deps
176endif
177ifndef Execution_unit_to_Write_unit
178include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/Makefile.deps
179endif
180ifndef Read_unit_to_Execution_unit
181include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/Makefile.deps
182endif
183ifndef Dcache_Access
184include                         $(DIR_MORPHEO)/Behavioural/Core/Dcache_Access/Makefile.deps
185endif
186ifndef Special_Register_unit
187include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/Makefile.deps
188endif
189ifndef Issue_queue
190include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/Makefile.deps
191endif
192ifndef Free_List_unit
193include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/Makefile.deps
194endif
195ifndef Register_translation_unit_Glue
196include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/Makefile.deps
197endif
198ifndef Register_Address_Translation_unit
199include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/Makefile.deps
200endif
201ifndef Register_translation_unit
202include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Makefile.deps
203endif
204ifndef Dependency_checking_unit
205include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/Makefile.deps
206endif
207ifndef Stat_List_unit
208include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/Makefile.deps
209endif
210ifndef Rename_select
211include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/Makefile.deps
212endif
213ifndef Load_Store_pointer_unit
214include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/Makefile.deps
215endif
216ifndef Rename_unit
217include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Makefile.deps
218endif
219ifndef Rename_unit_Glue
220include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_unit_Glue/Makefile.deps
221endif
222ifndef Commit_unit
223include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/Makefile.deps
224endif
225ifndef Reexecute_unit
226include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit/Makefile.deps
227endif
228ifndef OOO_Engine
229include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Makefile.deps
230endif
231ifndef OOO_Engine_Glue
232include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/Makefile.deps
233endif
234ifndef Core
235include                         $(DIR_MORPHEO)/Behavioural/Core/Makefile.deps
236endif
237ifndef Behavioural
238include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
239endif
240ifndef Common
241include                         $(DIR_MORPHEO)/Common/Makefile.deps
242endif
243
244#-----[ Directory ]----------------------------------------
245
246Morpheo_DIR                     =       $(DIR_MORPHEO)/TopLevel
247
248#-----[ Library ]------------------------------------------
249
250Morpheo_LIBRARY                 =       -lMorpheo                       \
251                                        $(Configuration_LIBRARY)        \
252                                        $(Core_LIBRARY)
253
254#-----[ Rules ]--------------------------------------------
255
256Morpheo_library_only            :
257                                @\
258                                $(MAKE) --directory=$(Morpheo_DIR) --makefile=Makefile;
259
260Morpheo_library_clean_only      :
261                                @\
262                                $(MAKE) --directory=$(Morpheo_DIR) --makefile=Makefile clean;
263
264Morpheo_library_step            :       
265                                        @\
266                                        $(MAKE) Morpheo_library_only;\
267                                        $(MAKE) Comparator_library_only;\
268                                        $(MAKE) Counter_library_only;\
269                                        $(MAKE) Divider_library_only;\
270                                        $(MAKE) Multiplier_library_only;\
271                                        $(MAKE) Priority_library_only;\
272                                        $(MAKE) Queue_Control_library_only;\
273                                        $(MAKE) Queue_library_only;\
274                                        $(MAKE) RegisterFile_Monolithic_library_only;\
275                                        $(MAKE) RegisterFile_Multi_Banked_library_only;\
276                                        $(MAKE) RegisterFile_library_only;\
277                                        $(MAKE) Select_Priority_Fixed_library_only;\
278                                        $(MAKE) Shifter_library_only;\
279                                        $(MAKE) Sort_library_only;\
280                                        $(MAKE) Victim_Pseudo_LRU_library_only;\
281                                        $(MAKE) Victim_library_only;\
282                                        $(MAKE) Execute_loop_Glue_library_only;\
283                                        $(MAKE) Operation_library_only;\
284                                        $(MAKE) Functionnal_unit_library_only;\
285                                        $(MAKE) Load_store_unit_library_only;\
286                                        $(MAKE) Read_queue_library_only;\
287                                        $(MAKE) Reservation_station_library_only;\
288                                        $(MAKE) Read_unit_library_only;\
289                                        $(MAKE) Execute_queue_library_only;\
290                                        $(MAKE) Write_queue_library_only;\
291                                        $(MAKE) Write_unit_library_only;\
292                                        $(MAKE) Execution_unit_to_Write_unit_library_only;\
293                                        $(MAKE) Read_unit_to_Execution_unit_library_only;\
294                                        $(MAKE) Register_unit_Glue_library_only;\
295                                        $(MAKE) Register_unit_library_only;\
296                                        $(MAKE) Execute_loop_library_only;\
297                                        $(MAKE) Commit_unit_library_only;\
298                                        $(MAKE) Issue_queue_library_only;\
299                                        $(MAKE) OOO_Engine_Glue_library_only;\
300                                        $(MAKE) Reexecute_unit_library_only;\
301                                        $(MAKE) Load_Store_pointer_unit_library_only;\
302                                        $(MAKE) Dependency_checking_unit_library_only;\
303                                        $(MAKE) Free_List_unit_library_only;\
304                                        $(MAKE) Register_Address_Translation_unit_library_only;\
305                                        $(MAKE) Register_translation_unit_Glue_library_only;\
306                                        $(MAKE) Stat_List_unit_library_only;\
307                                        $(MAKE) Register_translation_unit_library_only;\
308                                        $(MAKE) Rename_unit_Glue_library_only;\
309                                        $(MAKE) Rename_select_library_only;\
310                                        $(MAKE) Rename_unit_library_only;\
311                                        $(MAKE) Special_Register_unit_library_only;\
312                                        $(MAKE) OOO_Engine_library_only;\
313                                        $(MAKE) Context_State_library_only;\
314                                        $(MAKE) Instruction_library_only;\
315                                        $(MAKE) Decod_library_only;\
316                                        $(MAKE) Decod_queue_library_only;\
317                                        $(MAKE) Decod_unit_library_only;\
318                                        $(MAKE) Front_end_Glue_library_only;\
319                                        $(MAKE) Address_management_library_only;\
320                                        $(MAKE) Ifetch_queue_library_only;\
321                                        $(MAKE) Ifetch_unit_Glue_library_only;\
322                                        $(MAKE) Ifetch_unit_library_only;\
323                                        $(MAKE) Branch_Target_Buffer_Glue_library_only;\
324                                        $(MAKE) Branch_Target_Buffer_Register_library_only;\
325                                        $(MAKE) Branch_Target_Buffer_library_only;\
326                                        $(MAKE) Direction_Glue_library_only;\
327                                        $(MAKE) Direction_library_only;\
328                                        $(MAKE) Two_Level_Branch_Predictor_library_only;\
329                                        $(MAKE) Meta_Predictor_Glue_library_only;\
330                                        $(MAKE) Meta_Predictor_library_only;\
331                                        $(MAKE) Prediction_unit_Glue_library_only;\
332                                        $(MAKE) Return_Address_Stack_library_only;\
333                                        $(MAKE) Update_Prediction_Table_library_only;\
334                                        $(MAKE) Prediction_unit_library_only;\
335                                        $(MAKE) Front_end_library_only;\
336                                        $(MAKE) Icache_Access_library_only;\
337                                        $(MAKE) Dcache_Access_library_only;\
338                                        $(MAKE) Core_Glue_library_only;\
339                                        $(MAKE) Core_library_only;\
340                                        $(MAKE) Behavioural_library_only;\
341                                        $(MAKE) Custom_library_only;\
342                                        $(MAKE) Common_library_only;\
343                                        $(MAKE) Configuration_library_only
344
345#                                       $(MAKE) Select_library_only;\
346
347Morpheo_library_parallel        :       Morpheo_library_only\
348                                        Comparator_library_only\
349                                        Counter_library_only\
350                                        Divider_library_only\
351                                        Multiplier_library_only\
352                                        Priority_library_only\
353                                        Queue_Control_library_only\
354                                        Queue_library_only\
355                                        RegisterFile_Monolithic_library_only\
356                                        RegisterFile_Multi_Banked_library_only\
357                                        RegisterFile_library_only\
358                                        Select_Priority_Fixed_library_only\
359                                        Shifter_library_only\
360                                        Sort_library_only\
361                                        Victim_Pseudo_LRU_library_only\
362                                        Victim_library_only\
363                                        Execute_loop_Glue_library_only\
364                                        Operation_library_only\
365                                        Functionnal_unit_library_only\
366                                        Load_store_unit_library_only\
367                                        Read_queue_library_only\
368                                        Reservation_station_library_only\
369                                        Read_unit_library_only\
370                                        Execute_queue_library_only\
371                                        Write_queue_library_only\
372                                        Write_unit_library_only\
373                                        Execution_unit_to_Write_unit_library_only\
374                                        Read_unit_to_Execution_unit_library_only\
375                                        Register_unit_Glue_library_only\
376                                        Register_unit_library_only\
377                                        Execute_loop_library_only\
378                                        Commit_unit_library_only\
379                                        Issue_queue_library_only\
380                                        OOO_Engine_Glue_library_only\
381                                        Reexecute_unit_library_only\
382                                        Load_Store_pointer_unit_library_only\
383                                        Dependency_checking_unit_library_only\
384                                        Free_List_unit_library_only\
385                                        Register_Address_Translation_unit_library_only\
386                                        Register_translation_unit_Glue_library_only\
387                                        Stat_List_unit_library_only\
388                                        Register_translation_unit_library_only\
389                                        Rename_unit_Glue_library_only\
390                                        Rename_select_library_only\
391                                        Rename_unit_library_only\
392                                        Special_Register_unit_library_only\
393                                        OOO_Engine_library_only\
394                                        Context_State_library_only\
395                                        Instruction_library_only\
396                                        Decod_library_only\
397                                        Decod_queue_library_only\
398                                        Decod_unit_library_only\
399                                        Front_end_Glue_library_only\
400                                        Address_management_library_only\
401                                        Ifetch_queue_library_only\
402                                        Ifetch_unit_Glue_library_only\
403                                        Ifetch_unit_library_only\
404                                        Branch_Target_Buffer_Glue_library_only\
405                                        Branch_Target_Buffer_Register_library_only\
406                                        Branch_Target_Buffer_library_only\
407                                        Direction_Glue_library_only\
408                                        Direction_library_only\
409                                        Two_Level_Branch_Predictor_library_only\
410                                        Meta_Predictor_Glue_library_only\
411                                        Meta_Predictor_library_only\
412                                        Prediction_unit_Glue_library_only\
413                                        Return_Address_Stack_library_only\
414                                        Update_Prediction_Table_library_only\
415                                        Prediction_unit_library_only\
416                                        Front_end_library_only\
417                                        Icache_Access_library_only\
418                                        Dcache_Access_library_only\
419                                        Core_Glue_library_only\
420                                        Core_library_only\
421                                        Behavioural_library_only\
422                                        Custom_library_only\
423                                        Common_library_only\
424                                        Configuration_library_only
425
426Morpheo_library_old             : Morpheo_library_only
427                                @\
428                                $(MAKE) Configuration_library;          \
429                                $(MAKE) Core_library;
430
431Morpheo_library                 : Morpheo_library_parallel
432
433Morpheo_library_clean           : Morpheo_library_clean_only
434                                @\
435                                $(MAKE) Configuration_library_clean;    \
436                                $(MAKE) Core_library_clean;
Note: See TracBrowser for help on using the repository browser.