source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h @ 48

Last change on this file since 48 was 48, checked in by rosiere, 17 years ago

Modification des Makefile : pas de creation inutile de shell

File size: 2.6 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_two_level_branch_predictor_glue_Parameters_h
3
4/*
5 * $Id$
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Common/include/Debug.h"
12#include "Behavioural/include/Parameters.h"
13#include <math.h>
14
15namespace morpheo {
16namespace behavioural {
17namespace core {
18namespace multi_front_end {
19namespace front_end {
20namespace prediction_unit {
21namespace direction {
22
23namespace meta_predictor {
24namespace two_level_branch_predictor {
25namespace two_level_branch_predictor_glue {
26
27
28  class Parameters : public morpheo::behavioural::Parameters
29  {
30    //-----[ fields ]------------------------------------------------------------
31  public : const bool     _have_bht              ;
32  public : const uint32_t _bht_size_history      ;
33  public : const uint32_t _bht_size_address      ;
34  public : const bool     _have_pht              ;
35  public : const uint32_t _pht_size_address      ;
36  public : const uint32_t _pht_size_address_share;
37  public : const uint32_t _size_address          ;
38  public : const uint32_t _nb_prediction         ;
39  public : const uint32_t _nb_branch_complete    ;
40  public : const uint32_t _pht_size_address_shift;
41
42    //-----[ methods ]-----------------------------------------------------------
43  public : Parameters  (bool     have_bht              ,
44                        uint32_t bht_size_history      ,
45                        uint32_t bht_size_address      ,
46                        bool     have_pht              ,
47                        uint32_t pht_size_address      ,
48                        uint32_t pht_size_address_share,
49                        uint32_t size_address          ,
50                        uint32_t nb_prediction         ,
51                        uint32_t nb_branch_complete    );
52
53  public : Parameters  (Parameters & param) ;
54  public : ~Parameters () ;
55
56  public : string msg_error (void);
57
58  public :        string   print      (uint32_t depth);
59  public : friend ostream& operator<< (ostream& output_stream,
60                                       morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::two_level_branch_predictor_glue::Parameters & x);
61  };
62
63}; // end namespace two_level_branch_predictor_glue
64}; // end namespace two_level_branch_predictor
65}; // end namespace meta_predictor
66
67}; // end namespace core
68}; // end namespace multi_front_end
69}; // end namespace front_end
70}; // end namespace prediction_unit
71}; // end namespace direction
72
73
74}; // end namespace behavioural
75}; // end namespace morpheo             
76
77#endif
Note: See TracBrowser for help on using the repository browser.