1 | #ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_execute_unit_execute_unit_load_store_unit_Parameters_h |
---|
2 | #define morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_execute_unit_execute_unit_load_store_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/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/include/Types.h" |
---|
12 | #include "Common/include/Debug.h" |
---|
13 | #include "Behavioural/include/Parameters.h" |
---|
14 | #include "Common/include/BitManipulation.h" |
---|
15 | #include <math.h> |
---|
16 | |
---|
17 | namespace morpheo { |
---|
18 | namespace behavioural { |
---|
19 | namespace core { |
---|
20 | namespace multi_execute_loop { |
---|
21 | namespace execute_loop { |
---|
22 | namespace multi_execute_unit { |
---|
23 | namespace execute_unit { |
---|
24 | namespace load_store_unit { |
---|
25 | |
---|
26 | class Parameters : public morpheo::behavioural::Parameters |
---|
27 | { |
---|
28 | //-----[ fields ]------------------------------------------------------------ |
---|
29 | public : uint32_t _size_store_queue ; |
---|
30 | public : uint32_t _size_load_queue ; |
---|
31 | public : uint32_t _size_speculative_access_queue; |
---|
32 | public : uint32_t _nb_port_check ; |
---|
33 | public : Tspeculative_load_t _speculative_load ; |
---|
34 | public : uint32_t _nb_bypass_memory ; |
---|
35 | public : uint32_t _nb_cache_port ; |
---|
36 | public : uint32_t _nb_inst_memory ; |
---|
37 | public : uint32_t _nb_context ; |
---|
38 | public : uint32_t _nb_front_end ; |
---|
39 | public : uint32_t _nb_ooo_engine ; |
---|
40 | public : uint32_t _nb_packet ; |
---|
41 | //public : uint32_t _size_general_data ; |
---|
42 | //public : uint32_t _size_special_data ; |
---|
43 | public : uint32_t _nb_general_register ; |
---|
44 | public : uint32_t _nb_special_register ; |
---|
45 | |
---|
46 | //public : uint32_t _size_address_store_queue ; |
---|
47 | //public : uint32_t _size_address_load_queue ; |
---|
48 | public : uint32_t _size_speculative_access_queue_ptr ; |
---|
49 | //public : uint32_t _size_context_id ; |
---|
50 | //public : uint32_t _size_front_end_id ; |
---|
51 | //public : uint32_t _size_ooo_engine_id ; |
---|
52 | //public : uint32_t _size_packet_id ; |
---|
53 | //public : uint32_t _size_general_register ; |
---|
54 | //public : uint32_t _size_special_register ; |
---|
55 | public : uint32_t _size_dcache_context_id ; |
---|
56 | public : uint32_t _size_dcache_packet_id ; |
---|
57 | |
---|
58 | //public : bool _have_port_context_id ; |
---|
59 | //public : bool _have_port_front_end_id ; |
---|
60 | //public : bool _have_port_ooo_engine_id ; |
---|
61 | //public : bool _have_port_packet_id ; |
---|
62 | public : bool _have_port_dcache_context_id ; |
---|
63 | //public : bool _have_port_load_queue_ptr ; |
---|
64 | |
---|
65 | public : Tdcache_address_t _mask_address_lsb ; |
---|
66 | public : Tdcache_address_t _mask_address_msb ; |
---|
67 | |
---|
68 | //-----[ methods ]----------------------------------------------------------- |
---|
69 | public : Parameters (uint32_t size_store_queue , |
---|
70 | uint32_t size_load_queue , |
---|
71 | uint32_t size_speculative_access_queue, |
---|
72 | uint32_t nb_port_check , |
---|
73 | Tspeculative_load_t speculative_load , |
---|
74 | uint32_t nb_bypass_memory , |
---|
75 | uint32_t nb_cache_port , |
---|
76 | uint32_t nb_inst_memory , |
---|
77 | uint32_t nb_context , |
---|
78 | uint32_t nb_front_end , |
---|
79 | uint32_t nb_ooo_engine , |
---|
80 | uint32_t nb_packet , |
---|
81 | uint32_t size_general_data , |
---|
82 | uint32_t size_special_data , |
---|
83 | uint32_t nb_general_register , |
---|
84 | uint32_t nb_special_register , |
---|
85 | bool is_toplevel=false); |
---|
86 | |
---|
87 | // public : Parameters (Parameters & param) ; |
---|
88 | |
---|
89 | public : ~Parameters () ; |
---|
90 | |
---|
91 | public : void copy (void); |
---|
92 | |
---|
93 | public : Parameters_test msg_error (void); |
---|
94 | |
---|
95 | public : std::string print (uint32_t depth); |
---|
96 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
97 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::load_store_unit::Parameters & x); |
---|
98 | }; |
---|
99 | |
---|
100 | }; // end namespace load_store_unit |
---|
101 | }; // end namespace execute_unit |
---|
102 | }; // end namespace multi_execute_unit |
---|
103 | }; // end namespace execute_loop |
---|
104 | }; // end namespace multi_execute_loop |
---|
105 | }; // end namespace core |
---|
106 | }; // end namespace behavioural |
---|
107 | }; // end namespace morpheo |
---|
108 | |
---|
109 | #endif |
---|