1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_decod_unit_Parameters_h |
---|
2 | #define morpheo_behavioural_core_multi_front_end_front_end_decod_unit_Parameters_h |
---|
3 | |
---|
4 | /* |
---|
5 | * $Id: Parameters.h 83 2008-05-09 18:00:21Z rosiere $ |
---|
6 | * |
---|
7 | * [ Description ] |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/include/Parameters.h" |
---|
12 | #include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/include/Parameters.h" |
---|
13 | |
---|
14 | #include "Behavioural/include/Parameters.h" |
---|
15 | #include "Common/include/Debug.h" |
---|
16 | |
---|
17 | namespace morpheo { |
---|
18 | namespace behavioural { |
---|
19 | namespace core { |
---|
20 | namespace multi_front_end { |
---|
21 | namespace front_end { |
---|
22 | namespace decod_unit { |
---|
23 | |
---|
24 | |
---|
25 | class Parameters : public morpheo::behavioural::Parameters |
---|
26 | { |
---|
27 | //-----[ fields ]------------------------------------------------------------ |
---|
28 | public : uint32_t _nb_context ; |
---|
29 | public : uint32_t * _nb_inst_fetch ; //[nb_context] |
---|
30 | public : uint32_t _nb_inst_decod ; |
---|
31 | public : uint32_t _size_queue ; |
---|
32 | public : uint32_t _size_general_data ; |
---|
33 | public : uint32_t * _nb_branch_speculated ; //[nb_context] |
---|
34 | public : uint32_t _size_branch_update_prediction; |
---|
35 | public : uint32_t _nb_context_select ; |
---|
36 | public : Tpriority_t _select_priority ; |
---|
37 | public : Tload_balancing_t _select_load_balancing ; |
---|
38 | public : bool ** _instruction_implemeted ; //[nb_context][nb_instruction] |
---|
39 | public : morpheo::behavioural::custom::custom_information_t (*_get_custom_information) (uint32_t); |
---|
40 | |
---|
41 | public : uint32_t _size_nb_inst_decod ; |
---|
42 | public : uint32_t _max_nb_inst_fetch ; |
---|
43 | |
---|
44 | public : uint32_t _size_context_id ; |
---|
45 | public : uint32_t _size_depth ; |
---|
46 | public : uint32_t _size_inst_ifetch_ptr ; |
---|
47 | |
---|
48 | public : bool _have_port_context_id ; |
---|
49 | public : bool _have_port_depth ; |
---|
50 | public : bool _have_port_branch_update_prediction_id; |
---|
51 | public : bool _have_port_inst_ifetch_ptr ; |
---|
52 | |
---|
53 | public : morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod ::Parameters * _param_decod; |
---|
54 | public : morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod_queue::Parameters * _param_decod_queue; |
---|
55 | |
---|
56 | //-----[ methods ]----------------------------------------------------------- |
---|
57 | public : Parameters (uint32_t nb_context , |
---|
58 | uint32_t * nb_inst_fetch , |
---|
59 | uint32_t nb_inst_decod , |
---|
60 | uint32_t size_queue , |
---|
61 | uint32_t size_general_data , |
---|
62 | uint32_t * nb_branch_speculated , |
---|
63 | uint32_t size_branch_update_prediction, |
---|
64 | uint32_t nb_context_select , |
---|
65 | Tpriority_t select_priority , |
---|
66 | Tload_balancing_t select_load_balancing , |
---|
67 | bool ** instruction_implemeted , |
---|
68 | morpheo::behavioural::custom::custom_information_t (*get_custom_information) (uint32_t)); |
---|
69 | // public : Parameters (Parameters & param) ; |
---|
70 | public : ~Parameters () ; |
---|
71 | |
---|
72 | public : Parameters_test msg_error (void); |
---|
73 | |
---|
74 | public : std::string print (uint32_t depth); |
---|
75 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
76 | morpheo::behavioural::core::multi_front_end::front_end::decod_unit::Parameters & x); |
---|
77 | }; |
---|
78 | |
---|
79 | }; // end namespace decod_unit |
---|
80 | }; // end namespace front_end |
---|
81 | }; // end namespace multi_front_end |
---|
82 | }; // end namespace core |
---|
83 | |
---|
84 | }; // end namespace behavioural |
---|
85 | }; // end namespace morpheo |
---|
86 | |
---|
87 | #endif |
---|