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