[73] | 1 | #ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_write_unit_write_unit_write_queue_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_write_unit_write_unit_write_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 | #include <math.h> |
---|
| 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | namespace core { |
---|
| 18 | namespace multi_execute_loop { |
---|
| 19 | namespace execute_loop { |
---|
| 20 | namespace multi_write_unit { |
---|
| 21 | namespace write_unit { |
---|
| 22 | namespace write_queue { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 26 | { |
---|
| 27 | //-----[ fields ]------------------------------------------------------------ |
---|
| 28 | public : const uint32_t _size_queue ; |
---|
| 29 | public : const uint32_t _nb_context ; |
---|
| 30 | public : const uint32_t _nb_front_end ; |
---|
| 31 | public : const uint32_t _nb_ooo_engine ; |
---|
| 32 | public : const uint32_t _nb_packet ; |
---|
| 33 | public : const uint32_t _size_general_data ; |
---|
| 34 | public : const uint32_t _nb_general_register ; |
---|
| 35 | public : const uint32_t _size_special_data ; |
---|
| 36 | public : const uint32_t _nb_special_register ; |
---|
| 37 | public : const uint32_t _nb_operation ; |
---|
| 38 | public : const uint32_t _nb_type ; |
---|
| 39 | public : const uint32_t _nb_bypass_write ; |
---|
| 40 | |
---|
| 41 | public : const uint32_t _nb_gpr_write ; |
---|
| 42 | public : const uint32_t _nb_spr_write ; |
---|
| 43 | |
---|
| 44 | public : const uint32_t _size_context_id ; |
---|
| 45 | public : const uint32_t _size_front_end_id ; |
---|
| 46 | public : const uint32_t _size_ooo_engine_id ; |
---|
| 47 | public : const uint32_t _size_packet_id ; |
---|
| 48 | public : const uint32_t _size_general_register ; |
---|
| 49 | public : const uint32_t _size_special_register ; |
---|
| 50 | public : const uint32_t _size_operation ; |
---|
| 51 | public : const uint32_t _size_type ; |
---|
| 52 | |
---|
| 53 | public : const bool _have_port_context_id ; |
---|
| 54 | public : const bool _have_port_front_end_id ; |
---|
| 55 | public : const bool _have_port_ooo_engine_id ; |
---|
| 56 | public : const bool _have_port_packet_id ; |
---|
| 57 | |
---|
| 58 | //-----[ methods ]----------------------------------------------------------- |
---|
| 59 | public : Parameters (uint32_t size_queue , |
---|
| 60 | uint32_t nb_context , |
---|
| 61 | uint32_t nb_front_end , |
---|
| 62 | uint32_t nb_ooo_engine , |
---|
| 63 | uint32_t nb_packet , |
---|
| 64 | uint32_t size_general_data , |
---|
| 65 | uint32_t nb_general_register, |
---|
| 66 | uint32_t size_special_data , |
---|
| 67 | uint32_t nb_special_register, |
---|
| 68 | uint32_t nb_operation , |
---|
| 69 | uint32_t nb_type , |
---|
| 70 | uint32_t nb_bypass_write ); |
---|
| 71 | public : Parameters (Parameters & param) ; |
---|
| 72 | public : ~Parameters () ; |
---|
| 73 | |
---|
| 74 | public : std::string msg_error (void); |
---|
| 75 | |
---|
| 76 | public : std::string print (uint32_t depth); |
---|
| 77 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 78 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_write_unit::write_unit::write_queue::Parameters & x); |
---|
| 79 | }; |
---|
| 80 | |
---|
| 81 | }; // end namespace write_queue |
---|
| 82 | }; // end namespace write_unit |
---|
| 83 | }; // end namespace multi_write_unit |
---|
| 84 | }; // end namespace execute_loop |
---|
| 85 | }; // end namespace multi_execute_loop |
---|
| 86 | }; // end namespace core |
---|
| 87 | |
---|
| 88 | }; // end namespace behavioural |
---|
| 89 | }; // end namespace morpheo |
---|
| 90 | |
---|
| 91 | #endif |
---|