Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management/src/Address_management_deallocation.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management/src/Address_management_deallocation.cpp
r81 r88 23 23 log_printf(FUNC,Address_management,FUNCTION,"Begin"); 24 24 25 if ( _usage & USE_SYSTEMC)25 if (usage_is_set(_usage,USE_SYSTEMC)) 26 26 { 27 27 delete in_CLOCK ; … … 32 32 delete out_ADDRESS_INSTRUCTION_ADDRESS ; 33 33 delete [] out_ADDRESS_INSTRUCTION_ENABLE ; 34 if (_param->_have_port_inst ruction_ptr)34 if (_param->_have_port_inst_ifetch_ptr) 35 35 delete out_ADDRESS_INST_IFETCH_PTR ; 36 36 delete out_ADDRESS_BRANCH_STATE ; 37 if (_param->_have_port_ branch_update_prediction_id)37 if (_param->_have_port_depth) 38 38 delete out_ADDRESS_BRANCH_UPDATE_PREDICTION_ID; 39 39 delete out_PREDICT_VAL ; … … 45 45 delete in_PREDICT_PC_NEXT_IS_DS_TAKE ; 46 46 delete [] in_PREDICT_INSTRUCTION_ENABLE ; 47 if (_param->_have_port_inst ruction_ptr)47 if (_param->_have_port_inst_ifetch_ptr) 48 48 delete in_PREDICT_INST_IFETCH_PTR ; 49 49 delete in_PREDICT_BRANCH_STATE ; 50 if (_param->_have_port_ branch_update_prediction_id)50 if (_param->_have_port_depth) 51 51 delete in_PREDICT_BRANCH_UPDATE_PREDICTION_ID; 52 52 delete in_EVENT_VAL ; 53 53 delete out_EVENT_ACK ; 54 54 delete in_EVENT_ADDRESS ; 55 delete in_EVENT_ADDRESS_NEXT ; 56 delete in_EVENT_ADDRESS_NEXT_VAL ; 57 delete in_EVENT_IS_DS_TAKE ; 58 59 // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 if (usage_is_set(_usage,USE_SYSTEMC)) 61 { 62 delete reg_PC_CURRENT_INSTRUCTION_ENABLE; 63 delete reg_PC_NEXT_INSTRUCTION_ENABLE ; 64 } 55 65 } 56 66 57 // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~58 delete reg_PC_CURRENT_INSTRUCTION_ENABLE;59 delete reg_PC_NEXT_INSTRUCTION_ENABLE ;60 67 61 68 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: See TracChangeset
for help on using the changeset viewer.