[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: Parameters.h 118 2009-05-20 22:01:32Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Common/include/Debug.h" |
---|
| 12 | #include "Behavioural/include/Parameters.h" |
---|
[115] | 13 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/include/Types.h" |
---|
[73] | 14 | #include <math.h> |
---|
| 15 | |
---|
| 16 | namespace morpheo { |
---|
| 17 | namespace behavioural { |
---|
| 18 | namespace core { |
---|
| 19 | namespace multi_execute_loop { |
---|
| 20 | namespace execute_loop { |
---|
| 21 | namespace multi_write_unit { |
---|
| 22 | namespace write_unit { |
---|
| 23 | namespace write_queue { |
---|
| 24 | |
---|
| 25 | |
---|
[118] | 26 | |
---|
[73] | 27 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 28 | { |
---|
| 29 | //-----[ fields ]------------------------------------------------------------ |
---|
[118] | 30 | public : uint32_t _size_queue ; |
---|
| 31 | public : uint32_t _nb_context ; |
---|
| 32 | public : uint32_t _nb_front_end ; |
---|
| 33 | public : uint32_t _nb_ooo_engine ; |
---|
| 34 | public : uint32_t _nb_packet ; |
---|
| 35 | //public : uint32_t _size_general_data ; |
---|
| 36 | public : uint32_t _nb_general_register ; |
---|
| 37 | //public : uint32_t _size_special_data ; |
---|
| 38 | public : uint32_t _nb_special_register ; |
---|
| 39 | public : uint32_t _nb_bypass_write ; |
---|
| 40 | public : Twrite_queue_scheme_t _queue_scheme ; |
---|
| 41 | public : Tbypass_write_scheme_t _bypass_write_scheme ; |
---|
| 42 | public : uint32_t _nb_gpr_write ; |
---|
| 43 | public : uint32_t _nb_spr_write ; |
---|
| 44 | |
---|
| 45 | //public : uint32_t _size_context_id ; |
---|
| 46 | //public : uint32_t _size_front_end_id ; |
---|
| 47 | //public : uint32_t _size_ooo_engine_id ; |
---|
| 48 | //public : uint32_t _size_packet_id ; |
---|
| 49 | //public : uint32_t _size_general_register ; |
---|
| 50 | //public : uint32_t _size_special_register ; |
---|
| 51 | public : uint32_t _size_internal_queue ; |
---|
| 52 | |
---|
| 53 | //public : bool _have_port_context_id ; |
---|
| 54 | //public : bool _have_port_front_end_id ; |
---|
| 55 | //public : bool _have_port_ooo_engine_id; |
---|
| 56 | //public : bool _have_port_packet_id ; |
---|
[73] | 57 | |
---|
| 58 | //-----[ methods ]----------------------------------------------------------- |
---|
[115] | 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_bypass_write , |
---|
| 69 | Twrite_queue_scheme_t queue_scheme , |
---|
| 70 | bool is_toplevel=false ); |
---|
[88] | 71 | //public : Parameters (Parameters & param) ; |
---|
[73] | 72 | public : ~Parameters () ; |
---|
| 73 | |
---|
[88] | 74 | public : void copy (void); |
---|
| 75 | |
---|
[78] | 76 | public : Parameters_test msg_error (void); |
---|
[73] | 77 | |
---|
[88] | 78 | public : std::string print (uint32_t depth); |
---|
| 79 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 80 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_write_unit::write_unit::write_queue::Parameters & x); |
---|
[73] | 81 | }; |
---|
| 82 | |
---|
| 83 | }; // end namespace write_queue |
---|
| 84 | }; // end namespace write_unit |
---|
| 85 | }; // end namespace multi_write_unit |
---|
| 86 | }; // end namespace execute_loop |
---|
| 87 | }; // end namespace multi_execute_loop |
---|
| 88 | }; // end namespace core |
---|
| 89 | |
---|
| 90 | }; // end namespace behavioural |
---|
| 91 | }; // end namespace morpheo |
---|
| 92 | |
---|
| 93 | #endif |
---|