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

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

Almost complete design
with Test and test platform

File size: 3.0 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               ;// == nb_ifetch_unit
27  public : uint32_t   _nb_decod_unit            ;
28//public : uint32_t   _nb_ooo_engine            ;
29//public : uint32_t   _size_address             ;
30  public : uint32_t * _nb_instruction           ;//[nb_context]
31//public : uint32_t * _size_depth               ;//[nb_context]
32  public : uint32_t * _array_size_depth         ;//[nb_context]
33  public : uint32_t * _nb_inst_decod            ;//[nb_decod_unit]
34//public : uint32_t * _nb_inst_update           ;//[nb_ooo_engine]
35  public : uint32_t   _nb_inst_branch_predict   ;
36  public : uint32_t   _nb_inst_branch_decod     ;
37  public : uint32_t   _nb_inst_branch_update    ;
38//public : uint32_t   _nb_inst_branch_complete  ;
39
40//public : uint32_t   _size_context_id          ;
41//public : uint32_t * _size_inst_ifetch_ptr     ;//[nb_context]
42//public : uint32_t   _max_size_depth           ;
43
44//public : bool       _have_port_context_id     ;
45//public : bool       _have_port_max_depth      ;
46//public : bool     * _have_port_depth          ;//[nb_context]
47//public : bool     * _have_port_inst_ifetch_ptr;//[nb_context]
48
49    //-----[ methods ]-----------------------------------------------------------
50  public : Parameters  (uint32_t   nb_context            ,
51                        uint32_t   nb_decod_unit         ,
52//                      uint32_t   nb_ooo_engine         ,
53                        uint32_t   size_address          ,
54                        uint32_t * nb_instruction        ,
55                        uint32_t * size_depth            ,
56                        uint32_t * nb_inst_decod         ,
57//                      uint32_t * nb_inst_update        ,
58                        uint32_t   nb_inst_branch_predict,
59                        uint32_t   nb_inst_branch_decod  ,
60                        uint32_t   nb_inst_branch_update ,
61                        bool       is_toplevel=false
62                        );
63//   public : Parameters  (Parameters & param) ;
64  public : ~Parameters () ;
65
66  public :        void            copy       (void);
67
68  public :        Parameters_test msg_error  (void);
69
70  public :        std::string     print      (uint32_t depth);
71  public : friend std::ostream&   operator<< (std::ostream& output_stream,
72                                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::prediction_unit_glue::Parameters & x);
73  };
74
75}; // end namespace prediction_unit_glue
76}; // end namespace prediction_unit
77}; // end namespace front_end
78}; // end namespace multi_front_end
79}; // end namespace core
80
81}; // end namespace behavioural
82}; // end namespace morpheo             
83
84#endif
Note: See TracBrowser for help on using the repository browser.