[78] | 1 | #ifndef morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_register_translation_unit_stat_list_unit_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_register_translation_unit_stat_list_unit_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 "Behavioural/include/Types.h" |
---|
| 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 stat_list_unit { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 26 | { |
---|
| 27 | //-----[ fields ]------------------------------------------------------------ |
---|
| 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 : uint32_t _nb_inst_insert ; |
---|
| 33 | public : uint32_t _nb_inst_retire ; |
---|
| 34 | public : uint32_t _nb_reg_free ; |
---|
| 35 | public : uint32_t _nb_bank ; |
---|
| 36 | public : uint32_t _size_counter ; |
---|
| 37 | |
---|
[88] | 38 | //public : uint32_t _size_general_register ; |
---|
| 39 | //public : uint32_t _size_special_register ; |
---|
[78] | 40 | |
---|
| 41 | public : uint32_t _max_reader ; |
---|
| 42 | public : uint32_t _nb_gpr_use_init ; |
---|
| 43 | public : uint32_t _nb_spr_use_init ; |
---|
| 44 | |
---|
| 45 | public : uint32_t _nb_general_register_by_bank; |
---|
| 46 | public : uint32_t _nb_special_register_by_bank; |
---|
| 47 | |
---|
| 48 | public : uint32_t _nb_bank_by_port_free ; |
---|
| 49 | |
---|
| 50 | public : uint32_t _shift_gpr; |
---|
| 51 | public : uint32_t _shift_spr; |
---|
| 52 | |
---|
| 53 | public : Tgeneral_address_t _mask_gpr; |
---|
| 54 | public : Tspecial_address_t _mask_spr; |
---|
| 55 | |
---|
| 56 | //-----[ methods ]----------------------------------------------------------- |
---|
| 57 | public : Parameters (uint32_t nb_front_end , |
---|
| 58 | uint32_t * nb_context , |
---|
| 59 | uint32_t nb_general_register , |
---|
| 60 | uint32_t nb_special_register , |
---|
| 61 | uint32_t nb_inst_insert , |
---|
| 62 | uint32_t nb_inst_retire , |
---|
| 63 | uint32_t nb_reg_free , |
---|
| 64 | uint32_t nb_bank , |
---|
[88] | 65 | uint32_t size_counter , |
---|
| 66 | bool is_toplevel=false |
---|
| 67 | ); |
---|
[78] | 68 | |
---|
| 69 | // public : Parameters (Parameters & param) ; |
---|
| 70 | public : ~Parameters () ; |
---|
| 71 | |
---|
[88] | 72 | public : void copy (void); |
---|
| 73 | |
---|
[82] | 74 | public : Parameters_test msg_error (void); |
---|
[78] | 75 | |
---|
[82] | 76 | public : std::string print (uint32_t depth); |
---|
| 77 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 78 | morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::register_translation_unit::stat_list_unit::Parameters & x); |
---|
[78] | 79 | }; |
---|
| 80 | |
---|
| 81 | }; // end namespace stat_list_unit |
---|
| 82 | }; // end namespace register_translation_unit |
---|
| 83 | }; // end namespace rename_unit |
---|
| 84 | }; // end namespace ooo_engine |
---|
| 85 | }; // end namespace multi_ooo_engine |
---|
| 86 | }; // end namespace core |
---|
| 87 | |
---|
| 88 | }; // end namespace behavioural |
---|
| 89 | }; // end namespace morpheo |
---|
| 90 | |
---|
| 91 | #endif |
---|