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_queue/src/Decod_queue_deallocation.cpp

    r111 r112  
    9292        switch (_param->_queue_scheme)
    9393          {
    94           case DECOD_QUEUE_SCHEME_ONE_FIFO   : delete reg_QUEUE; break;
    95           case DECOD_QUEUE_SCHEME_MULTI_FIFO : DELETE1(reg_QUEUE,_param->_nb_bank); break;
    96           }
    97         delete [] reg_NB_INST;
     94          case DECOD_QUEUE_SCHEME_ONE_FIFO   :
     95            {
     96              while (not reg_QUEUE->empty())
     97                {
     98                  delete reg_QUEUE->front();
     99                  reg_QUEUE->pop_front();
     100                }
     101
     102              DELETE0(reg_QUEUE);
     103              break;
     104            }
     105          case DECOD_QUEUE_SCHEME_MULTI_FIFO :
     106            {
     107              for (uint32_t i=0; i<_param->_nb_bank; ++i)
     108                while (not reg_QUEUE[i].empty())
     109                  {
     110                    delete reg_QUEUE[i].front();
     111                    reg_QUEUE[i].pop_front();
     112                  }
     113
     114              DELETE1(reg_QUEUE,_param->_nb_bank); break;
     115            }
     116          }
     117
     118        DELETE1(reg_NB_INST ,_param->_nb_context);
    98119       
    99120        // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    100         delete [] internal_DECOD_IN_ACK ;
    101         delete [] internal_DECOD_OUT_VAL;
    102         delete [] internal_DECOD_OUT_ACK;
     121        DELETE1(internal_DECOD_IN_ACK ,_param->_nb_inst_decod);
     122        DELETE1(internal_DECOD_OUT_VAL,_param->_nb_inst_decod);
     123        DELETE1(internal_DECOD_OUT_ACK,_param->_nb_inst_decod);
    103124      }
    104125
Note: See TracChangeset for help on using the changeset viewer.