source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Two_Level_Branch_Predictor_Glue_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: 2.1 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/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Two_Level_Branch_Predictor_Glue.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace direction {
18
19namespace meta_predictor {
20namespace two_level_branch_predictor {
21namespace two_level_branch_predictor_glue {
22
23
24  void Two_Level_Branch_Predictor_Glue::deallocation (void)
25  {
26    log_printf(FUNC,Two_Level_Branch_Predictor_Glue,"deallocation","Begin");
27
28    delete     in_CLOCK;
29    delete     in_NRESET;
30
31    if (_param._have_bht)
32      {
33    delete []  in_PREDICT_BHT_ACK    ;
34    delete [] out_PREDICT_BHT_ADDRESS;
35      }
36    if (_param._have_pht)
37      {
38    delete []  in_PREDICT_PHT_ACK    ;
39    delete [] out_PREDICT_PHT_ADDRESS;
40      }
41    if (_param._have_bht and _param._have_pht)
42    delete []  in_PREDICT_BHT_HISTORY;
43   
44    delete [] out_PREDICT_ACK        ;
45    delete []  in_PREDICT_ADDRESS    ;
46
47    if (_param._have_bht)
48      {
49    delete []  in_BRANCH_COMPLETE_BHT_ACK    ;
50    delete [] out_BRANCH_COMPLETE_BHT_ADDRESS;
51      }
52    if (_param._have_pht)
53      {
54    delete []  in_BRANCH_COMPLETE_PHT_ACK    ;
55    delete [] out_BRANCH_COMPLETE_PHT_ADDRESS;
56      }
57    if (_param._have_bht and _param._have_pht)
58    delete []  in_BRANCH_COMPLETE_BHT_HISTORY;
59    delete [] out_BRANCH_COMPLETE_ACK        ;
60    delete []  in_BRANCH_COMPLETE_ADDRESS    ;
61
62    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
63    delete _component;
64
65    log_printf(FUNC,Two_Level_Branch_Predictor_Glue,"deallocation","End");
66  };
67
68}; // end namespace two_level_branch_predictor_glue
69}; // end namespace two_level_branch_predictor
70}; // end namespace meta_predictor
71
72}; // end namespace core
73}; // end namespace multi_front_end
74}; // end namespace front_end
75}; // end namespace prediction_unit
76}; // end namespace direction
77
78
79}; // end namespace behavioural
80}; // end namespace morpheo             
81#endif
Note: See TracBrowser for help on using the repository browser.