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 @ 88

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 2.5 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: Parameters.h 88 2008-12-10 18:31:39Z rosiere $
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                        bool       is_toplevel=false
55                        );
56//   public : Parameters  (Parameters & param) ;
57  public : ~Parameters () ;
58
59  public :        void            copy       (void);
60
61  public :        Parameters_test msg_error  (void);
62
63  public :        std::string     print      (uint32_t depth);
64  public : friend std::ostream&   operator<< (std::ostream& output_stream,
65                                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::branch_target_buffer::branch_target_buffer_glue::Parameters & x);
66  };
67
68}; // end namespace branch_target_buffer_glue
69}; // end namespace branch_target_buffer
70}; // end namespace prediction_unit
71}; // end namespace front_end
72}; // end namespace multi_front_end
73}; // end namespace core
74
75}; // end namespace behavioural
76}; // end namespace morpheo             
77
78#endif
Note: See TracBrowser for help on using the repository browser.