Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/src/Ifetch_queue_deallocation.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/src/Ifetch_queue_deallocation.cpp
r81 r88 23 23 log_printf(FUNC,Ifetch_queue,FUNCTION,"Begin"); 24 24 25 if ( _usage & USE_SYSTEMC)25 if (usage_is_set(_usage,USE_SYSTEMC)) 26 26 { 27 27 delete in_CLOCK ; … … 30 30 delete in_ADDRESS_VAL ; 31 31 delete out_ADDRESS_ACK ; 32 if (_param->_have_port_ queue_ptr)32 if (_param->_have_port_ifetch_queue_ptr) 33 33 delete out_ADDRESS_IFETCH_QUEUE_ID ; 34 34 delete [] in_ADDRESS_INSTRUCTION_ENABLE ; 35 35 delete in_ADDRESS_INSTRUCTION_ADDRESS ; 36 if (_param->_have_port_inst ruction_ptr)36 if (_param->_have_port_inst_ifetch_ptr) 37 37 delete in_ADDRESS_INST_IFETCH_PTR ; 38 38 delete in_ADDRESS_BRANCH_STATE ; 39 if (_param->_have_port_ branch_update_prediction_id)39 if (_param->_have_port_depth) 40 40 delete in_ADDRESS_BRANCH_UPDATE_PREDICTION_ID; 41 41 delete [] out_DECOD_VAL ; … … 43 43 delete [] out_DECOD_INSTRUCTION ; 44 44 delete out_DECOD_ADDRESS ; 45 if (_param->_have_port_inst ruction_ptr)45 if (_param->_have_port_inst_ifetch_ptr) 46 46 delete out_DECOD_INST_IFETCH_PTR ; 47 47 delete out_DECOD_BRANCH_STATE ; 48 if (_param->_have_port_ branch_update_prediction_id)48 if (_param->_have_port_depth) 49 49 delete out_DECOD_BRANCH_UPDATE_PREDICTION_ID ; 50 50 delete out_DECOD_EXCEPTION ; 51 51 delete in_ICACHE_RSP_VAL ; 52 52 delete out_ICACHE_RSP_ACK ; 53 if (_param->_have_port_ queue_ptr)53 if (_param->_have_port_ifetch_queue_ptr) 54 54 delete in_ICACHE_RSP_PACKET_ID ; 55 55 delete [] in_ICACHE_RSP_INSTRUCTION ; … … 58 58 delete out_EVENT_RESET_ACK ; 59 59 } 60 61 // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 if (usage_is_set(_usage,USE_SYSTEMC)) 63 { 64 delete internal_DECOD_VAL; 65 delete [] _queue; 66 } 67 60 68 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 61 62 delete internal_DECOD_VAL;63 delete [] _queue;64 69 delete _component; 65 70
Note: See TracChangeset
for help on using the changeset viewer.