Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/src/Ifetch_unit_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/src/Ifetch_unit_deallocation.cpp
r81 r88 22 22 log_printf(FUNC,Ifetch_unit,FUNCTION,"Begin"); 23 23 24 if ( _usage & USE_SYSTEMC)24 if (usage_is_set(_usage,USE_SYSTEMC)) 25 25 { 26 26 delete in_CLOCK ; … … 30 30 delete in_ICACHE_REQ_ACK ; 31 31 //delete out_ICACHE_REQ_THREAD_ID ; 32 if (_param->_have_port_ queue_ptr)32 if (_param->_have_port_ifetch_queue_ptr) 33 33 delete out_ICACHE_REQ_PACKET_ID ; 34 34 delete out_ICACHE_REQ_ADDRESS ; … … 38 38 delete out_ICACHE_RSP_ACK ; 39 39 //delete in_ICACHE_RSP_THREAD_ID ; 40 if (_param->_have_port_ queue_ptr)40 if (_param->_have_port_ifetch_queue_ptr) 41 41 delete in_ICACHE_RSP_PACKET_ID ; 42 42 delete [] in_ICACHE_RSP_INSTRUCTION ; … … 51 51 delete in_PREDICT_PC_NEXT_IS_DS_TAKE ; 52 52 delete [] in_PREDICT_INSTRUCTION_ENABLE ; 53 if (_param->_have_port_inst ruction_ptr)53 if (_param->_have_port_inst_ifetch_ptr) 54 54 delete in_PREDICT_INST_IFETCH_PTR ; 55 55 delete in_PREDICT_BRANCH_STATE ; 56 if (_param->_have_port_ branch_update_prediction_id)56 if (_param->_have_port_depth) 57 57 delete in_PREDICT_BRANCH_UPDATE_PREDICTION_ID ; 58 58 … … 62 62 //delete out_DECOD_CONTEXT_ID ; 63 63 delete out_DECOD_ADDRESS ; 64 if (_param->_have_port_inst ruction_ptr)64 if (_param->_have_port_inst_ifetch_ptr) 65 65 delete out_DECOD_INST_IFETCH_PTR ; 66 66 delete out_DECOD_BRANCH_STATE ; 67 if (_param->_have_port_ branch_update_prediction_id)67 if (_param->_have_port_depth) 68 68 delete out_DECOD_BRANCH_UPDATE_PREDICTION_ID ; 69 69 delete out_DECOD_EXCEPTION ; … … 72 72 delete out_EVENT_ACK ; 73 73 delete in_EVENT_ADDRESS ; 74 delete in_EVENT_ADDRESS_NEXT ; 75 delete in_EVENT_ADDRESS_NEXT_VAL ; 76 delete in_EVENT_IS_DS_TAKE ; 74 77 } 75 78 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: See TracChangeset
for help on using the changeset viewer.