Ignore:
Timestamp:
Feb 1, 2011, 9:57:54 PM (13 years ago)
Author:
rosiere
Message:

1) Integration of RegisterFile_Internal_Banked in RegisterFile?
2) Erase "read_write" interface in RegisterFile_Monolithic component
3) Add smith predictor parameters in Load_store_pointer_unit.
4) Fix not statistics flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Parameters.cpp

    r124 r146  
    2222#undef  FUNCTION
    2323#define FUNCTION "Two_Level_Branch_Predictor::Parameters"
    24   Parameters::Parameters (uint32_t nb_inst_predict       ,
    25                           uint32_t nb_inst_update        ,
    26                           uint32_t size_address          ,
    27                           bool     have_bht              ,
    28                           uint32_t bht_size_shifter      ,
    29                           uint32_t bht_nb_shifter        ,
    30                           bool     have_pht              ,
    31                           uint32_t pht_size_counter      ,
    32                           uint32_t pht_nb_counter        ,
    33                           uint32_t pht_size_address_share,
    34                           bool     update_on_prediction  ,
    35                           bool is_toplevel)
     24  Parameters::Parameters (uint32_t      nb_inst_predict       ,
     25                          uint32_t      nb_inst_update        ,
     26                          uint32_t      size_address          ,
     27                          bool          have_bht              ,
     28                          uint32_t      bht_size_shifter      ,
     29                          uint32_t      bht_nb_shifter        ,
     30                          bool          have_pht              ,
     31                          uint32_t      pht_size_counter      ,
     32                          uint32_t      pht_nb_counter        ,
     33                          uint32_t      pht_size_address_share,
     34                          Tpht_scheme_t pht_scheme            ,
     35                          bool          update_on_prediction  ,
     36                          bool          is_toplevel)
    3637  {
    3738    log_begin(Two_Level_Branch_Predictor,FUNCTION);
     
    4748    _pht_nb_counter          = (have_pht)?(pht_nb_counter  ):0;
    4849    _pht_size_address_share  = (have_bht and have_pht)?(pht_size_address_share):0;
     50    _pht_scheme              = pht_scheme            ;
    4951    _update_on_prediction    = update_on_prediction  ;
    5052                             
     
    9799      {
    98100        _pht_counter_max         = (1<<_pht_size_counter)-1;
    99        
     101        _pht_threshold_up        = (1<<(_pht_size_counter-1))+1;
     102        _pht_threshold_down      = (1<<(_pht_size_counter-1))-1;
     103
    100104        _pht_size_bank           = (_have_bht)?(1<<_bht_size_shifter):1;
    101105        _pht_nb_bank             = _pht_nb_counter / _pht_size_bank;
Note: See TracChangeset for help on using the changeset viewer.