source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/include/Parameters.h @ 78

Last change on this file since 78 was 78, checked in by rosiere, 16 years ago

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File size: 2.4 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_branch_target_buffer_branch_target_buffer_glue_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_branch_target_buffer_branch_target_buffer_glue_Parameters_h
3
4/*
5 * $Id$
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Common/include/Debug.h"
12#include "Behavioural/include/Types.h"
13#include "Behavioural/include/Parameters.h"
14
15namespace morpheo {
16namespace behavioural {
17namespace core {
18namespace multi_front_end {
19namespace front_end {
20namespace prediction_unit {
21namespace branch_target_buffer {
22namespace branch_target_buffer_glue {
23
24
25  class Parameters : public morpheo::behavioural::Parameters
26  {
27    //-----[ fields ]------------------------------------------------------------
28  public : uint32_t   _max_nb_instruction;
29  public : uint32_t   _size_buffer       ;
30  public : uint32_t   _associativity     ;
31  public : uint32_t   _size_address      ;
32  public : uint32_t   _nb_inst_predict   ;
33  public : uint32_t   _nb_inst_decod     ;
34  public : uint32_t   _nb_inst_update    ;
35
36  public : uint32_t   _size_bank         ;
37  public : uint32_t   _size_victim       ;
38  public : uint32_t   _size_victim_address;
39
40  public : bool       _have_port_victim    ;
41  public : bool       _is_full_associative ;
42
43  public : Tgeneral_data_t _mask_bank ;
44  public : Tgeneral_data_t _shift_bank;
45
46    //-----[ methods ]-----------------------------------------------------------
47  public : Parameters  (uint32_t   max_nb_instruction,
48                        uint32_t   size_buffer       ,
49                        uint32_t   associativity     ,
50                        uint32_t   size_address      ,
51                        uint32_t   nb_inst_predict   ,
52                        uint32_t   nb_inst_decod     ,
53                        uint32_t   nb_inst_update    );
54//   public : Parameters  (Parameters & param) ;
55  public : ~Parameters () ;
56
57  public :        Parameters_test msg_error  (void);
58
59  public :        std::string     print      (uint32_t depth);
60  public : friend std::ostream&   operator<< (std::ostream& output_stream,
61                                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::branch_target_buffer::branch_target_buffer_glue::Parameters & x);
62  };
63
64}; // end namespace branch_target_buffer_glue
65}; // end namespace branch_target_buffer
66}; // end namespace prediction_unit
67}; // end namespace front_end
68}; // end namespace multi_front_end
69}; // end namespace core
70
71}; // end namespace behavioural
72}; // end namespace morpheo             
73
74#endif
Note: See TracBrowser for help on using the repository browser.