Ignore:
Timestamp:
Mar 18, 2009, 11:36:26 PM (15 years ago)
Author:
rosiere
Message:

1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone

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  
    8585        DELETE1_SIGNAL(in_CONTEXT_DEPTH       , _param->_nb_context,_param->_size_depth);
    8686
    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);
    9595
    9696
    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
    105103#ifdef STATISTICS
    106         delete [] internal_DECOD_VAL;
     104        DELETE1(internal_DECOD_VAL                ,_param->_nb_inst_decod);
    107105#endif
    108106      }
     
    111109    delete    _priority;
    112110
    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);
    115114
    116115    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
    130119    delete    _component;
    131120
Note: See TracChangeset for help on using the changeset viewer.