Changeset 112 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/src/Direction_Glue_deallocation.cpp
- Timestamp:
- Mar 18, 2009, 11:36:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/src/Direction_Glue_deallocation.cpp
r88 r112 7 7 8 8 #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/include/Direction_Glue.h" 9 #include "Behavioural/include/Allocation.h" 9 10 10 11 namespace morpheo { … … 29 30 delete in_NRESET; 30 31 31 delete [] in_PREDICT_VAL ; 32 delete [] out_PREDICT_ACK ; 33 delete [] in_PREDICT_ADDRESS_SRC ; 34 delete [] in_PREDICT_STATIC ; 35 delete [] in_PREDICT_LAST_TAKE ; 36 if (_param->_have_port_history) 37 delete [] out_PREDICT_HISTORY ; 38 delete [] out_PREDICT_DIRECTION ; 39 if (_param->_have_component_meta_predictor) 40 { 41 delete [] out_PREDICT_PREDICTOR_VAL ; 42 delete [] in_PREDICT_PREDICTOR_ACK ; 43 delete [] out_PREDICT_PREDICTOR_ADDRESS_SRC; 44 if (_param->_have_port_history) 45 delete [] in_PREDICT_PREDICTOR_HISTORY ; 46 delete [] in_PREDICT_PREDICTOR_DIRECTION ; 47 } 48 delete [] in_UPDATE_VAL ; 49 delete [] out_UPDATE_ACK ; 50 delete [] in_UPDATE_ADDRESS ; 51 if (_param->_have_port_history) 52 delete [] in_UPDATE_HISTORY ; 53 delete [] in_UPDATE_DIRECTION ; 54 if (_param->_have_component_meta_predictor) 55 { 56 delete [] out_UPDATE_PREDICTOR_VAL ; 57 delete [] in_UPDATE_PREDICTOR_ACK ; 58 delete [] out_UPDATE_PREDICTOR_ADDRESS ; 59 if (_param->_have_port_history) 60 delete [] out_UPDATE_PREDICTOR_HISTORY ; 61 delete [] out_UPDATE_PREDICTOR_DIRECTION; 62 } 32 DELETE1_SIGNAL( in_PREDICT_VAL , _param->_nb_inst_predict,1); 33 DELETE1_SIGNAL(out_PREDICT_ACK , _param->_nb_inst_predict,1); 34 DELETE1_SIGNAL( in_PREDICT_ADDRESS_SRC , _param->_nb_inst_predict,_param->_size_instruction_address); 35 DELETE1_SIGNAL( in_PREDICT_STATIC , _param->_nb_inst_predict,1); 36 DELETE1_SIGNAL( in_PREDICT_LAST_TAKE , _param->_nb_inst_predict,1); 37 DELETE1_SIGNAL(out_PREDICT_HISTORY , _param->_nb_inst_predict,_param->_size_history); 38 DELETE1_SIGNAL(out_PREDICT_DIRECTION , _param->_nb_inst_predict,1); 39 if (_param->_have_component_meta_predictor) 40 { 41 DELETE1_SIGNAL(out_PREDICT_PREDICTOR_VAL , _param->_nb_inst_predict,1); 42 DELETE1_SIGNAL( in_PREDICT_PREDICTOR_ACK , _param->_nb_inst_predict,1); 43 DELETE1_SIGNAL(out_PREDICT_PREDICTOR_ADDRESS_SRC, _param->_nb_inst_predict,_param->_size_instruction_address); 44 DELETE1_SIGNAL( in_PREDICT_PREDICTOR_HISTORY , _param->_nb_inst_predict,_param->_size_history); 45 DELETE1_SIGNAL( in_PREDICT_PREDICTOR_DIRECTION , _param->_nb_inst_predict,1); 46 } 47 48 DELETE1_SIGNAL( in_UPDATE_VAL ,_param->_nb_inst_update,1); 49 DELETE1_SIGNAL(out_UPDATE_ACK ,_param->_nb_inst_update,1); 50 DELETE1_SIGNAL( in_UPDATE_ADDRESS ,_param->_nb_inst_update,_param->_size_instruction_address); 51 DELETE1_SIGNAL( in_UPDATE_HISTORY ,_param->_nb_inst_update,_param->_size_history); 52 DELETE1_SIGNAL( in_UPDATE_DIRECTION ,_param->_nb_inst_update,1); 53 DELETE1_SIGNAL( in_UPDATE_PREDICTION_IFETCH ,_param->_nb_inst_update,1); 54 if (_param->_have_component_meta_predictor) 55 { 56 DELETE1_SIGNAL(out_UPDATE_PREDICTOR_VAL ,_param->_nb_inst_update,1); 57 DELETE1_SIGNAL( in_UPDATE_PREDICTOR_ACK ,_param->_nb_inst_update,1); 58 DELETE1_SIGNAL(out_UPDATE_PREDICTOR_ADDRESS ,_param->_nb_inst_update,_param->_size_instruction_address); 59 DELETE1_SIGNAL(out_UPDATE_PREDICTOR_HISTORY ,_param->_nb_inst_update,_param->_size_history); 60 DELETE1_SIGNAL(out_UPDATE_PREDICTOR_DIRECTION ,_param->_nb_inst_update,1); 61 DELETE1_SIGNAL(out_UPDATE_PREDICTOR_PREDICTION_IFETCH,_param->_nb_inst_update,1); 62 } 63 63 } 64 64 65 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 66 66 delete _component; 67 67
Note: See TracChangeset
for help on using the changeset viewer.