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

Last change on this file since 45 was 45, checked in by rosiere, 17 years ago
  • Documentation : specification d'un cache de donnée non bloquant
  • Modification de l'aborescence
File size: 1.5 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace stage_1_ifetch {
14namespace predictor {
15namespace meta_predictor {
16
17  void Meta_Predictor::deallocation (void)
18  {
19    log_printf(FUNC,Meta_Predictor,"deallocation","Begin");
20
21    delete     in_CLOCK;
22    delete     in_NRESET;
23
24    delete []  in_PREDICT_VAL        ;
25    delete [] out_PREDICT_ACK        ;
26    delete []  in_PREDICT_ADDRESS    ;
27    delete [] out_PREDICT_HISTORY    ;
28    delete [] out_PREDICT_DIRECTION  ;
29
30    delete []  in_BRANCH_COMPLETE_VAL        ;
31    delete [] out_BRANCH_COMPLETE_ACK        ;
32    delete []  in_BRANCH_COMPLETE_ADDRESS    ;
33    delete []  in_BRANCH_COMPLETE_HISTORY    ;
34    delete []  in_BRANCH_COMPLETE_DIRECTION  ;
35
36    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
37
38    if (_param._have_meta_predictor)
39      {
40    delete component_Two_Level_Branch_Predictor_0;
41    delete component_Two_Level_Branch_Predictor_1;
42      }
43    delete component_Two_Level_Branch_Predictor_2;
44    delete component_Meta_Predictor_Glue         ;
45    delete _component;
46
47    log_printf(FUNC,Meta_Predictor,"deallocation","End");
48  };
49
50}; // end namespace meta_predictor
51}; // end namespace predictor
52}; // end namespace stage_1_ifetch
53
54}; // end namespace behavioural
55}; // end namespace morpheo             
56#endif
Note: See TracBrowser for help on using the repository browser.