[78] | 1 | #ifndef morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_register_translation_unit_register_address_translation_unit_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_register_translation_unit_register_address_translation_unit_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 139 2010-07-30 14:47:27Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Common/include/Debug.h" |
---|
| 12 | #include "Behavioural/include/Parameters.h" |
---|
[139] | 13 | #include "Behavioural/include/Types.h" |
---|
[78] | 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | namespace core { |
---|
| 18 | namespace multi_ooo_engine { |
---|
| 19 | namespace ooo_engine { |
---|
| 20 | namespace rename_unit { |
---|
| 21 | namespace register_translation_unit { |
---|
| 22 | namespace register_address_translation_unit { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 26 | { |
---|
| 27 | //-----[ fields ]------------------------------------------------------------ |
---|
[139] | 28 | public : uint32_t _nb_front_end ; |
---|
| 29 | public : uint32_t * _nb_context ;//[nb_front_end] |
---|
| 30 | public : uint32_t _nb_general_register ; |
---|
| 31 | public : uint32_t _nb_special_register ; |
---|
| 32 | public : Trat_scheme_t _rat_scheme ; |
---|
| 33 | public : uint32_t _nb_inst_insert ; |
---|
| 34 | public : uint32_t _nb_inst_retire ; |
---|
| 35 | public : uint32_t ** _nb_branch_speculated ;//[nb_front_end][nb_context] |
---|
| 36 | |
---|
| 37 | public : uint32_t _max_nb_context ; |
---|
| 38 | //public : uint32_t _size_front_end_id ; |
---|
| 39 | //public : uint32_t _size_context_id ; |
---|
| 40 | //public : uint32_t _size_general_register ; |
---|
| 41 | //public : uint32_t _size_special_register ; |
---|
| 42 | // |
---|
| 43 | //public : uint32_t _have_port_context_id ; |
---|
| 44 | //public : uint32_t _have_port_front_end_id; |
---|
[78] | 45 | |
---|
| 46 | //-----[ methods ]----------------------------------------------------------- |
---|
[139] | 47 | public : Parameters (uint32_t nb_front_end , |
---|
| 48 | uint32_t * nb_context ,//[nb_front_end] |
---|
| 49 | uint32_t nb_general_register , |
---|
| 50 | uint32_t nb_special_register , |
---|
| 51 | Trat_scheme_t rat_scheme , |
---|
| 52 | uint32_t nb_inst_insert , |
---|
| 53 | uint32_t nb_inst_retire , |
---|
| 54 | uint32_t ** nb_branch_speculated,//[nb_front_end][nb_context] |
---|
| 55 | bool is_toplevel=false |
---|
[78] | 56 | ); |
---|
| 57 | // public : Parameters (Parameters & param) ; |
---|
| 58 | public : ~Parameters () ; |
---|
| 59 | |
---|
[88] | 60 | public : void copy (void); |
---|
| 61 | |
---|
[82] | 62 | public : Parameters_test msg_error (void); |
---|
[78] | 63 | |
---|
[82] | 64 | public : std::string print (uint32_t depth); |
---|
| 65 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 66 | morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::register_translation_unit::register_address_translation_unit::Parameters & x); |
---|
[78] | 67 | }; |
---|
| 68 | |
---|
| 69 | }; // end namespace register_address_translation_unit |
---|
| 70 | }; // end namespace register_translation_unit |
---|
| 71 | }; // end namespace rename_unit |
---|
| 72 | }; // end namespace ooo_engine |
---|
| 73 | }; // end namespace multi_ooo_engine |
---|
| 74 | }; // end namespace core |
---|
| 75 | |
---|
| 76 | }; // end namespace behavioural |
---|
| 77 | }; // end namespace morpheo |
---|
| 78 | |
---|
| 79 | #endif |
---|