source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Parameters.h @ 117

Last change on this file since 117 was 117, checked in by rosiere, 15 years ago

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

  • Property svn:keywords set to Id
File size: 6.0 KB
Line 
1#ifndef morpheo_behavioural_core_multi_ooo_engine_ooo_engine_commit_unit_Parameters_h
2#define morpheo_behavioural_core_multi_ooo_engine_ooo_engine_commit_unit_Parameters_h
3
4/*
5 * $Id: Parameters.h 117 2009-05-16 14:42:39Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Types.h"
12#include "Behavioural/include/Parameters.h"
13#include "Common/include/Debug.h"
14
15namespace morpheo {
16namespace behavioural {
17namespace core {
18namespace multi_ooo_engine {
19namespace ooo_engine {
20namespace commit_unit {
21
22
23  class Parameters : public morpheo::behavioural::Parameters
24  {
25    //-----[ fields ]------------------------------------------------------------
26  public : uint32_t            _nb_front_end                       ;
27  public : uint32_t          * _nb_context                         ;//[nb_front_end]
28  public : uint32_t            _nb_rename_unit                     ;
29  public : uint32_t            _size_queue                         ;
30  public : uint32_t            _nb_bank                            ;
31  public : uint32_t          * _nb_inst_insert                     ;//[nb_rename_unit]
32  public : uint32_t          * _nb_inst_retire                     ;//[nb_rename_unit]
33  public : uint32_t            _nb_inst_commit                     ;
34  public : uint32_t            _nb_inst_reexecute                  ;
35  public : uint32_t            _nb_inst_branch_complete            ;
36  public : uint32_t         ** _nb_branch_speculated               ;//[nb_front_end][nb_context]
37//public : uint32_t            _size_general_data                  ;
38//public : uint32_t            _size_store_queue_ptr               ;
39//public : uint32_t            _size_load_queue_ptr                ;
40//public : uint32_t            _size_general_register              ;
41//public : uint32_t            _size_special_register              ;
42  public : Tpriority_t         _priority                           ;
43  public : Tload_balancing_t   _load_balancing                     ;
44  public : uint32_t            _nb_rename_unit_select              ;
45  public : uint32_t            _nb_thread                          ;
46  public : uint32_t         ** _translate_num_context_to_num_thread; //[nb_front_end][nb_context]
47  public : const uint32_t      _nb_bank_access_commit              ;
48  public : const retire_ooo_t  _retire_ooo                         ;
49
50  public : uint32_t            _max_nb_context          ;
51  public : uint32_t            _max_nb_inst_insert      ;
52  public : uint32_t            _max_nb_inst_retire      ;
53//public : uint32_t            _size_address            ;
54//public : uint32_t            _size_front_end_id       ;
55//public : uint32_t            _size_context_id         ;
56  public : uint32_t            _size_rename_unit_id     ;   
57  public : uint32_t            _size_bank               ;
58//public : uint32_t            _size_nb_inst            ;
59//public : uint32_t            _size_packet_id          ;
60  public : uint32_t         ** _array_size_depth        ;//[nb_front_end][nb_context]
61//public : uint32_t            _max_size_depth          ;
62
63//public : Tpacket_t           _shift_num_bank          ;
64  public : Tpacket_t           _mask_num_bank           ;
65  public : Tpacket_t           _shift_num_slot          ;
66//public : Tpacket_t           _mask_num_slot           ;
67   
68
69//public : bool                _have_port_front_end_id  ;
70//public : bool                _have_port_context_id    ;
71//public : bool                _have_port_packet_id     ;
72  public : bool                _have_port_rename_unit_id;
73//public : bool                _have_port_load_queue_ptr;
74//public : bool                _have_port_max_depth     ;
75//public : bool             ** _have_port_depth         ;//[nb_front_end][nb_context]
76
77  public : bool              * _have_thread             ;//[nb_thread]
78
79    //-----[ methods ]-----------------------------------------------------------
80  public : Parameters  (uint32_t            nb_front_end                       ,
81                        uint32_t          * nb_context                         ,//[nb_front_end]
82                        uint32_t            nb_rename_unit                     ,
83                        uint32_t            size_queue                         ,
84                        uint32_t            nb_bank                            ,
85                        uint32_t          * nb_inst_insert                     ,//[nb_rename_unit]
86                        uint32_t          * nb_inst_retire                     ,//[nb_rename_unit]
87                        uint32_t            nb_inst_commit                     ,
88                        uint32_t            nb_inst_reexecute                  ,
89                        uint32_t            nb_inst_branch_complete            ,
90                        uint32_t         ** nb_branch_speculated               ,//[nb_front_end][nb_context]
91                        uint32_t            size_nb_inst_decod                 ,
92                        uint32_t            size_general_data                  ,
93                        uint32_t            size_store_queue_ptr               ,
94                        uint32_t            size_load_queue_ptr                ,
95                        uint32_t            size_general_register              ,
96                        uint32_t            size_special_register              ,
97                        Tpriority_t         priority                           ,
98                        Tload_balancing_t   load_balancing                     ,
99                        uint32_t            nb_rename_unit_select              ,
100                        uint32_t            nb_thread                          ,
101                        uint32_t         ** translate_num_context_to_num_thread, //[nb_front_end][nb_context]
102                        bool                is_toplevel=false
103                        );
104//   public : Parameters  (Parameters & param) ;
105  public : ~Parameters (void) ;
106
107  public :        void            copy       (void);
108
109  public :        Parameters_test msg_error  (void);
110
111  public :        std::string     print      (uint32_t depth);
112  public : friend std::ostream&   operator<< (std::ostream& output_stream,
113                                              morpheo::behavioural::core::multi_ooo_engine::ooo_engine::commit_unit::Parameters & x);
114  };
115
116}; // end namespace commit_unit
117}; // end namespace ooo_engine
118}; // end namespace multi_ooo_engine
119}; // end namespace core
120
121}; // end namespace behavioural
122}; // end namespace morpheo             
123
124#endif
Note: See TracBrowser for help on using the repository browser.