Ignore:
Timestamp:
Apr 20, 2009, 11:29:17 PM (15 years ago)
Author:
rosiere
Message:

1) Write queue with mealy
2) Network : fix bug
3) leak memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/src/Functionnal_unit_deallocation.cpp

    r112 r115  
    7070        // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    7171       
    72         delete [] _execute_register;
    73         delete    _execute_param;
    74         delete    _execute_operation_in;
    75         delete    _execute_operation_out;
    76         delete [] _function_execute;
     72        for (uint32_t i=0; i<_param->_nb_context; i++)
     73          for (uint32_t j=0; j<_param->_nb_front_end; j++)
     74            for (uint32_t k=0; k<_param->_nb_ooo_engine; k++)
     75              delete _execute_register [i][j][k];
     76
     77        DELETE3(_execute_register,_param->_nb_context,_param->_nb_front_end,_param->_nb_ooo_engine);
     78        DELETE0(_execute_param);
     79        DELETE0(_execute_operation_in);
     80        DELETE0(_execute_operation_out);
     81        DELETE2(_function_execute,_param->_nb_type,_param->_nb_operation);
    7782      }
    7883
Note: See TracChangeset for help on using the changeset viewer.