[83] | 1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_decod_unit_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_front_end_front_end_decod_unit_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 111 2009-02-27 18:37:40Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/include/Parameters.h" |
---|
| 12 | #include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/include/Parameters.h" |
---|
| 13 | |
---|
| 14 | #include "Behavioural/include/Parameters.h" |
---|
| 15 | #include "Common/include/Debug.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 | |
---|
| 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 ; |
---|
| 31 | public : uint32_t _size_queue ; |
---|
[111] | 32 | public : decod_queue::Tdecod_queue_scheme_t |
---|
| 33 | _queue_scheme ; |
---|
[88] | 34 | //public : uint32_t _size_general_data ; |
---|
[83] | 35 | public : uint32_t * _nb_branch_speculated ; //[nb_context] |
---|
[88] | 36 | //public : uint32_t * _size_branch_update_prediction; //[nb_context] |
---|
[83] | 37 | public : uint32_t _nb_context_select ; |
---|
| 38 | public : Tpriority_t _select_priority ; |
---|
| 39 | public : Tload_balancing_t _select_load_balancing ; |
---|
| 40 | public : bool ** _instruction_implemeted ; //[nb_context][nb_instruction] |
---|
[88] | 41 | public : morpheo::behavioural::custom::custom_information_t (*_get_custom_information) (void); |
---|
[83] | 42 | |
---|
[88] | 43 | //public : uint32_t _size_address_inst; |
---|
| 44 | public : uint32_t _max_nb_inst_fetch; |
---|
[83] | 45 | |
---|
| 46 | public : morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod ::Parameters * _param_decod; |
---|
| 47 | public : morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod_queue::Parameters * _param_decod_queue; |
---|
| 48 | |
---|
| 49 | //-----[ methods ]----------------------------------------------------------- |
---|
| 50 | public : Parameters (uint32_t nb_context , |
---|
| 51 | uint32_t * nb_inst_fetch , |
---|
| 52 | uint32_t nb_inst_decod , |
---|
| 53 | uint32_t size_queue , |
---|
[111] | 54 | decod_queue::Tdecod_queue_scheme_t |
---|
| 55 | queue_scheme , |
---|
[83] | 56 | uint32_t size_general_data , |
---|
| 57 | uint32_t * nb_branch_speculated , |
---|
[88] | 58 | // uint32_t * size_branch_update_prediction, |
---|
[83] | 59 | uint32_t nb_context_select , |
---|
| 60 | Tpriority_t select_priority , |
---|
| 61 | Tload_balancing_t select_load_balancing , |
---|
| 62 | bool ** instruction_implemeted , |
---|
[88] | 63 | morpheo::behavioural::custom::custom_information_t (*get_custom_information) (void), |
---|
| 64 | bool is_toplevel=false |
---|
| 65 | ); |
---|
[83] | 66 | // public : Parameters (Parameters & param) ; |
---|
| 67 | public : ~Parameters () ; |
---|
| 68 | |
---|
[88] | 69 | public : void copy (void); |
---|
| 70 | |
---|
[83] | 71 | public : Parameters_test msg_error (void); |
---|
| 72 | |
---|
| 73 | public : std::string print (uint32_t depth); |
---|
| 74 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 75 | morpheo::behavioural::core::multi_front_end::front_end::decod_unit::Parameters & x); |
---|
| 76 | }; |
---|
| 77 | |
---|
| 78 | }; // end namespace decod_unit |
---|
| 79 | }; // end namespace front_end |
---|
| 80 | }; // end namespace multi_front_end |
---|
| 81 | }; // end namespace core |
---|
| 82 | |
---|
| 83 | }; // end namespace behavioural |
---|
| 84 | }; // end namespace morpheo |
---|
| 85 | |
---|
| 86 | #endif |
---|