1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_prediction_unit_glue_Parameters_h |
---|
2 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_prediction_unit_glue_Parameters_h |
---|
3 | |
---|
4 | /* |
---|
5 | * $Id$ |
---|
6 | * |
---|
7 | * [ Description ] |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #include "Common/include/Debug.h" |
---|
12 | #include "Behavioural/include/Parameters.h" |
---|
13 | |
---|
14 | namespace morpheo { |
---|
15 | namespace behavioural { |
---|
16 | namespace core { |
---|
17 | namespace multi_front_end { |
---|
18 | namespace front_end { |
---|
19 | namespace prediction_unit { |
---|
20 | namespace prediction_unit_glue { |
---|
21 | |
---|
22 | |
---|
23 | class Parameters : public morpheo::behavioural::Parameters |
---|
24 | { |
---|
25 | //-----[ fields ]------------------------------------------------------------ |
---|
26 | public : uint32_t _nb_context ;// == nb_ifetch_unit |
---|
27 | public : uint32_t _nb_decod_unit ; |
---|
28 | //public : uint32_t _nb_ooo_engine ; |
---|
29 | public : uint32_t _size_address ; |
---|
30 | public : uint32_t * _nb_instruction ;//[nb_context] |
---|
31 | public : uint32_t * _size_depth ;//[nb_context] |
---|
32 | public : uint32_t * _nb_inst_decod ;//[nb_decod_unit] |
---|
33 | //public : uint32_t * _nb_inst_update ;//[nb_ooo_engine] |
---|
34 | public : uint32_t _nb_inst_branch_predict ; |
---|
35 | public : uint32_t _nb_inst_branch_decod ; |
---|
36 | public : uint32_t _nb_inst_branch_update ; |
---|
37 | //public : uint32_t _nb_inst_branch_complete ; |
---|
38 | |
---|
39 | public : uint32_t _size_context_id ; |
---|
40 | public : uint32_t * _size_inst_ifetch_ptr ;//[nb_context] |
---|
41 | public : uint32_t _max_size_depth ; |
---|
42 | |
---|
43 | public : bool _have_port_context_id ; |
---|
44 | public : bool _have_port_max_depth ; |
---|
45 | public : bool * _have_port_depth ;//[nb_context] |
---|
46 | public : bool * _have_port_inst_ifetch_ptr;//[nb_context] |
---|
47 | |
---|
48 | //-----[ methods ]----------------------------------------------------------- |
---|
49 | public : Parameters (uint32_t nb_context , |
---|
50 | uint32_t nb_decod_unit , |
---|
51 | // uint32_t nb_ooo_engine , |
---|
52 | uint32_t size_address , |
---|
53 | uint32_t * nb_instruction , |
---|
54 | uint32_t * size_depth , |
---|
55 | uint32_t * nb_inst_decod , |
---|
56 | // uint32_t * nb_inst_update , |
---|
57 | uint32_t nb_inst_branch_predict, |
---|
58 | uint32_t nb_inst_branch_decod , |
---|
59 | uint32_t nb_inst_branch_update ); |
---|
60 | // public : Parameters (Parameters & param) ; |
---|
61 | public : ~Parameters () ; |
---|
62 | |
---|
63 | public : Parameters_test msg_error (void); |
---|
64 | |
---|
65 | public : std::string print (uint32_t depth); |
---|
66 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
67 | morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::prediction_unit_glue::Parameters & x); |
---|
68 | }; |
---|
69 | |
---|
70 | }; // end namespace prediction_unit_glue |
---|
71 | }; // end namespace prediction_unit |
---|
72 | }; // end namespace front_end |
---|
73 | }; // end namespace multi_front_end |
---|
74 | }; // end namespace core |
---|
75 | |
---|
76 | }; // end namespace behavioural |
---|
77 | }; // end namespace morpheo |
---|
78 | |
---|
79 | #endif |
---|