[2] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace stage_1_ifetch { |
---|
| 14 | namespace predictor { |
---|
| 15 | namespace meta_predictor { |
---|
| 16 | namespace two_level_branch_predictor { |
---|
| 17 | namespace branch_history_table { |
---|
| 18 | |
---|
| 19 | void Branch_History_Table::deallocation (void) |
---|
| 20 | { |
---|
[42] | 21 | delete in_CLOCK; |
---|
| 22 | delete in_NRESET; |
---|
[2] | 23 | |
---|
[42] | 24 | delete [] in_PREDICT_VAL ; |
---|
| 25 | delete [] out_PREDICT_ACK ; |
---|
| 26 | delete [] in_PREDICT_ADDRESS; |
---|
| 27 | delete [] out_PREDICT_HISTORY; |
---|
[2] | 28 | |
---|
[42] | 29 | delete [] in_BRANCH_COMPLETE_VAL ; |
---|
| 30 | delete [] out_BRANCH_COMPLETE_ACK ; |
---|
| 31 | delete [] in_BRANCH_COMPLETE_ADDRESS; |
---|
| 32 | delete [] in_BRANCH_COMPLETE_HISTORY; |
---|
| 33 | delete [] in_BRANCH_COMPLETE_DIRECTION; |
---|
[2] | 34 | |
---|
| 35 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 36 | delete component_Shifter; |
---|
| 37 | delete component_RegisterFile; |
---|
[42] | 38 | |
---|
| 39 | delete _component; |
---|
[2] | 40 | }; |
---|
| 41 | |
---|
| 42 | }; // end namespace branch_history_table |
---|
| 43 | }; // end namespace two_level_branch_predictor |
---|
| 44 | }; // end namespace meta_predictor |
---|
| 45 | }; // end namespace predictor |
---|
| 46 | }; // end namespace stage_1_ifetch |
---|
| 47 | }; // end namespace behavioural |
---|
| 48 | }; // end namespace morpheo |
---|
| 49 | #endif |
---|