Ignore:
Timestamp:
May 14, 2008, 7:08:56 PM (16 years ago)
Author:
rosiere
Message:

Decod :

  • Correct selftest
  • Set Instruction address on (32/64)-2 bits,
  • Decod Custom Instruction : valid and tested. (add an test to verify the decod information)
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

    r81 r86  
    102102    delete    internal_CONTEXT_IS_DELAY_SLOT    ;
    103103
    104     delete [] _function_decod   ;
     104    const uint32_t nb_opcod_type = 14;
     105
     106    for (uint32_t i=0; i<_param->_nb_context; i++)
     107      {
     108        for (uint32_t j=0; j<nb_opcod_type; j++)
     109          {
     110            delete [] _function_decod  [i][j];
     111            delete [] _function_custom [i][j];
     112          }
     113        delete [] _function_decod  [i];
     114        delete [] _function_custom [i];
     115      }
     116    delete [] _function_decod ;
     117    delete [] _function_custom;
    105118    delete    _decod_instruction;
    106119    delete    _decod_param      ;
Note: See TracChangeset for help on using the changeset viewer.