[83] | 1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_context_state_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_front_end_front_end_context_state_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 106 2009-02-09 22:55:26Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/include/Parameters.h" |
---|
| 12 | #include "Common/include/Debug.h" |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | namespace core { |
---|
| 17 | namespace multi_front_end { |
---|
| 18 | namespace front_end { |
---|
| 19 | namespace context_state { |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 23 | { |
---|
| 24 | //-----[ fields ]------------------------------------------------------------ |
---|
| 25 | |
---|
| 26 | public : uint32_t _nb_context ; |
---|
| 27 | public : uint32_t _nb_decod_unit ; |
---|
| 28 | public : uint32_t _nb_inst_branch_complete ; |
---|
[106] | 29 | public : uint32_t * _nb_inst_branch_speculated ; //[nb_context] |
---|
[88] | 30 | //public : uint32_t * _size_depth ; //[nb_context] |
---|
[98] | 31 | //public : uint32_t _size_general_data ; |
---|
[88] | 32 | //public : uint32_t * _size_nb_inst_decod ; //[nb_decod_unit] |
---|
| 33 | //public : uint32_t _size_nb_inst_commit ; |
---|
[83] | 34 | public : uint32_t * _link_context_to_decod_unit ; //[nb_context] |
---|
| 35 | |
---|
| 36 | //-----[ methods ]----------------------------------------------------------- |
---|
| 37 | public : Parameters (uint32_t nb_context, |
---|
| 38 | uint32_t nb_decod_unit, |
---|
| 39 | uint32_t nb_inst_branch_complete, |
---|
[106] | 40 | uint32_t * nb_inst_branch_speculated, |
---|
[98] | 41 | uint32_t size_general_data, |
---|
[88] | 42 | uint32_t * size_nb_inst_decod, |
---|
| 43 | uint32_t size_nb_inst_commit, |
---|
[83] | 44 | uint32_t * link_context_to_decod_unit, |
---|
[88] | 45 | bool is_toplevel=false); |
---|
[83] | 46 | // public : Parameters (Parameters & param) ; |
---|
| 47 | public : ~Parameters () ; |
---|
| 48 | |
---|
[88] | 49 | public : void copy (void); |
---|
| 50 | |
---|
[83] | 51 | public : Parameters_test msg_error (void); |
---|
| 52 | |
---|
| 53 | public : std::string print (uint32_t depth); |
---|
| 54 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 55 | morpheo::behavioural::core::multi_front_end::front_end::context_state::Parameters & x); |
---|
| 56 | }; |
---|
| 57 | |
---|
| 58 | }; // end namespace context_state |
---|
| 59 | }; // end namespace front_end |
---|
| 60 | }; // end namespace multi_front_end |
---|
| 61 | }; // end namespace core |
---|
| 62 | |
---|
| 63 | }; // end namespace behavioural |
---|
| 64 | }; // end namespace morpheo |
---|
| 65 | |
---|
| 66 | #endif |
---|