1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id: Pattern_History_Table_deallocation.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.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 | namespace two_level_branch_predictor { |
---|
21 | namespace pattern_history_table { |
---|
22 | |
---|
23 | |
---|
24 | void Pattern_History_Table::deallocation (void) |
---|
25 | { |
---|
26 | log_printf(FUNC,Pattern_History_Table,"deallocation","Begin"); |
---|
27 | |
---|
28 | delete in_CLOCK; |
---|
29 | delete in_NRESET; |
---|
30 | |
---|
31 | delete [] in_PREDICT_VAL ; |
---|
32 | delete [] out_PREDICT_ACK ; |
---|
33 | delete [] in_PREDICT_ADDRESS; |
---|
34 | delete [] out_PREDICT_HISTORY; |
---|
35 | |
---|
36 | delete [] in_BRANCH_COMPLETE_VAL ; |
---|
37 | delete [] out_BRANCH_COMPLETE_ACK ; |
---|
38 | delete [] in_BRANCH_COMPLETE_ADDRESS; |
---|
39 | delete [] in_BRANCH_COMPLETE_HISTORY; |
---|
40 | delete [] in_BRANCH_COMPLETE_DIRECTION; |
---|
41 | |
---|
42 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
43 | delete component_Counter; |
---|
44 | delete component_RegisterFile; |
---|
45 | |
---|
46 | delete _component; |
---|
47 | |
---|
48 | log_printf(FUNC,Pattern_History_Table,"deallocation","End"); |
---|
49 | }; |
---|
50 | |
---|
51 | }; // end namespace pattern_history_table |
---|
52 | }; // end namespace two_level_branch_predictor |
---|
53 | }; // end namespace meta_predictor |
---|
54 | |
---|
55 | }; // end namespace core |
---|
56 | }; // end namespace multi_front_end |
---|
57 | }; // end namespace front_end |
---|
58 | }; // end namespace prediction_unit |
---|
59 | }; // end namespace direction |
---|
60 | |
---|
61 | |
---|
62 | }; // end namespace behavioural |
---|
63 | }; // end namespace morpheo |
---|
64 | #endif |
---|