1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_return_address_stack_Parameters_h |
---|
2 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_return_address_stack_Parameters_h |
---|
3 | |
---|
4 | /* |
---|
5 | * $Id: Parameters.h 88 2008-12-10 18:31:39Z rosiere $ |
---|
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 return_address_stack { |
---|
21 | |
---|
22 | |
---|
23 | class Parameters : public morpheo::behavioural::Parameters |
---|
24 | { |
---|
25 | //-----[ fields ]------------------------------------------------------------ |
---|
26 | public : uint32_t _nb_context ; |
---|
27 | public : uint32_t * _size_queue ;//[nb_context] |
---|
28 | //public : uint32_t _size_address ; |
---|
29 | public : uint32_t _nb_inst_predict; |
---|
30 | public : uint32_t _nb_inst_decod ; |
---|
31 | public : uint32_t _nb_inst_update ; |
---|
32 | |
---|
33 | //public : uint32_t _size_context_id; |
---|
34 | public : uint32_t _size_index ; |
---|
35 | |
---|
36 | //public : uint32_t _have_port_context_id; |
---|
37 | |
---|
38 | //-----[ methods ]----------------------------------------------------------- |
---|
39 | public : Parameters (uint32_t nb_context , |
---|
40 | uint32_t * size_queue , |
---|
41 | uint32_t size_address , |
---|
42 | uint32_t nb_inst_predict, |
---|
43 | uint32_t nb_inst_decod , |
---|
44 | uint32_t nb_inst_update , |
---|
45 | bool is_toplevel=false |
---|
46 | ); |
---|
47 | // public : Parameters (Parameters & param) ; |
---|
48 | public : ~Parameters () ; |
---|
49 | |
---|
50 | public : void copy (void); |
---|
51 | |
---|
52 | public : Parameters_test msg_error (void); |
---|
53 | |
---|
54 | public : std::string print (uint32_t depth); |
---|
55 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
56 | morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::return_address_stack::Parameters & x); |
---|
57 | }; |
---|
58 | |
---|
59 | }; // end namespace return_address_stack |
---|
60 | }; // end namespace prediction_unit |
---|
61 | }; // end namespace front_end |
---|
62 | }; // end namespace multi_front_end |
---|
63 | }; // end namespace core |
---|
64 | |
---|
65 | }; // end namespace behavioural |
---|
66 | }; // end namespace morpheo |
---|
67 | |
---|
68 | #endif |
---|