source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 2.1 KB
Line 
1#ifndef morpheo_behavioural_stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Parameters_h
2#define morpheo_behavioural_stage_1_ifetch_predictor_meta_predictor_two_level_branch_predictor_branch_history_table_Parameters_h
3
4/*
5 * $Id$
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Include/Debug.h"
12#include "Behavioural/include/Parameters.h"
13// Internal structure
14#include "Behavioural/Generic/Shifter/include/Parameters.h"
15#include "Behavioural/Generic/RegisterFile/include/Parameters.h"
16#include <math.h>
17
18namespace morpheo {
19namespace behavioural {
20namespace stage_1_ifetch {
21namespace predictor {
22namespace meta_predictor {
23namespace two_level_branch_predictor {
24namespace branch_history_table {
25
26
27  class Parameters : public morpheo::behavioural::Parameters
28  {
29    //-----[ fields ]------------------------------------------------------------
30  public : const uint32_t _size_shifter      ;
31  public : const uint32_t _nb_shifter        ;
32  public : const uint32_t _nb_prediction     ;
33  public : const uint32_t _nb_branch_complete;
34
35  public :       morpheo::behavioural::generic::shifter::Parameters      * _param_shifter;
36  public :       morpheo::behavioural::generic::registerfile::Parameters * _param_registerfile;
37
38    //-----[ methods ]-----------------------------------------------------------
39  public : Parameters  (uint32_t size_shifter      ,
40                        uint32_t nb_shifter        ,
41                        uint32_t nb_prediction     ,
42                        uint32_t nb_branch_complete);
43  public : Parameters  (Parameters & param) ;
44  public : ~Parameters () ;
45
46  public : string msg_error (void);
47
48  public :        string   print      (uint32_t depth);
49  public : friend ostream& operator<< (ostream& output_stream,
50                                       morpheo::behavioural::stage_1_ifetch::predictor::meta_predictor::two_level_branch_predictor::branch_history_table::Parameters & x);
51  };
52
53}; // end namespace branch_history_table
54}; // end namespace two_level_branch_predictor
55}; // end namespace meta_predictor
56}; // end namespace predictor
57}; // end namespace stage_1_ifetch
58}; // end namespace behavioural
59}; // end namespace morpheo             
60
61#endif
Note: See TracBrowser for help on using the repository browser.