Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/src/Parameters.cpp

    r81 r88  
    2727                          uint32_t   nb_inst_predict   ,
    2828                          uint32_t   nb_inst_decod     ,
    29                           uint32_t   nb_inst_update    )
     29                          uint32_t   nb_inst_update    ,
     30                          bool       is_toplevel)
    3031  {
    3132    log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"Begin");
     
    3435    _size_buffer            = size_buffer       ;
    3536    _associativity          = associativity     ;
    36     _size_address           = size_address      ;
     37//  _size_address           = size_address      ;
    3738    _nb_inst_predict        = nb_inst_predict   ;
    3839    _nb_inst_decod          = nb_inst_decod     ;
     
    5051
    5152    test();
     53
     54    if (is_toplevel)
     55      {
     56        _size_instruction_address = size_address;
     57
     58        copy();
     59      }
     60
    5261    log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"End");
    5362  };
     
    7079  };
    7180
     81#undef  FUNCTION
     82#define FUNCTION "Branch_Target_Buffer_Glue::copy"
     83  void Parameters::copy (void)
     84  {
     85    log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"Begin");
     86    log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"End");
     87  };
     88
    7289}; // end namespace branch_target_buffer_glue
    7390}; // end namespace branch_target_buffer
Note: See TracChangeset for help on using the changeset viewer.