[88] | 1 | #ifndef morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 146 2011-02-01 20:57:54Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/include/Parameters.h" |
---|
| 12 | #include "Common/include/Debug.h" |
---|
| 13 | |
---|
| 14 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/include/Parameters.h" |
---|
| 15 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/include/Parameters.h" |
---|
| 16 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/include/Parameters.h" |
---|
| 17 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_unit_Glue/include/Parameters.h" |
---|
| 18 | |
---|
| 19 | namespace morpheo { |
---|
| 20 | namespace behavioural { |
---|
| 21 | namespace core { |
---|
| 22 | namespace multi_ooo_engine { |
---|
| 23 | namespace ooo_engine { |
---|
| 24 | namespace rename_unit { |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 28 | { |
---|
| 29 | //-----[ fields ]------------------------------------------------------------ |
---|
| 30 | public : uint32_t _nb_front_end ; |
---|
| 31 | public : uint32_t * _nb_context ;//[nb_front_end] |
---|
| 32 | public : uint32_t * _nb_inst_decod ;//[nb_front_end] |
---|
| 33 | public : uint32_t _nb_inst_insert ; |
---|
| 34 | public : uint32_t _nb_inst_retire ; |
---|
| 35 | public : uint32_t _nb_load_store_queue ; |
---|
| 36 | public : uint32_t * _size_store_queue ;//[nb_load_store_queue] |
---|
| 37 | public : uint32_t * _size_load_queue ;//[nb_load_store_queue] |
---|
[146] | 38 | public : Tpredictor_t * _speculative_commit_predictor_scheme;//[nb_load_store_queue] |
---|
| 39 | public : uint32_t ** _lsu_pht_size_counter ;//[nb_load_store_queue][1] |
---|
| 40 | public : uint32_t ** _lsu_pht_nb_counter ;//[nb_load_store_queue][1] |
---|
| 41 | public : Tpht_scheme_t ** _lsu_pht_scheme ;//[nb_load_store_queue][1] |
---|
[110] | 42 | public : uint32_t * _nb_inst_memory ;//[nb_load_store_queue] |
---|
[88] | 43 | public : uint32_t ** _link_load_store_unit_with_thread ;//[nb_front_end][nb_context] |
---|
| 44 | public : Tpriority_t _rename_select_priority ; |
---|
| 45 | public : Tload_balancing_t _rename_select_load_balancing ; |
---|
| 46 | public : uint32_t _rename_select_nb_front_end_select; |
---|
| 47 | public : uint32_t _max_branch_speculated ; |
---|
| 48 | //public : uint32_t _size_general_data ; |
---|
| 49 | public : uint32_t _nb_general_register ; |
---|
| 50 | public : uint32_t _nb_special_register ; |
---|
[139] | 51 | public : Trat_scheme_t _rat_scheme ; |
---|
[88] | 52 | public : uint32_t _nb_reg_free ; |
---|
| 53 | public : uint32_t _nb_bank ; |
---|
[139] | 54 | //public : uint32_t _size_read_counter ; |
---|
| 55 | public : uint32_t ** _nb_branch_speculated ;//[nb_front_end][nb_context] |
---|
| 56 | |
---|
[88] | 57 | //public : uint32_t _size_front_end_id ; |
---|
| 58 | //public : uint32_t _size_context_id ; |
---|
| 59 | //public : uint32_t _size_store_queue_ptr ; |
---|
| 60 | //public : uint32_t _size_load_queue_ptr ; |
---|
| 61 | //public : uint32_t _size_general_register ; |
---|
| 62 | //public : uint32_t _size_special_register ; |
---|
| 63 | //public : uint32_t _size_depth ; |
---|
| 64 | |
---|
| 65 | //public : uint32_t _have_port_front_end_id ; |
---|
| 66 | //public : uint32_t _have_port_context_id ; |
---|
| 67 | //public : uint32_t _have_port_load_queue_ptr ; |
---|
| 68 | //public : bool _have_port_depth ; |
---|
| 69 | |
---|
| 70 | public : morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::rename_select ::Parameters * _param_rename_select ; |
---|
| 71 | public : morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::register_translation_unit::Parameters * _param_register_translation_unit; |
---|
| 72 | public : morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::load_store_pointer_unit ::Parameters * _param_load_store_pointer_unit ; |
---|
| 73 | public : morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::rename_unit_glue ::Parameters * _param_glue ; |
---|
| 74 | |
---|
| 75 | //-----[ methods ]----------------------------------------------------------- |
---|
| 76 | public : Parameters (uint32_t nb_front_end , |
---|
| 77 | uint32_t * nb_context , |
---|
| 78 | uint32_t * nb_inst_decod , |
---|
| 79 | uint32_t nb_inst_insert , |
---|
| 80 | uint32_t nb_inst_retire , |
---|
| 81 | uint32_t nb_load_store_queue , |
---|
| 82 | uint32_t * size_store_queue , |
---|
| 83 | uint32_t * size_load_queue , |
---|
[146] | 84 | Tpredictor_t * speculative_commit_predictor_scheme,//[nb_load_store_queue] |
---|
| 85 | uint32_t ** lsu_pht_size_counter ,//[nb_load_store_queue][1] |
---|
| 86 | uint32_t ** lsu_pht_nb_counter ,//[nb_load_store_queue][1] |
---|
| 87 | Tpht_scheme_t ** lsu_pht_scheme ,//[nb_load_store_queue][1] |
---|
[110] | 88 | uint32_t * nb_inst_memory , |
---|
[88] | 89 | uint32_t ** link_load_store_unit_with_thread , |
---|
| 90 | Tpriority_t rename_select_priority , |
---|
| 91 | Tload_balancing_t rename_select_load_balancing , |
---|
| 92 | uint32_t rename_select_nb_front_end_select, |
---|
| 93 | uint32_t max_branch_speculated , |
---|
| 94 | uint32_t size_general_data , |
---|
| 95 | uint32_t nb_general_register , |
---|
| 96 | uint32_t nb_special_register , |
---|
[139] | 97 | Trat_scheme_t rat_scheme , |
---|
[88] | 98 | uint32_t nb_reg_free , |
---|
| 99 | uint32_t nb_bank , |
---|
[112] | 100 | // uint32_t size_read_counter , |
---|
[139] | 101 | uint32_t ** nb_branch_speculated ,//[nb_front_end][nb_context] |
---|
[88] | 102 | bool is_toplevel=false |
---|
| 103 | ); |
---|
| 104 | // public : Parameters (Parameters & param) ; |
---|
| 105 | public : ~Parameters () ; |
---|
| 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::rename_unit::Parameters & x); |
---|
| 114 | }; |
---|
| 115 | |
---|
| 116 | }; // end namespace rename_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 |
---|