source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/include/Parameters.h @ 76

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

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

File size: 4.1 KB
Line 
1#ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_read_unit_read_unit_reservation_station_Parameters_h
2#define morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_read_unit_read_unit_reservation_station_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#include <math.h>
14
15namespace morpheo {
16namespace behavioural {
17namespace core {
18namespace multi_execute_loop {
19namespace execute_loop {
20namespace multi_read_unit {
21namespace read_unit {
22namespace reservation_station {
23
24
25  class Parameters : public morpheo::behavioural::Parameters
26  {
27    //-----[ fields ]------------------------------------------------------------
28  public : const uint32_t    _size_queue           ;
29  public : const uint32_t    _nb_inst_retire       ;
30  public : const uint32_t    _nb_context           ;
31  public : const uint32_t    _nb_front_end         ;
32  public : const uint32_t    _nb_ooo_engine        ;
33  public : const uint32_t    _nb_packet            ;
34  public : const uint32_t    _size_general_data    ;
35  public : const uint32_t    _size_special_data    ;
36  public : const uint32_t    _nb_general_register  ;
37  public : const uint32_t    _nb_special_register  ;
38  public : const uint32_t    _nb_operation         ;
39  public : const uint32_t    _nb_type              ;
40  public : const uint32_t    _nb_gpr_write         ;
41  public : const uint32_t    _nb_spr_write         ;
42  public : const uint32_t    _nb_bypass_write      ;//if nb_bypass=0, then bypass is desactivated
43  public : const uint32_t    _nb_bypass_memory     ;//if nb_bypass=0, then bypass is desactivated
44  public : const uint32_t    _size_store_queue     ;
45  public : const uint32_t    _size_load_queue      ;
46
47    /*
48  public : const bool        _have_immediat        ;
49  public : const bool        _have_gpr_ra          ;
50  public : const bool        _have_gpr_rb          ;
51  public : const bool        _have_spr_rc          ;
52  public : const bool        _have_gpr_rd          ;
53  public : const bool        _have_spr_re          ;
54    */
55  public : const uint32_t    _size_context_id      ;
56  public : const uint32_t    _size_front_end_id    ;
57  public : const uint32_t    _size_ooo_engine_id   ;
58  public : const uint32_t    _size_rob_id          ;
59  public : const uint32_t    _size_general_register;
60  public : const uint32_t    _size_special_register;
61  public : const uint32_t    _size_operation       ;
62  public : const uint32_t    _size_type            ;
63
64  public : const bool        _have_port_context_id   ;
65  public : const bool        _have_port_front_end_id ;
66  public : const bool        _have_port_ooo_engine_id;
67  public : const bool        _have_port_rob_id       ;
68
69    //-----[ methods ]-----------------------------------------------------------
70  public : Parameters  (uint32_t size_queue         ,
71                        uint32_t nb_inst_retire     ,
72                        uint32_t nb_context         ,
73                        uint32_t nb_front_end       ,
74                        uint32_t nb_ooo_engine      ,
75                        uint32_t nb_packet          ,
76                        uint32_t size_general_data  ,
77                        uint32_t size_special_data  ,
78                        uint32_t nb_general_register,
79                        uint32_t nb_special_register,
80                        uint32_t nb_operation       ,
81                        uint32_t nb_type            ,
82                        uint32_t nb_gpr_write       ,
83                        uint32_t nb_spr_write       ,
84                        uint32_t nb_bypass_write    ,
85                        uint32_t nb_bypass_memory   ,
86                        uint32_t size_store_queue   ,
87                        uint32_t size_load_queue    );
88
89  public : Parameters  (Parameters & param) ;
90  public : ~Parameters () ;
91
92  public :        std::string   msg_error  (void);
93
94  public :        std::string   print      (uint32_t depth);
95  public : friend std::ostream& operator<< (std::ostream& output_stream,
96                                            morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_read_unit::read_unit::reservation_station::Parameters & x);
97  };
98
99}; // end namespace reservation_station
100}; // end namespace read_unit
101}; // end namespace multi_read_unit
102}; // end namespace execute_loop
103}; // end namespace multi_execute_loop
104}; // end namespace core
105
106}; // end namespace behavioural
107}; // end namespace morpheo             
108
109#endif
Note: See TracBrowser for help on using the repository browser.