[78] | 1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_ifetch_unit_ifetch_queue_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_front_end_front_end_ifetch_unit_ifetch_queue_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 136 2009-10-20 18:52:15Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Common/include/Debug.h" |
---|
| 12 | #include "Behavioural/include/Parameters.h" |
---|
[136] | 13 | #include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/include/Types.h" |
---|
[78] | 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | namespace core { |
---|
| 18 | namespace multi_front_end { |
---|
| 19 | namespace front_end { |
---|
| 20 | namespace ifetch_unit { |
---|
| 21 | namespace ifetch_queue { |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 25 | { |
---|
| 26 | //-----[ fields ]------------------------------------------------------------ |
---|
[136] | 27 | public : uint32_t _size_queue ; |
---|
| 28 | public : Tifetch_queue_scheme_t _queue_scheme ; |
---|
| 29 | public : uint32_t _nb_instruction ; |
---|
| 30 | //public : uint32_t _size_branch_update_prediction ; |
---|
| 31 | //public : uint32_t _size_general_data ; |
---|
| 32 | public : uint32_t _nb_instruction_in_queue ; |
---|
| 33 | |
---|
| 34 | //public : uint32_t _size_queue_ptr ; |
---|
| 35 | //public : uint32_t _size_instruction_ptr ; |
---|
| 36 | |
---|
| 37 | //public : bool _have_port_queue_ptr ; |
---|
| 38 | //public : bool _have_port_instruction_ptr ; |
---|
| 39 | //public : bool _have_port_branch_update_prediction_id; |
---|
[78] | 40 | |
---|
| 41 | //-----[ methods ]----------------------------------------------------------- |
---|
[136] | 42 | public : Parameters (uint32_t size_queue , |
---|
| 43 | Tifetch_queue_scheme_t queue_scheme , |
---|
| 44 | uint32_t nb_instruction , |
---|
| 45 | uint32_t size_branch_update_prediction, |
---|
| 46 | uint32_t size_general_data , |
---|
| 47 | bool is_toplevel=false); |
---|
[78] | 48 | // public : Parameters (Parameters & param) ; |
---|
| 49 | public : ~Parameters () ; |
---|
| 50 | |
---|
[88] | 51 | public : void copy (void); |
---|
| 52 | |
---|
[78] | 53 | public : Parameters_test msg_error (void); |
---|
| 54 | |
---|
| 55 | public : std::string print (uint32_t depth); |
---|
| 56 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 57 | morpheo::behavioural::core::multi_front_end::front_end::ifetch_unit::ifetch_queue::Parameters & x); |
---|
| 58 | }; |
---|
| 59 | |
---|
| 60 | }; // end namespace ifetch_queue |
---|
| 61 | }; // end namespace ifetch_unit |
---|
| 62 | }; // end namespace front_end |
---|
| 63 | }; // end namespace multi_front_end |
---|
| 64 | }; // end namespace core |
---|
| 65 | |
---|
| 66 | }; // end namespace behavioural |
---|
| 67 | }; // end namespace morpheo |
---|
| 68 | |
---|
| 69 | #endif |
---|