[81] | 1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_prediction_unit_glue_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_prediction_unit_glue_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id$ |
---|
| 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 prediction_unit_glue { |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 24 | { |
---|
| 25 | //-----[ fields ]------------------------------------------------------------ |
---|
[82] | 26 | public : uint32_t _nb_context ;// == nb_ifetch_unit |
---|
| 27 | public : uint32_t _nb_decod_unit ; |
---|
| 28 | //public : uint32_t _nb_ooo_engine ; |
---|
[88] | 29 | //public : uint32_t _size_address ; |
---|
[82] | 30 | public : uint32_t * _nb_instruction ;//[nb_context] |
---|
[88] | 31 | //public : uint32_t * _size_depth ;//[nb_context] |
---|
| 32 | public : uint32_t * _array_size_depth ;//[nb_context] |
---|
[82] | 33 | public : uint32_t * _nb_inst_decod ;//[nb_decod_unit] |
---|
| 34 | //public : uint32_t * _nb_inst_update ;//[nb_ooo_engine] |
---|
| 35 | public : uint32_t _nb_inst_branch_predict ; |
---|
| 36 | public : uint32_t _nb_inst_branch_decod ; |
---|
| 37 | public : uint32_t _nb_inst_branch_update ; |
---|
[81] | 38 | //public : uint32_t _nb_inst_branch_complete ; |
---|
| 39 | |
---|
[88] | 40 | //public : uint32_t _size_context_id ; |
---|
| 41 | //public : uint32_t * _size_inst_ifetch_ptr ;//[nb_context] |
---|
| 42 | //public : uint32_t _max_size_depth ; |
---|
[81] | 43 | |
---|
[88] | 44 | //public : bool _have_port_context_id ; |
---|
| 45 | //public : bool _have_port_max_depth ; |
---|
| 46 | //public : bool * _have_port_depth ;//[nb_context] |
---|
| 47 | //public : bool * _have_port_inst_ifetch_ptr;//[nb_context] |
---|
[81] | 48 | |
---|
| 49 | //-----[ methods ]----------------------------------------------------------- |
---|
[82] | 50 | public : Parameters (uint32_t nb_context , |
---|
| 51 | uint32_t nb_decod_unit , |
---|
| 52 | // uint32_t nb_ooo_engine , |
---|
[88] | 53 | uint32_t size_address , |
---|
[82] | 54 | uint32_t * nb_instruction , |
---|
| 55 | uint32_t * size_depth , |
---|
| 56 | uint32_t * nb_inst_decod , |
---|
| 57 | // uint32_t * nb_inst_update , |
---|
| 58 | uint32_t nb_inst_branch_predict, |
---|
| 59 | uint32_t nb_inst_branch_decod , |
---|
[88] | 60 | uint32_t nb_inst_branch_update , |
---|
| 61 | bool is_toplevel=false |
---|
| 62 | ); |
---|
[81] | 63 | // public : Parameters (Parameters & param) ; |
---|
| 64 | public : ~Parameters () ; |
---|
| 65 | |
---|
[88] | 66 | public : void copy (void); |
---|
| 67 | |
---|
[81] | 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::prediction_unit_glue::Parameters & x); |
---|
| 73 | }; |
---|
| 74 | |
---|
| 75 | }; // end namespace prediction_unit_glue |
---|
| 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 |
---|