[78] | 1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_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 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/include/Parameters.h" |
---|
| 16 | |
---|
| 17 | namespace morpheo { |
---|
| 18 | namespace behavioural { |
---|
| 19 | namespace core { |
---|
| 20 | namespace multi_front_end { |
---|
| 21 | namespace front_end { |
---|
| 22 | namespace prediction_unit { |
---|
| 23 | namespace direction { |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 27 | { |
---|
| 28 | //-----[ fields ]------------------------------------------------------------ |
---|
| 29 | public : Tpredictor_t _predictor_scheme ; |
---|
| 30 | public : uint32_t _nb_inst_predict ; |
---|
| 31 | public : uint32_t _nb_inst_update ; |
---|
[88] | 32 | //public : uint32_t _size_address ; |
---|
[78] | 33 | public : bool _have_bht [3]; |
---|
| 34 | public : uint32_t _bht_size_shifter [3]; |
---|
| 35 | public : uint32_t _bht_nb_shifter [3]; |
---|
| 36 | public : bool _have_pht [3]; |
---|
| 37 | public : uint32_t _pht_size_counter [3]; |
---|
| 38 | public : uint32_t _pht_nb_counter [3]; |
---|
| 39 | public : uint32_t _pht_size_address_share [3]; |
---|
| 40 | |
---|
| 41 | public : uint32_t _size_history; |
---|
| 42 | |
---|
| 43 | public : bool _have_component_meta_predictor; |
---|
| 44 | public : bool _have_port_history; |
---|
| 45 | |
---|
| 46 | public : morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::direction_glue::Parameters * _param_glue; |
---|
| 47 | |
---|
| 48 | //-----[ methods ]----------------------------------------------------------- |
---|
| 49 | public : Parameters (Tpredictor_t predictor_scheme , |
---|
| 50 | uint32_t nb_inst_predict , |
---|
| 51 | uint32_t nb_inst_update , |
---|
| 52 | uint32_t size_address , |
---|
| 53 | bool have_bht [3], |
---|
| 54 | uint32_t bht_size_shifter [3], |
---|
| 55 | uint32_t bht_nb_shifter [3], |
---|
| 56 | bool have_pht [3], |
---|
| 57 | uint32_t pht_size_counter [3], |
---|
| 58 | uint32_t pht_nb_counter [3], |
---|
[88] | 59 | uint32_t pht_size_address_share [3], |
---|
| 60 | bool is_toplevel=false |
---|
| 61 | ); |
---|
[78] | 62 | |
---|
| 63 | // public : Parameters (Parameters & param) ; |
---|
| 64 | public : ~Parameters () ; |
---|
| 65 | |
---|
[88] | 66 | public : void copy (void); |
---|
| 67 | |
---|
[78] | 68 | public : Parameters_test msg_error (void); |
---|
| 69 | |
---|
| 70 | public : std::string print (uint32_t depth); |
---|
| 71 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 72 | morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::Parameters & x); |
---|
| 73 | }; |
---|
| 74 | |
---|
| 75 | }; // end namespace direction |
---|
| 76 | }; // end namespace prediction_unit |
---|
| 77 | }; // end namespace front_end |
---|
| 78 | }; // end namespace multi_front_end |
---|
| 79 | }; // end namespace core |
---|
| 80 | |
---|
| 81 | }; // end namespace behavioural |
---|
| 82 | }; // end namespace morpheo |
---|
| 83 | |
---|
| 84 | #endif |
---|