Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_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_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_deallocation.cpp
r81 r88 3 3 * $Id$ 4 4 * 5 * [ 5 * [ Description ] 6 6 * 7 7 */ … … 23 23 log_printf(FUNC,Read_queue,"deallocation","Begin"); 24 24 25 // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 if (usage_is_set(_usage,USE_SYSTEMC)) 26 { 27 // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 28 delete in_CLOCK ; 27 29 delete in_NRESET; 28 30 29 // ~~~~~[ 31 // ~~~~~[ Interface : "read_queue_in" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 32 delete in_READ_QUEUE_IN_VAL ; 31 33 delete out_READ_QUEUE_IN_ACK ; … … 37 39 if(_param->_have_port_ooo_engine_id) 38 40 delete in_READ_QUEUE_IN_OOO_ENGINE_ID ; 39 if(_param->_have_port_rob_ id)41 if(_param->_have_port_rob_ptr ) 40 42 delete in_READ_QUEUE_IN_ROB_ID ; 41 43 delete in_READ_QUEUE_IN_OPERATION ; … … 57 59 delete in_READ_QUEUE_IN_NUM_REG_RE ; 58 60 59 // ~~~~~[ 61 // ~~~~~[ Interface : "read_queue_out" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 62 delete out_READ_QUEUE_OUT_VAL ; 61 63 delete in_READ_QUEUE_OUT_ACK ; … … 67 69 if(_param->_have_port_ooo_engine_id) 68 70 delete out_READ_QUEUE_OUT_OOO_ENGINE_ID ; 69 if(_param->_have_port_rob_ id)71 if(_param->_have_port_rob_ptr ) 70 72 delete out_READ_QUEUE_OUT_ROB_ID ; 71 73 delete out_READ_QUEUE_OUT_OPERATION ; … … 93 95 delete out_READ_QUEUE_OUT_NUM_REG_RE ; 94 96 95 // ~~~~~[ 97 // ~~~~~[ Interface : "gpr_read" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 98 97 99 delete [] out_GPR_READ_VAL ; … … 103 105 delete [] in_GPR_READ_DATA_VAL ; 104 106 105 // ~~~~~[ 107 // ~~~~~[ Interface : "spr_read" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 108 107 109 delete [] out_SPR_READ_VAL ; … … 113 115 delete [] in_SPR_READ_DATA_VAL ; 114 116 115 // ~~~~~[ 117 // ~~~~~[ Interface : "gpr_write" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 118 117 119 delete [] in_GPR_WRITE_VAL ; … … 121 123 delete [] in_GPR_WRITE_DATA ; 122 124 123 // ~~~~~[ 125 // ~~~~~[ Interface : "spr_write" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 124 126 125 127 delete [] in_SPR_WRITE_VAL ; … … 128 130 delete [] in_SPR_WRITE_NUM_REG ; 129 131 delete [] in_SPR_WRITE_DATA ; 132 } 130 133 131 // ~~~~~[ 134 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 135 133 136 while (_queue->empty() == false) 134 137 { 135 138 delete _queue->front(); 136 _queue->pop ();139 _queue->pop_front(); 137 140 } 138 141 delete _queue;
Note: See TracChangeset
for help on using the changeset viewer.