source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/include/Parameters.h @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
File size: 2.2 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_prediction_unit_glue_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_prediction_unit_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
14namespace morpheo {
15namespace behavioural {
16namespace core {
17namespace multi_front_end {
18namespace front_end {
19namespace prediction_unit {
20namespace prediction_unit_glue {
21
22
23  class Parameters : public morpheo::behavioural::Parameters
24  {
25    //-----[ fields ]------------------------------------------------------------
26  public : uint32_t   _nb_context               ;
27  public : uint32_t   _size_address             ;
28  public : uint32_t * _nb_instruction           ;
29  public : uint32_t * _size_depth               ;
30  public : uint32_t   _nb_inst_predict          ;
31  public : uint32_t   _nb_inst_decod            ;
32  public : uint32_t   _nb_inst_update           ;
33//public : uint32_t   _nb_inst_branch_complete  ;
34
35  public : uint32_t   _size_context_id          ;
36  public : uint32_t * _size_inst_ifetch_ptr     ;
37
38  public : bool       _have_port_context_id     ;
39  public : bool     * _have_port_depth          ;   
40  public : bool     * _have_port_inst_ifetch_ptr;
41
42    //-----[ methods ]-----------------------------------------------------------
43  public : Parameters  (uint32_t   nb_context     ,
44                        uint32_t   size_address   ,
45                        uint32_t * nb_instruction ,
46                        uint32_t * size_depth     ,
47                        uint32_t   nb_inst_predict,
48                        uint32_t   nb_inst_decod  ,
49                        uint32_t   nb_inst_update );
50//   public : Parameters  (Parameters & param) ;
51  public : ~Parameters () ;
52
53  public :        Parameters_test msg_error  (void);
54
55  public :        std::string     print      (uint32_t depth);
56  public : friend std::ostream&   operator<< (std::ostream& output_stream,
57                                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::prediction_unit_glue::Parameters & x);
58  };
59
60}; // end namespace prediction_unit_glue
61}; // end namespace prediction_unit
62}; // end namespace front_end
63}; // end namespace multi_front_end
64}; // end namespace core
65
66}; // end namespace behavioural
67}; // end namespace morpheo             
68
69#endif
Note: See TracBrowser for help on using the repository browser.