Changeset 112 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/src/Decod_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/Decod_unit/Decod/src/Decod_deallocation.cpp
r110 r112 85 85 DELETE1_SIGNAL(in_CONTEXT_DEPTH , _param->_nb_context,_param->_size_depth); 86 86 87 DELETE _SIGNAL(out_CONTEXT_EVENT_VAL ,1);88 DELETE _SIGNAL( in_CONTEXT_EVENT_ACK ,1);89 DELETE _SIGNAL(out_CONTEXT_EVENT_CONTEXT_ID ,_param->_size_context_id );90 DELETE _SIGNAL(out_CONTEXT_EVENT_DEPTH ,_param->_size_depth );91 DELETE _SIGNAL(out_CONTEXT_EVENT_TYPE ,_param->_size_event_type );92 DELETE _SIGNAL(out_CONTEXT_EVENT_IS_DELAY_SLOT,1 );93 DELETE _SIGNAL(out_CONTEXT_EVENT_ADDRESS ,_param->_size_instruction_address);94 DELETE _SIGNAL(out_CONTEXT_EVENT_ADDRESS_EPCR ,_param->_size_instruction_address);87 DELETE0_SIGNAL(out_CONTEXT_EVENT_VAL ,1); 88 DELETE0_SIGNAL( in_CONTEXT_EVENT_ACK ,1); 89 DELETE0_SIGNAL(out_CONTEXT_EVENT_CONTEXT_ID ,_param->_size_context_id ); 90 DELETE0_SIGNAL(out_CONTEXT_EVENT_DEPTH ,_param->_size_depth ); 91 DELETE0_SIGNAL(out_CONTEXT_EVENT_TYPE ,_param->_size_event_type ); 92 DELETE0_SIGNAL(out_CONTEXT_EVENT_IS_DELAY_SLOT,1 ); 93 DELETE0_SIGNAL(out_CONTEXT_EVENT_ADDRESS ,_param->_size_instruction_address); 94 DELETE0_SIGNAL(out_CONTEXT_EVENT_ADDRESS_EPCR ,_param->_size_instruction_address); 95 95 96 96 97 98 delete reg_CONTEXT_ADDRESS_PREVIOUS ; 99 delete [] reg_CONTEXT_IS_DELAY_SLOT ; 100 101 delete [] internal_CONTEXT_HAVE_TRANSACTION ; 102 delete [] internal_CONTEXT_ADDRESS_PREVIOUS ; 103 delete [] internal_CONTEXT_IS_DELAY_SLOT ; 104 97 DELETE1(reg_CONTEXT_ADDRESS_PREVIOUS ,_param->_nb_context); 98 DELETE1(reg_CONTEXT_IS_DELAY_SLOT ,_param->_nb_context); 99 DELETE1(internal_CONTEXT_HAVE_TRANSACTION ,_param->_nb_context); 100 DELETE1(internal_CONTEXT_ADDRESS_PREVIOUS ,_param->_nb_context); 101 DELETE1(internal_CONTEXT_IS_DELAY_SLOT ,_param->_nb_context); 102 105 103 #ifdef STATISTICS 106 delete [] internal_DECOD_VAL;104 DELETE1(internal_DECOD_VAL ,_param->_nb_inst_decod); 107 105 #endif 108 106 } … … 111 109 delete _priority; 112 110 113 114 const uint32_t nb_opcod_type = 14; 111 DELETE3(_function_decod ,_param->_nb_context,nb_opcod_type,tab_opcod_type[it2]); 112 DELETE3(_function_custom ,_param->_nb_context,nb_opcod_type,tab_opcod_type[it2]); 113 DELETE0(_decod_instruction); 115 114 116 115 for (uint32_t i=0; i<_param->_nb_context; i++) 117 { 118 for (uint32_t j=0; j<nb_opcod_type; j++) 119 { 120 delete [] _function_decod [i][j]; 121 delete [] _function_custom [i][j]; 122 } 123 delete [] _function_decod [i]; 124 delete [] _function_custom [i]; 125 } 126 delete [] _function_decod ; 127 delete [] _function_custom; 128 delete _decod_instruction; 129 delete _decod_param ; 116 delete _decod_param [i]; 117 DELETE1(_decod_param ,_param->_nb_context); 118 130 119 delete _component; 131 120
Note: See TracChangeset
for help on using the changeset viewer.