source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_deallocation.cpp @ 48

Last change on this file since 48 was 48, checked in by rosiere, 17 years ago

Modification des Makefile : pas de creation inutile de shell

File size: 1.6 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace direction {
18
19namespace meta_predictor {
20
21  void Meta_Predictor::deallocation (void)
22  {
23    log_printf(FUNC,Meta_Predictor,"deallocation","Begin");
24
25    delete     in_CLOCK;
26    delete     in_NRESET;
27
28    delete []  in_PREDICT_VAL        ;
29    delete [] out_PREDICT_ACK        ;
30    delete []  in_PREDICT_ADDRESS    ;
31    delete [] out_PREDICT_HISTORY    ;
32    delete [] out_PREDICT_DIRECTION  ;
33
34    delete []  in_BRANCH_COMPLETE_VAL        ;
35    delete [] out_BRANCH_COMPLETE_ACK        ;
36    delete []  in_BRANCH_COMPLETE_ADDRESS    ;
37    delete []  in_BRANCH_COMPLETE_HISTORY    ;
38    delete []  in_BRANCH_COMPLETE_DIRECTION  ;
39
40    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
41
42    if (_param._have_meta_predictor)
43      {
44    delete component_Two_Level_Branch_Predictor_0;
45    delete component_Two_Level_Branch_Predictor_1;
46      }
47    delete component_Two_Level_Branch_Predictor_2;
48    delete component_Meta_Predictor_Glue         ;
49    delete _component;
50
51    log_printf(FUNC,Meta_Predictor,"deallocation","End");
52  };
53
54}; // end namespace meta_predictor
55
56}; // end namespace core
57}; // end namespace multi_front_end
58}; // end namespace front_end
59}; // end namespace prediction_unit
60}; // end namespace direction
61
62
63}; // end namespace behavioural
64}; // end namespace morpheo             
65#endif
Note: See TracBrowser for help on using the repository browser.