[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$ |
---|
| 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 ifetch_unit { |
---|
| 20 | namespace ifetch_queue { |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 24 | { |
---|
| 25 | //-----[ fields ]------------------------------------------------------------ |
---|
| 26 | public : uint32_t _size_queue ; |
---|
| 27 | public : uint32_t _nb_instruction ; |
---|
| 28 | public : uint32_t _size_branch_update_prediction ; |
---|
| 29 | public : uint32_t _size_general_data ; |
---|
| 30 | |
---|
| 31 | public : uint32_t _size_queue_ptr ; |
---|
| 32 | public : uint32_t _size_instruction_ptr ; |
---|
| 33 | |
---|
| 34 | public : bool _have_port_queue_ptr ; |
---|
| 35 | public : bool _have_port_instruction_ptr ; |
---|
| 36 | public : bool _have_port_branch_update_prediction_id; |
---|
| 37 | |
---|
| 38 | //-----[ methods ]----------------------------------------------------------- |
---|
| 39 | public : Parameters (uint32_t _size_queue , |
---|
| 40 | uint32_t _nb_instruction , |
---|
| 41 | uint32_t _size_branch_update_prediction, |
---|
| 42 | uint32_t _size_general_data ); |
---|
| 43 | // public : Parameters (Parameters & param) ; |
---|
| 44 | public : ~Parameters () ; |
---|
| 45 | |
---|
| 46 | public : Parameters_test msg_error (void); |
---|
| 47 | |
---|
| 48 | public : std::string print (uint32_t depth); |
---|
| 49 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 50 | morpheo::behavioural::core::multi_front_end::front_end::ifetch_unit::ifetch_queue::Parameters & x); |
---|
| 51 | }; |
---|
| 52 | |
---|
| 53 | }; // end namespace ifetch_queue |
---|
| 54 | }; // end namespace ifetch_unit |
---|
| 55 | }; // end namespace front_end |
---|
| 56 | }; // end namespace multi_front_end |
---|
| 57 | }; // end namespace core |
---|
| 58 | |
---|
| 59 | }; // end namespace behavioural |
---|
| 60 | }; // end namespace morpheo |
---|
| 61 | |
---|
| 62 | #endif |
---|