[77] | 1 | #ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_network_execution_unit_to_write_unit_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_execute_loop_execute_loop_network_execution_unit_to_write_unit_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/include/Parameters.h" |
---|
[78] | 12 | #include "Behavioural/include/Types.h" |
---|
[77] | 13 | #include "Common/include/Debug.h" |
---|
[78] | 14 | #include "Behavioural/include/Identification.h" |
---|
[77] | 15 | |
---|
| 16 | namespace morpheo { |
---|
| 17 | namespace behavioural { |
---|
| 18 | namespace core { |
---|
| 19 | namespace multi_execute_loop { |
---|
| 20 | namespace execute_loop { |
---|
| 21 | namespace network { |
---|
| 22 | namespace execution_unit_to_write_unit { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 26 | { |
---|
| 27 | //-----[ fields ]------------------------------------------------------------ |
---|
| 28 | public : const uint32_t _nb_execute_unit ; |
---|
| 29 | public : const uint32_t _nb_write_unit ; |
---|
| 30 | public : const uint32_t _nb_context ; |
---|
| 31 | public : const uint32_t _nb_front_end ; |
---|
| 32 | public : const uint32_t _nb_ooo_engine ; |
---|
| 33 | public : const uint32_t _nb_packet ; |
---|
| 34 | public : const uint32_t _size_general_data ; |
---|
| 35 | public : const uint32_t _size_special_data ; |
---|
| 36 | public : const uint32_t _nb_general_register ; |
---|
| 37 | public : const uint32_t _nb_special_register ; |
---|
| 38 | public : const Tpriority_t _priority ; |
---|
| 39 | public : bool ** _table_routing ; //array [nb_execute_unit][nb_write_unit] |
---|
| 40 | public : bool ** _table_thread ; //array [nb_write_unit][nb_thread] |
---|
| 41 | |
---|
| 42 | public : const uint32_t _size_context_id ; |
---|
| 43 | public : const uint32_t _size_front_end_id ; |
---|
| 44 | public : const uint32_t _size_ooo_engine_id ; |
---|
| 45 | public : const uint32_t _size_packet_id ; |
---|
| 46 | public : const uint32_t _size_general_register ; |
---|
| 47 | public : const uint32_t _size_special_register ; |
---|
| 48 | |
---|
| 49 | public : const bool _have_port_context_id ; |
---|
| 50 | public : const bool _have_port_front_end_id ; |
---|
| 51 | public : const bool _have_port_ooo_engine_id ; |
---|
| 52 | public : const bool _have_port_packet_id ; |
---|
| 53 | |
---|
| 54 | public : const uint32_t _nb_thread ; |
---|
| 55 | |
---|
| 56 | //-----[ methods ]----------------------------------------------------------- |
---|
| 57 | public : Parameters (uint32_t nb_execute_unit , |
---|
| 58 | uint32_t nb_write_unit , |
---|
| 59 | uint32_t nb_context , |
---|
| 60 | uint32_t nb_front_end , |
---|
| 61 | uint32_t nb_ooo_engine , |
---|
| 62 | uint32_t nb_packet , |
---|
| 63 | uint32_t size_general_data , |
---|
| 64 | uint32_t size_special_data , |
---|
| 65 | uint32_t nb_general_register , |
---|
| 66 | uint32_t nb_special_register , |
---|
| 67 | Tpriority_t priority , |
---|
| 68 | bool ** table_routing , |
---|
| 69 | bool ** table_thread ); |
---|
| 70 | public : Parameters (Parameters & param) ; |
---|
| 71 | public : ~Parameters (); |
---|
| 72 | |
---|
[78] | 73 | public : Parameters_test msg_error (void); |
---|
[77] | 74 | |
---|
| 75 | public : std::string print (uint32_t depth); |
---|
| 76 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 77 | morpheo::behavioural::core::multi_execute_loop::execute_loop::network::execution_unit_to_write_unit::Parameters & x); |
---|
| 78 | }; |
---|
| 79 | |
---|
| 80 | }; // end namespace execution_unit_to_write_unit |
---|
| 81 | }; // end namespace network |
---|
| 82 | }; // end namespace execute_loop |
---|
| 83 | }; // end namespace multi_execute_loop |
---|
| 84 | }; // end namespace core |
---|
| 85 | |
---|
| 86 | }; // end namespace behavioural |
---|
| 87 | }; // end namespace morpheo |
---|
| 88 | |
---|
| 89 | #endif |
---|