[78] | 1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_update_prediction_table_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_update_prediction_table_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 82 2008-05-01 16:48:45Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Common/include/Debug.h" |
---|
| 12 | #include "Behavioural/include/Parameters.h" |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | namespace core { |
---|
| 17 | namespace multi_front_end { |
---|
| 18 | namespace front_end { |
---|
| 19 | namespace prediction_unit { |
---|
| 20 | namespace update_prediction_table { |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 24 | { |
---|
| 25 | //-----[ fields ]------------------------------------------------------------ |
---|
[81] | 26 | public : uint32_t _nb_context ; |
---|
| 27 | public : uint32_t * _size_queue ; // [nb_context] |
---|
| 28 | public : uint32_t _size_address ; |
---|
| 29 | public : uint32_t _nb_inst_predict ; |
---|
| 30 | public : uint32_t _nb_inst_decod ; |
---|
| 31 | public : uint32_t _nb_inst_branch_complete; |
---|
| 32 | public : uint32_t _nb_inst_update ; |
---|
| 33 | public : uint32_t _size_history ; |
---|
| 34 | public : uint32_t * _size_ras_index ; // [nb_context] |
---|
[78] | 35 | |
---|
[81] | 36 | public : uint32_t _size_context_id ; |
---|
[82] | 37 | public : uint32_t * _size_depth ; // [nb_context] |
---|
| 38 | public : uint32_t _max_size_depth ; |
---|
[81] | 39 | public : uint32_t _max_size_ras_index ; |
---|
| 40 | |
---|
| 41 | public : bool _have_port_context_id ; |
---|
[82] | 42 | public : bool * _have_port_depth ; // [nb_context] |
---|
| 43 | public : bool _have_port_max_depth ; |
---|
[81] | 44 | public : bool _have_port_history ; |
---|
| 45 | |
---|
[78] | 46 | //-----[ methods ]----------------------------------------------------------- |
---|
[81] | 47 | public : Parameters (uint32_t nb_context , |
---|
| 48 | uint32_t * size_queue , |
---|
| 49 | uint32_t size_address , |
---|
| 50 | uint32_t nb_inst_predict , |
---|
| 51 | uint32_t nb_inst_decod , |
---|
| 52 | uint32_t nb_inst_branch_complete, |
---|
| 53 | uint32_t nb_inst_update , |
---|
| 54 | uint32_t size_history , |
---|
| 55 | uint32_t * size_ras_index ); |
---|
| 56 | //public : Parameters (Parameters & param) ; |
---|
[78] | 57 | public : ~Parameters () ; |
---|
| 58 | |
---|
| 59 | public : Parameters_test msg_error (void); |
---|
| 60 | |
---|
| 61 | public : std::string print (uint32_t depth); |
---|
| 62 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 63 | morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::update_prediction_table::Parameters & x); |
---|
| 64 | }; |
---|
| 65 | |
---|
| 66 | }; // end namespace update_prediction_table |
---|
| 67 | }; // end namespace prediction_unit |
---|
| 68 | }; // end namespace front_end |
---|
| 69 | }; // end namespace multi_front_end |
---|
| 70 | }; // end namespace core |
---|
| 71 | |
---|
| 72 | }; // end namespace behavioural |
---|
| 73 | }; // end namespace morpheo |
---|
| 74 | |
---|
| 75 | #endif |
---|