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/Prediction_unit/Direction/Direction_Glue/src/Direction_Glue_deallocation.cpp

    r88 r112  
    77
    88#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/include/Direction_Glue.h"
     9#include "Behavioural/include/Allocation.h"
    910
    1011namespace morpheo                    {
     
    2930        delete    in_NRESET;
    3031
    31         delete []  in_PREDICT_VAL                  ;
    32         delete [] out_PREDICT_ACK                  ;
    33         delete []  in_PREDICT_ADDRESS_SRC          ;
    34         delete []  in_PREDICT_STATIC               ;
    35         delete []  in_PREDICT_LAST_TAKE            ;
    36         if (_param->_have_port_history)
    37         delete [] out_PREDICT_HISTORY              ;
    38         delete [] out_PREDICT_DIRECTION            ;
    39         if (_param->_have_component_meta_predictor)
    40           {
    41         delete [] out_PREDICT_PREDICTOR_VAL        ;
    42         delete []  in_PREDICT_PREDICTOR_ACK        ;
    43         delete [] out_PREDICT_PREDICTOR_ADDRESS_SRC;
    44         if (_param->_have_port_history)
    45         delete []  in_PREDICT_PREDICTOR_HISTORY    ;
    46         delete []  in_PREDICT_PREDICTOR_DIRECTION  ;
    47           }
    48         delete []  in_UPDATE_VAL                ;
    49         delete [] out_UPDATE_ACK                ;
    50         delete []  in_UPDATE_ADDRESS            ;
    51         if (_param->_have_port_history)
    52         delete []  in_UPDATE_HISTORY            ;
    53         delete []  in_UPDATE_DIRECTION          ;
    54         if (_param->_have_component_meta_predictor)
    55           {
    56         delete [] out_UPDATE_PREDICTOR_VAL      ;
    57         delete []  in_UPDATE_PREDICTOR_ACK      ;
    58         delete [] out_UPDATE_PREDICTOR_ADDRESS  ;
    59         if (_param->_have_port_history)
    60         delete [] out_UPDATE_PREDICTOR_HISTORY  ;
    61         delete [] out_UPDATE_PREDICTOR_DIRECTION;
    62           }
     32        DELETE1_SIGNAL( in_PREDICT_VAL                  , _param->_nb_inst_predict,1);
     33        DELETE1_SIGNAL(out_PREDICT_ACK                  , _param->_nb_inst_predict,1);
     34        DELETE1_SIGNAL( in_PREDICT_ADDRESS_SRC          , _param->_nb_inst_predict,_param->_size_instruction_address);
     35        DELETE1_SIGNAL( in_PREDICT_STATIC               , _param->_nb_inst_predict,1);
     36        DELETE1_SIGNAL( in_PREDICT_LAST_TAKE            , _param->_nb_inst_predict,1);
     37        DELETE1_SIGNAL(out_PREDICT_HISTORY              , _param->_nb_inst_predict,_param->_size_history);
     38        DELETE1_SIGNAL(out_PREDICT_DIRECTION            , _param->_nb_inst_predict,1);
     39        if (_param->_have_component_meta_predictor)                               
     40          {                                                                       
     41        DELETE1_SIGNAL(out_PREDICT_PREDICTOR_VAL        , _param->_nb_inst_predict,1);
     42        DELETE1_SIGNAL( in_PREDICT_PREDICTOR_ACK        , _param->_nb_inst_predict,1);
     43        DELETE1_SIGNAL(out_PREDICT_PREDICTOR_ADDRESS_SRC, _param->_nb_inst_predict,_param->_size_instruction_address);
     44        DELETE1_SIGNAL( in_PREDICT_PREDICTOR_HISTORY    , _param->_nb_inst_predict,_param->_size_history);
     45        DELETE1_SIGNAL( in_PREDICT_PREDICTOR_DIRECTION  , _param->_nb_inst_predict,1);
     46          }
     47
     48        DELETE1_SIGNAL( in_UPDATE_VAL                        ,_param->_nb_inst_update,1);
     49        DELETE1_SIGNAL(out_UPDATE_ACK                        ,_param->_nb_inst_update,1);
     50        DELETE1_SIGNAL( in_UPDATE_ADDRESS                    ,_param->_nb_inst_update,_param->_size_instruction_address);
     51        DELETE1_SIGNAL( in_UPDATE_HISTORY                    ,_param->_nb_inst_update,_param->_size_history);
     52        DELETE1_SIGNAL( in_UPDATE_DIRECTION                  ,_param->_nb_inst_update,1);
     53        DELETE1_SIGNAL( in_UPDATE_PREDICTION_IFETCH          ,_param->_nb_inst_update,1);
     54        if (_param->_have_component_meta_predictor)
     55          {
     56        DELETE1_SIGNAL(out_UPDATE_PREDICTOR_VAL              ,_param->_nb_inst_update,1);
     57        DELETE1_SIGNAL( in_UPDATE_PREDICTOR_ACK              ,_param->_nb_inst_update,1);
     58        DELETE1_SIGNAL(out_UPDATE_PREDICTOR_ADDRESS          ,_param->_nb_inst_update,_param->_size_instruction_address);
     59        DELETE1_SIGNAL(out_UPDATE_PREDICTOR_HISTORY          ,_param->_nb_inst_update,_param->_size_history);
     60        DELETE1_SIGNAL(out_UPDATE_PREDICTOR_DIRECTION        ,_param->_nb_inst_update,1);
     61        DELETE1_SIGNAL(out_UPDATE_PREDICTOR_PREDICTION_IFETCH,_param->_nb_inst_update,1);
     62          }
    6363      }
     64
    6465    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    65 
    6666    delete _component;
    6767
Note: See TracChangeset for help on using the changeset viewer.