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 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_front_end { |
---|
15 | namespace front_end { |
---|
16 | namespace prediction_unit { |
---|
17 | namespace direction { |
---|
18 | |
---|
19 | namespace 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 |
---|