1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id: Branch_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/Branch_History_Table/include/Branch_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 branch_history_table { |
---|
22 | |
---|
23 | void Branch_History_Table::deallocation (void) |
---|
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 | |
---|
33 | delete [] in_BRANCH_COMPLETE_VAL ; |
---|
34 | delete [] out_BRANCH_COMPLETE_ACK ; |
---|
35 | delete [] in_BRANCH_COMPLETE_ADDRESS; |
---|
36 | delete [] in_BRANCH_COMPLETE_HISTORY; |
---|
37 | delete [] in_BRANCH_COMPLETE_DIRECTION; |
---|
38 | |
---|
39 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
40 | delete component_Shifter; |
---|
41 | delete component_RegisterFile; |
---|
42 | |
---|
43 | delete _component; |
---|
44 | }; |
---|
45 | |
---|
46 | }; // end namespace branch_history_table |
---|
47 | }; // end namespace two_level_branch_predictor |
---|
48 | }; // end namespace meta_predictor |
---|
49 | |
---|
50 | }; // end namespace core |
---|
51 | }; // end namespace multi_front_end |
---|
52 | }; // end namespace front_end |
---|
53 | }; // end namespace prediction_unit |
---|
54 | }; // end namespace direction |
---|
55 | |
---|
56 | }; // end namespace behavioural |
---|
57 | }; // end namespace morpheo |
---|
58 | #endif |
---|