[78] | 1 | #ifndef morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_register_translation_unit_free_list_unit_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_ooo_engine_ooo_engine_rename_unit_register_translation_unit_free_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/Types.h" |
---|
| 13 | #include "Behavioural/include/Parameters.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 free_list_unit { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 26 | { |
---|
| 27 | //-----[ fields ]------------------------------------------------------------ |
---|
| 28 | public : uint32_t _nb_thread ; |
---|
| 29 | public : uint32_t _nb_general_register ; |
---|
| 30 | public : uint32_t _nb_special_register ; |
---|
| 31 | public : uint32_t _nb_bank ; |
---|
| 32 | public : uint32_t _nb_pop ; |
---|
| 33 | public : uint32_t _nb_push ; |
---|
| 34 | public : Tpriority_t _priority ; |
---|
| 35 | |
---|
[88] | 36 | //public : uint32_t _size_general_register; |
---|
| 37 | //public : uint32_t _size_special_register; |
---|
[78] | 38 | |
---|
| 39 | public : uint32_t _nb_bank_by_pop ; |
---|
| 40 | public : uint32_t _bank_gpr_nb_slot ; |
---|
| 41 | public : uint32_t _bank_gpr_size_slot ; |
---|
| 42 | public : uint32_t _bank_spr_nb_slot ; |
---|
| 43 | public : uint32_t _bank_spr_size_slot ; |
---|
| 44 | public : uint32_t _mask_gpr ; |
---|
| 45 | public : uint32_t _mask_spr ; |
---|
| 46 | |
---|
| 47 | //-----[ methods ]----------------------------------------------------------- |
---|
| 48 | public : Parameters (uint32_t nb_thread , |
---|
| 49 | uint32_t nb_general_register, |
---|
| 50 | uint32_t nb_special_register, |
---|
| 51 | uint32_t nb_bank , |
---|
| 52 | uint32_t nb_pop , |
---|
| 53 | uint32_t nb_push , |
---|
[88] | 54 | Tpriority_t priority , |
---|
| 55 | bool is_toplevel=false); |
---|
[78] | 56 | // public : Parameters (Parameters & param) ; |
---|
| 57 | public : ~Parameters () ; |
---|
| 58 | |
---|
[82] | 59 | public : Parameters_test msg_error (void); |
---|
[78] | 60 | |
---|
[88] | 61 | public : void copy (void); |
---|
| 62 | |
---|
[82] | 63 | public : std::string print (uint32_t depth); |
---|
| 64 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 65 | morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::register_translation_unit::free_list_unit::Parameters & x); |
---|
[78] | 66 | }; |
---|
| 67 | |
---|
| 68 | }; // end namespace free_list_unit |
---|
| 69 | }; // end namespace register_translation_unit |
---|
| 70 | }; // end namespace rename_unit |
---|
| 71 | }; // end namespace ooo_engine |
---|
| 72 | }; // end namespace multi_ooo_engine |
---|
| 73 | }; // end namespace core |
---|
| 74 | |
---|
| 75 | }; // end namespace behavioural |
---|
| 76 | }; // end namespace morpheo |
---|
| 77 | |
---|
| 78 | #endif |
---|