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 88 2008-12-10 18:31:39Z rosiere $ |
---|
6 | * |
---|
7 | * [ Description ] |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #include "Behavioural/include/Parameters.h" |
---|
12 | #include "Behavioural/include/Types.h" |
---|
13 | #include "Common/include/Debug.h" |
---|
14 | #include "Behavioural/include/Identification.h" |
---|
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 : 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] |
---|
42 | |
---|
43 | public : uint32_t _max_nb_execute_unit_port ; |
---|
44 | //public : uint32_t _size_context_id ; |
---|
45 | //public : uint32_t _size_front_end_id ; |
---|
46 | //public : uint32_t _size_ooo_engine_id ; |
---|
47 | //public : uint32_t _size_packet_id ; |
---|
48 | //public : uint32_t _size_general_register ; |
---|
49 | //public : uint32_t _size_special_register ; |
---|
50 | |
---|
51 | //public : bool _have_port_context_id ; |
---|
52 | //public : bool _have_port_front_end_id ; |
---|
53 | //public : bool _have_port_ooo_engine_id ; |
---|
54 | //public : bool _have_port_packet_id ; |
---|
55 | |
---|
56 | public : uint32_t _nb_thread ; |
---|
57 | |
---|
58 | //-----[ methods ]----------------------------------------------------------- |
---|
59 | public : Parameters (uint32_t nb_execute_unit , |
---|
60 | uint32_t * nb_execute_unit_port , |
---|
61 | uint32_t nb_write_unit , |
---|
62 | uint32_t nb_context , |
---|
63 | uint32_t nb_front_end , |
---|
64 | uint32_t nb_ooo_engine , |
---|
65 | uint32_t nb_packet , |
---|
66 | uint32_t size_general_data , |
---|
67 | uint32_t size_special_data , |
---|
68 | uint32_t nb_general_register , |
---|
69 | uint32_t nb_special_register , |
---|
70 | Tpriority_t priority , |
---|
71 | bool *** table_routing , |
---|
72 | bool ** table_thread , |
---|
73 | bool is_toplevel=false |
---|
74 | ); |
---|
75 | // public : Parameters (Parameters & param) ; |
---|
76 | public : ~Parameters (); |
---|
77 | |
---|
78 | public : void copy (void); |
---|
79 | |
---|
80 | public : Parameters_test msg_error (void); |
---|
81 | |
---|
82 | public : std::string print (uint32_t depth); |
---|
83 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
84 | morpheo::behavioural::core::multi_execute_loop::execute_loop::network::execution_unit_to_write_unit::Parameters & x); |
---|
85 | }; |
---|
86 | |
---|
87 | }; // end namespace execution_unit_to_write_unit |
---|
88 | }; // end namespace network |
---|
89 | }; // end namespace execute_loop |
---|
90 | }; // end namespace multi_execute_loop |
---|
91 | }; // end namespace core |
---|
92 | |
---|
93 | }; // end namespace behavioural |
---|
94 | }; // end namespace morpheo |
---|
95 | |
---|
96 | #endif |
---|