source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/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: 3.1 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_decod_unit_decod_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_decod_unit_decod_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/Parameters.h"
13#include "Behavioural/include/Types.h"
14#include "Behavioural/Custom/include/Custom.h"
15#include "Behavioural/Custom/include/Custom_default.h"
16
17namespace morpheo {
18namespace behavioural {
19namespace core {
20namespace multi_front_end {
21namespace front_end {
22namespace decod_unit {
23namespace decod {
24
25  class Parameters : public morpheo::behavioural::Parameters
26  {
27    //-----[ fields ]------------------------------------------------------------
28  public : uint32_t            _nb_context                   ;
29  public : uint32_t          * _nb_inst_fetch                ; //[nb_context]
30  public : uint32_t            _nb_inst_decod                ;
31//public : uint32_t            _size_general_data            ;
32  public : uint32_t          * _nb_branch_speculated         ; //[nb_context]
33//public : uint32_t          * _size_branch_update_prediction; //[nb_context]
34  public : uint32_t            _nb_context_select            ;
35  public : Tpriority_t         _priority                     ;
36  public : Tload_balancing_t   _load_balancing               ;
37  public : bool             ** _instruction_implemeted       ; //[nb_context][nb_instruction]
38  public : morpheo::behavioural::custom::custom_information_t (*_get_custom_information) (void);
39   
40  public : uint32_t            _max_nb_inst_fetch;
41//public : uint32_t            _size_address_inst;
42
43    //-----[ methods ]-----------------------------------------------------------
44
45  public : Parameters  (uint32_t            nb_context                   ,
46                        uint32_t          * nb_inst_fetch                ,
47                        uint32_t            nb_inst_decod                ,
48                        uint32_t          * nb_branch_speculated         ,
49//                      uint32_t          * size_branch_update_prediction,
50                        uint32_t            nb_context_select            ,
51                        uint32_t            size_general_data            ,
52                        Tpriority_t         priority                     ,
53                        Tload_balancing_t   load_balancing               ,
54                        bool             ** instruction_implemeted       ,
55                        morpheo::behavioural::custom::custom_information_t (*get_custom_information) (void),
56                        bool                is_toplevel=false
57                        );
58
59//   public : Parameters  (Parameters & param) ;
60  public : ~Parameters () ;
61
62  public :        void            copy       (void);
63
64  public :        Parameters_test msg_error  (void);
65
66  public :        std::string     print      (uint32_t depth);
67  public : friend std::ostream&   operator<< (std::ostream& output_stream,
68                                              morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod::Parameters & x);
69  };
70
71}; // end namespace decod
72}; // end namespace decod_unit
73}; // end namespace front_end
74}; // end namespace multi_front_end
75}; // end namespace core
76
77}; // end namespace behavioural
78}; // end namespace morpheo             
79
80#endif
Note: See TracBrowser for help on using the repository browser.