[78] | 1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_decod_unit_decod_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_front_end_front_end_decod_unit_decod_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 | #include "Behavioural/Custom/include/Custom.h" |
---|
| 15 | #include "Behavioural/Custom/include/Custom_default.h" |
---|
| 16 | |
---|
| 17 | namespace morpheo { |
---|
| 18 | namespace behavioural { |
---|
| 19 | namespace core { |
---|
| 20 | namespace multi_front_end { |
---|
| 21 | namespace front_end { |
---|
| 22 | namespace decod_unit { |
---|
| 23 | namespace decod { |
---|
| 24 | |
---|
| 25 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 26 | { |
---|
| 27 | //-----[ fields ]------------------------------------------------------------ |
---|
| 28 | public : uint32_t _nb_context ; |
---|
| 29 | public : uint32_t * _nb_inst_fetch ; //[nb_context] |
---|
| 30 | public : uint32_t _nb_inst_decod ; |
---|
[88] | 31 | //public : uint32_t _size_general_data ; |
---|
| 32 | public : uint32_t * _nb_branch_speculated ; //[nb_context] |
---|
| 33 | //public : uint32_t * _size_branch_update_prediction; //[nb_context] |
---|
[78] | 34 | public : uint32_t _nb_context_select ; |
---|
| 35 | public : Tpriority_t _priority ; |
---|
| 36 | public : Tload_balancing_t _load_balancing ; |
---|
| 37 | public : bool ** _instruction_implemeted ; //[nb_context][nb_instruction] |
---|
[88] | 38 | public : morpheo::behavioural::custom::custom_information_t (*_get_custom_information) (void); |
---|
[78] | 39 | |
---|
[88] | 40 | public : uint32_t _max_nb_inst_fetch; |
---|
| 41 | //public : uint32_t _size_address_inst; |
---|
[78] | 42 | |
---|
| 43 | //-----[ methods ]----------------------------------------------------------- |
---|
| 44 | |
---|
| 45 | public : Parameters (uint32_t nb_context , |
---|
| 46 | uint32_t * nb_inst_fetch , |
---|
| 47 | uint32_t nb_inst_decod , |
---|
[88] | 48 | uint32_t * nb_branch_speculated , |
---|
| 49 | // uint32_t * size_branch_update_prediction, |
---|
| 50 | uint32_t nb_context_select , |
---|
[78] | 51 | uint32_t size_general_data , |
---|
| 52 | Tpriority_t priority , |
---|
| 53 | Tload_balancing_t load_balancing , |
---|
| 54 | bool ** instruction_implemeted , |
---|
[88] | 55 | morpheo::behavioural::custom::custom_information_t (*get_custom_information) (void), |
---|
| 56 | bool is_toplevel=false |
---|
| 57 | ); |
---|
[78] | 58 | |
---|
| 59 | // public : Parameters (Parameters & param) ; |
---|
| 60 | public : ~Parameters () ; |
---|
| 61 | |
---|
[88] | 62 | public : void copy (void); |
---|
| 63 | |
---|
[82] | 64 | public : Parameters_test msg_error (void); |
---|
[78] | 65 | |
---|
[82] | 66 | public : std::string print (uint32_t depth); |
---|
| 67 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 68 | morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod::Parameters & x); |
---|
[78] | 69 | }; |
---|
| 70 | |
---|
| 71 | }; // end namespace decod |
---|
| 72 | }; // end namespace decod_unit |
---|
| 73 | }; // end namespace front_end |
---|
| 74 | }; // end namespace multi_front_end |
---|
| 75 | }; // end namespace core |
---|
| 76 | |
---|
| 77 | }; // end namespace behavioural |
---|
| 78 | }; // end namespace morpheo |
---|
| 79 | |
---|
| 80 | #endif |
---|