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/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_genMealy_update.cpp

    r111 r112  
    2929    for (uint32_t i=0; i<_param->_nb_inst_update; ++i)
    3030      {
    31         Thistory_t history   = PORT_READ(in_UPDATE_HISTORY   [i]);
    32         Tcontrol_t direction = PORT_READ(in_UPDATE_DIRECTION [i]);
     31        Thistory_t history     = PORT_READ(in_UPDATE_HISTORY     [i]);
     32        Tcontrol_t history_val = PORT_READ(in_UPDATE_HISTORY_VAL [i]);
     33        Tcontrol_t direction   = PORT_READ(in_UPDATE_DIRECTION   [i]);
    3334
    3435        switch (_param->_nb_predictor)
     
    3839              Thistory_t history_0       =  history;
    3940              Tcontrol_t direction_old_0 = (history_0>>_param->_predictor_history_shift_msb[0])&1;
    40               PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY   [0][i],history_0);
    41               PORT_WRITE(out_UPDATE_PREDICTOR_DIRECTION [0][i],direction);
     41              PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY     [0][i],history_0);
     42              PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY_VAL [0][i],history_val);
     43              PORT_WRITE(out_UPDATE_PREDICTOR_DIRECTION   [0][i],direction);
    4244              if (_param->_predictor_update_on_prediction [0])
    43               PORT_WRITE(out_UPDATE_PREDICTOR_MISS      [0][i],direction xor direction_old_0);
     45              PORT_WRITE(out_UPDATE_PREDICTOR_MISS        [0][i],direction xor direction_old_0);
    4446
    4547              break;
     
    8385                                   (not direction and direction_old_0));
    8486
    85               PORT_WRITE(out_UPDATE_PREDICTOR_DIRECTION [0][i],direction);
    86               PORT_WRITE(out_UPDATE_PREDICTOR_DIRECTION [1][i],direction);
    87               PORT_WRITE(out_UPDATE_PREDICTOR_DIRECTION [2][i],direction_new_2);
     87              PORT_WRITE(out_UPDATE_PREDICTOR_DIRECTION   [0][i],direction);
     88              PORT_WRITE(out_UPDATE_PREDICTOR_DIRECTION   [1][i],direction);
     89              PORT_WRITE(out_UPDATE_PREDICTOR_DIRECTION   [2][i],direction_new_2);
    8890
    8991              if (_param->_predictor_update_on_prediction [0])
    90               PORT_WRITE(out_UPDATE_PREDICTOR_MISS      [0][i],direction       xor direction_old_0);
     92              PORT_WRITE(out_UPDATE_PREDICTOR_MISS        [0][i],direction       xor direction_old_0);
    9193              if (_param->_predictor_update_on_prediction [1])
    92               PORT_WRITE(out_UPDATE_PREDICTOR_MISS      [1][i],direction       xor direction_old_1);
     94              PORT_WRITE(out_UPDATE_PREDICTOR_MISS        [1][i],direction       xor direction_old_1);
    9395              if (_param->_predictor_update_on_prediction [2])
    94               PORT_WRITE(out_UPDATE_PREDICTOR_MISS      [2][i],direction_new_2 xor direction_old_2);
     96              PORT_WRITE(out_UPDATE_PREDICTOR_MISS        [2][i],direction_new_2 xor direction_old_2);
    9597
    96               PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY   [0][i],history_0);
    97               PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY   [1][i],history_1);
    98               PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY   [2][i],history_2);
     98              PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY     [0][i],history_0);
     99              PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY     [1][i],history_1);
     100              PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY     [2][i],history_2);
     101
     102              PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY_VAL [0][i],history_val);
     103              PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY_VAL [1][i],history_val);
     104              PORT_WRITE(out_UPDATE_PREDICTOR_HISTORY_VAL [2][i],history_val);
    99105
    100106              break;
Note: See TracChangeset for help on using the changeset viewer.