[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 120 2009-05-26 19:01:47Z 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 ]------------------------------------------------------------ |
---|
[88] | 28 | public : uint32_t _nb_execute_unit ; |
---|
| 29 | public : uint32_t * _nb_execute_unit_port ;//[nb_execute_unit] |
---|
| 30 | public : uint32_t _nb_write_unit ; |
---|
| 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 _size_special_data ; |
---|
| 37 | public : uint32_t _nb_general_register ; |
---|
| 38 | public : uint32_t _nb_special_register ; |
---|
| 39 | public : Tpriority_t _priority ; |
---|
| 40 | public : bool *** _table_routing ; //[nb_execute_unit][nb_execute_unit_port][nb_write_unit] |
---|
| 41 | public : bool ** _table_thread ; //[nb_write_unit][nb_thread] |
---|
[120] | 42 | public : bool * _num_thread_valid ; //[nb_thread] |
---|
[77] | 43 | |
---|
[88] | 44 | public : uint32_t _max_nb_execute_unit_port ; |
---|
| 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 ; |
---|
[77] | 51 | |
---|
[88] | 52 | //public : bool _have_port_context_id ; |
---|
| 53 | //public : bool _have_port_front_end_id ; |
---|
| 54 | //public : bool _have_port_ooo_engine_id ; |
---|
| 55 | //public : bool _have_port_packet_id ; |
---|
[77] | 56 | |
---|
[88] | 57 | public : uint32_t _nb_thread ; |
---|
[77] | 58 | |
---|
| 59 | //-----[ methods ]----------------------------------------------------------- |
---|
| 60 | public : Parameters (uint32_t nb_execute_unit , |
---|
[88] | 61 | uint32_t * nb_execute_unit_port , |
---|
[77] | 62 | uint32_t nb_write_unit , |
---|
| 63 | uint32_t nb_context , |
---|
| 64 | uint32_t nb_front_end , |
---|
| 65 | uint32_t nb_ooo_engine , |
---|
| 66 | uint32_t nb_packet , |
---|
| 67 | uint32_t size_general_data , |
---|
| 68 | uint32_t size_special_data , |
---|
| 69 | uint32_t nb_general_register , |
---|
| 70 | uint32_t nb_special_register , |
---|
| 71 | Tpriority_t priority , |
---|
[88] | 72 | bool *** table_routing , |
---|
| 73 | bool ** table_thread , |
---|
[120] | 74 | bool * num_thread_valid , //[nb_thread] |
---|
[88] | 75 | bool is_toplevel=false |
---|
| 76 | ); |
---|
| 77 | // public : Parameters (Parameters & param) ; |
---|
[77] | 78 | public : ~Parameters (); |
---|
| 79 | |
---|
[88] | 80 | public : void copy (void); |
---|
| 81 | |
---|
[78] | 82 | public : Parameters_test msg_error (void); |
---|
[77] | 83 | |
---|
| 84 | public : std::string print (uint32_t depth); |
---|
| 85 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 86 | morpheo::behavioural::core::multi_execute_loop::execute_loop::network::execution_unit_to_write_unit::Parameters & x); |
---|
| 87 | }; |
---|
| 88 | |
---|
| 89 | }; // end namespace execution_unit_to_write_unit |
---|
| 90 | }; // end namespace network |
---|
| 91 | }; // end namespace execute_loop |
---|
| 92 | }; // end namespace multi_execute_loop |
---|
| 93 | }; // end namespace core |
---|
| 94 | |
---|
| 95 | }; // end namespace behavioural |
---|
| 96 | }; // end namespace morpheo |
---|
| 97 | |
---|
| 98 | #endif |
---|