[77] | 1 | #ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_network_read_unit_to_execution_unit_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_execute_loop_execute_loop_network_read_unit_to_execution_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 "Common/include/Debug.h" |
---|
| 12 | #include "Behavioural/include/Parameters.h" |
---|
[78] | 13 | #include "Behavioural/include/Types.h" |
---|
| 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 read_unit_to_execution_unit { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 26 | { |
---|
| 27 | //-----[ fields ]------------------------------------------------------------ |
---|
| 28 | public : const uint32_t _nb_read_unit ; |
---|
| 29 | public : const uint32_t _nb_execute_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 uint32_t _size_store_queue ; |
---|
| 39 | public : const uint32_t _size_load_queue ; |
---|
| 40 | public : const Tpriority_t _priority ; |
---|
[78] | 41 | public : bool ** _table_routing ; //[nb_read_unit][nb_execute_unit] |
---|
| 42 | public : bool ** _table_execute_type ; //[nb_execute_unit][nb_type] |
---|
| 43 | public : bool ** _table_execute_thread ; //[nb_execute_unit][nb_thread] |
---|
[77] | 44 | |
---|
| 45 | public : const uint32_t _size_context_id ; |
---|
| 46 | public : const uint32_t _size_front_end_id ; |
---|
| 47 | public : const uint32_t _size_ooo_engine_id ; |
---|
| 48 | public : const uint32_t _size_packet_id ; |
---|
| 49 | public : const uint32_t _size_general_register ; |
---|
| 50 | public : const uint32_t _size_special_register ; |
---|
| 51 | |
---|
| 52 | public : const bool _have_port_context_id ; |
---|
| 53 | public : const bool _have_port_front_end_id ; |
---|
| 54 | public : const bool _have_port_ooo_engine_id; |
---|
| 55 | public : const bool _have_port_packet_id ; |
---|
[78] | 56 | public : const bool _have_port_load_queue_ptr; |
---|
[77] | 57 | |
---|
| 58 | public : const uint32_t _nb_thread ; |
---|
| 59 | public : uint32_t _nb_load_store_unit ; |
---|
| 60 | public : uint32_t _nb_functionnal_unit ; |
---|
| 61 | |
---|
| 62 | //-----[ methods ]----------------------------------------------------------- |
---|
| 63 | public : Parameters (uint32_t nb_read_unit , |
---|
| 64 | uint32_t nb_execute_unit , |
---|
| 65 | uint32_t nb_context , |
---|
| 66 | uint32_t nb_front_end , |
---|
| 67 | uint32_t nb_ooo_engine , |
---|
| 68 | uint32_t nb_packet , |
---|
| 69 | uint32_t size_general_data , |
---|
| 70 | uint32_t size_special_data , |
---|
| 71 | uint32_t nb_general_register , |
---|
| 72 | uint32_t nb_special_register , |
---|
| 73 | uint32_t size_store_queue , |
---|
| 74 | uint32_t size_load_queue , |
---|
| 75 | Tpriority_t priority , |
---|
| 76 | bool ** table_routing , |
---|
| 77 | bool ** table_execute_type , |
---|
| 78 | bool ** table_execute_thread ); |
---|
| 79 | public : Parameters (Parameters & param) ; |
---|
| 80 | public : ~Parameters () ; |
---|
| 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::read_unit_to_execution_unit::Parameters & x); |
---|
| 87 | }; |
---|
| 88 | |
---|
| 89 | }; // end namespace read_unit_to_execution_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 |
---|