Changeset 40 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed_deallocation.cpp
- Timestamp:
- Jun 5, 2007, 11:06:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed_deallocation.cpp
r31 r40 20 20 log_printf(FUNC,Select_Priority_Fixed,"deallocation","Begin"); 21 21 22 delete in_CLOCK;23 delete in_NRESET;22 delete in_CLOCK; 23 delete in_NRESET; 24 24 25 for (uint32_t i=0; i<_param._nb_entity; i++) 26 { 27 delete in_VAL [i]; 28 if (_param._encoding_one_hot) 29 delete out_ACK [i]; 30 } 25 delete [] in_VAL; 26 if (_param._encoding_one_hot) 27 delete [] out_ACK; 31 28 32 delete in_VAL;33 if (_param._encoding_one_hot)34 delete out_ACK;35 29 if (_param._encoding_compact) 36 30 { 37 delete out_ENTITY;38 delete out_ENTITY_ACK;31 delete out_ENTITY; 32 delete out_ENTITY_ACK; 39 33 } 40 34 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 36 cout << *_interfaces << endl; 41 37 42 38 #ifdef POSITION
Note: See TracChangeset
for help on using the changeset viewer.